Skip to content

Typing Information Missing from Driver #12

@phartleyp

Description

@phartleyp

Would be really nice to have typing information available from the driver. This has been available since Python 3.5 and is invaluable for working with Python libraries.

For example, VSCode currently tells me that the signature of Project.get_recordings() is:

def get_recordings() -> list[FixtureFunction[SimpleFixtureFunction@FixtureFunction, FactoryFixtureFunction@FixtureFunction]]

This gives no useful information for linting or auto-completion.

A more useful signature would be returned if project.py is updated as follows:

def get_recordings(self) -> list[recording.Recording]:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions