Explore the possibility of type hinting
See original GitHub issuePython 3 has a type hinting feature very useful for auto complete. This issue is for tracking efforts on researching its backward compatibility with python 2 (from __future__ import import annotations
?) and if possible, change code generator to implement it. Best if we contribute it back to swagger-codegen.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:16
- Comments:22 (11 by maintainers)
Top Results From Across the Web
Exploring Python Type Hints - Towards Data Science
Type Hints (also called type annotations) were first introduced in PEP 484 and allow us to mimic the behaviour of statically types languages....
Read more >Pros and Cons of Type Hints - Real Python
In this video, I'll show you the pros and cons of type hints. What are some of the ways that type hints help?...
Read more >Type hints in Python programming - Sourcegraph Learn
Type hinting is the process of annotating your code so that other developers reading your code will understand the type of an object ......
Read more >Get started with Python type hints | InfoWorld
The main purpose of type hinting in Python is to give developers a way to make their code as self-describing as possible, both...
Read more >Python Type Hints
Python's type hints provide you with optional static typing to leverage the best of both static and dynamic typing. The following example defines...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I hacked together an external type stubs package for now: https://pypi.org/project/kubernetes-stubs/. Perhaps it’s of use to some other folks!
Ping? This is still annoying to have no auto completion in my IDE. Any chance of getting this in?