question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Explore the possibility of type hinting

See original GitHub issue

Python 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:open
  • Created 6 years ago
  • Reactions:16
  • Comments:22 (11 by maintainers)

github_iconTop GitHub Comments

5reactions
beneschcommented, Jul 17, 2021

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!

5reactions
sebastian-philippcommented, Jul 19, 2019

Ping? This is still annoying to have no auto completion in my IDE. Any chance of getting this in?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found