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]:
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:This gives no useful information for linting or auto-completion.
A more useful signature would be returned if
project.pyis updated as follows: