Skip to content

Apply type hints to functions.  #163

Description

@rajeeja
    Small suggestion for the `Grid` constructor, but also applies to most of our other functions: Do we want to implement type hints?

Our current constructor for grid is:
__init__(self, dataset, **kwargs):

A simple change to emphasize that we are using xr.Dataset would be as follows
__init__(self, dataset : xr.Dataset, **kwargs):

Originally posted by @philipc2 in #162 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

new featureNew user-facing functionality

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions