-
### Things to check first
- [X] I have searched the existing issues and didn't find my bug already reported there
- [X] I have checked that my bug is still present in the latest release
### Typegu…
-
This passes on typeguard 4.2.1, but breaks on 4.3.0.
```python
from phantom.sized import SizedIterable
from phantom.predicates.generic import of_complex_type
assert of_complex_type(SizedIterable…
-
Since the typechecked specification changed in some version (I have not been able to find it in the documentation), it may be necessary to modify related to that in [many places](https://github.com/se…
-
### 🔎 Search Terms
filter + typeguard + control flow + strictNullChecks
### 🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entr…
-
**Feature**
Infer `str` is an instance of Literal based on code path:
```python
from typing import Literal
def f(x: Literal["a", "b"]):
...
def g(x: str):
if x == "a":
…
-
protobuf.js version: `~6.10.1`
Is there a good pattern for typing reflected messages? I think it could be achieved by some user-defined type-guards as below:
```ts
import { awesomeNamespace…
-
My objective is to add runtime type-checking to a library in https://github.com/ansible/django-ansible-base/pull/191
https://beartype.readthedocs.io/en/latest/faq/#how-do-i-not-type-check-something…
-
### Describe the bug
Similar (old) issue: https://github.com/aws/aws-cdk/issues/15651
aws_ec2.SubnetSelection cannot be initialized from a list of aws_ec2.Subnet's because aws_ec2.ISubnet is not…
-
When using newer typeguard versions like 4.0.0 I encountered an error while the code runs fine with an older typeguard version like 2.11.1. Maybe the requirements file should be changed from typeguard…
-
Currently we don't have any testing for tensor types.
Typeguard in combination with jaxtyping should do the trick here. I was running into a syntax error when trying to get this working, including …