StackOverflow Questions for Tag: python-typing

Aviv Aviv
Aviv Aviv

Reputation: 131

Annotating *args and **kwargs

Score: 0

Views: 58

Answers: 0

Read More
Yosh
Yosh

Reputation: 2742

How to annotate a generator in Python 3?

Score: 79

Views: 28296

Answers: 3

Read More
Cherry
Cherry

Reputation: 33608

Return same class from its function in Python?

Score: 0

Views: 37

Answers: 0

Read More
xsa xsa
xsa xsa

Reputation: 93

how to define python generic classes

Score: 6

Views: 11424

Answers: 1

Read More
Vin
Vin

Reputation: 1037

Why can't Pylance fully infer the return type of this function?

Score: 0

Views: 68

Answers: 1

Read More
Soren Bjornstad
Soren Bjornstad

Reputation: 1472

MyPy type annotation for a bound method?

Score: 13

Views: 2240

Answers: 3

Read More
Gary Frewin
Gary Frewin

Reputation: 565

How to Preserve Autocomplete for String Arguments While Avoiding Magic Strings in Code?

Score: 0

Views: 39

Answers: 0

Read More
palapapa
palapapa

Reputation: 959

Can I disable type errors from third-party packages in Pylance?

Score: 20

Views: 1710

Answers: 5

Read More
brentertainer
brentertainer

Reputation: 2200

Appropriate type-hints for Generic/Frozen Multivariate Distributions in scipy.stats

Score: 1

Views: 61

Answers: 1

Read More
julaine
julaine

Reputation: 1724

How does "MaybeNone" (also known as "The Any Trick") work in Python type hints?

Score: 5

Views: 134

Answers: 2

Read More
Daneel Olivaw
Daneel Olivaw

Reputation: 2301

Avoid PyCharm attribute reference warning from type-hinting the base class instead of the derived one

Score: -1

Views: 55

Answers: 0

Read More
Idok
Idok

Reputation: 4152

Type hint for dictionary with known keys

Score: 115

Views: 79293

Answers: 3

Read More
Ziur Olpa
Ziur Olpa

Reputation: 2133

async filter function with generic typing

Score: 1

Views: 112

Answers: 3

Read More
Krotton
Krotton

Reputation: 10099

What does -> mean in Python function definitions?

Score: 985

Views: 879798

Answers: 12

Read More
pfp.meijers
pfp.meijers

Reputation: 962

How can python type var and type aliases be used to simplify function definitions with multiple generics

Score: 0

Views: 85

Answers: 0

Read More
joel
joel

Reputation: 7877

Difference between TypeVar('T', A, B) and TypeVar('T', bound=Union[A, B])

Score: 83

Views: 59746

Answers: 2

Read More
Houston4444
Houston4444

Reputation: 1

Python typing: Is there a way to type a variable with the value of another variable

Score: 0

Views: 76

Answers: 1

Read More
mutableVoid
mutableVoid

Reputation: 1526

TypeVarTuple Unpack all contained types and use them as type arguments

Score: 0

Views: 378

Answers: 1

Read More
Fnark Man
Fnark Man

Reputation: 133

How to accurately implement typing with pandas?

Score: 1

Views: 79

Answers: 0

Read More
IzaeDA
IzaeDA

Reputation: 341

Python: Numpy shape typing

Score: 1

Views: 79

Answers: 0

Read More
PreviousPage 2Next