Skip to content

Static typing in pylm API? #64

@Stefan311

Description

@Stefan311

Working with the pylm api is very tedious. At least if you don't have the parameters and function names in your head. You have to search for everything in the source text or in the documentation. Parameters / function names are often distributed over several levels of class inheritance. Really caustic.

I am used to working with eclipse and java. There I can scroll through all the names available for this object by typing "." . This is very useful when working with 3rd party stuff.

For python I now use the Py Charm IDE, which also has this ability. However, this only works as far as the IDE sees through the API functions. However, this is not the case for most pylm functions. This is clearly due to the dynamic typing of python. I have seen that it is also possible to use static typing in python.

Would it be possible to use static typing in the pylm API?
And if so, would that help?

If you don't know what i am talking about:
https://medium.com/@ageitgey/learn-how-to-use-static-type-checking-in-python-3-6-in-10-minutes-12c86d72677b

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions