Skip to content

[pynest] Add type hints. #3699

@babsey

Description

@babsey

When reviewing pynest, I registered that the arguments are not typed.

As example:

def SetDefaults(model, params, val=None):
....

According to several links:

I would suggest to add type hints in pynest like this:

def SetDefaults(model: str, params: dict | str, val: Any=None):

Lets hear your thoughts on this suggested feature.

Metadata

Metadata

Assignees

Labels

S: NormalHandle this with default priorityT: EnhancementNew functionality, model or documentation

Type

No type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions