-
It would be nice if `beartype` could detect `TypedDict` annotations. Currently (v0.17.0), all dicts pass a `TypedDict` test. Example:
```python
from beartype.door import is_bearable
from typing imp…
-
The response of [DescribeExecution in AWS Step Functions](https://docs.aws.amazon.com/step-functions/latest/apireference/API_DescribeExecution.html) can vary based on the status of the given execution…
-
Small typing improvement here. @d-v-b - can you expand on what needs to be done (feel free to edit this description)?
edit from @d-v-b :
the v3 branch has models of zarr v3 metadata that do runt…
-
pyright's has experimental support for inline `TypedDict` syntax:
```py
foo: dict[{"foo": int}]
```
(although [it will probably be removed from pyright in the future](https://github.com/python/m…
-
The following code:
```python
class ExampleTypedDict(typing.TypedDict):
field1: int
field2: str
```
Results in `unused variable 'field1' (60% confidence)` (same for field2).
As this i…
-
1) If you can, please include a screenshot of your problem
![image](https://github.com/user-attachments/assets/1e92e6c2-bc2a-4e85-ac57-1dfb8917ef8a)
2) Please include the name of your operating sy…
-
**Feature**
Allow for TypedDicts (or a new type specialized for this purpose) to be compatible with dict when the receiver declares it is not going to mutate the dict.
**Pitch**
When using a …
-
When using with a TypeDict like:
```
class PaginationDict(TypedDict):
prev: Optional[str]
next: Optional[str]
count: int
data: any
```
This will incorrectly flag: `A003…
-
I was working on some code that needs to be passed a generic TypedDict, like this:
```python
from typing import TypeVar, TypedDict, Generic
T = TypeVar("T")
ReturnValue = TypeVar("ReturnValu…
-
Following on from from a discussion with @mikeshardmind in https://github.com/CarliJoy/intersection_examples/issues/41 I thought it might be worth separating this into a new thread.
This concerns h…