-
## Summary
The Supabase client currently requires an explicit call to `client.auth.sign_out()` for processes to terminate correctly. Without this, background WebSocket connections and other resourc…
-
It seems like `nb.optional` doesn't work with `nb.types.NamedTuple` (it does with `nb.types.Tuple`, though). Here is the minimum repro:
```python
import numba as nb
from typing import NamedTuple
…
ocmob updated
4 months ago
-
In Python 3.7, type enforcing creates an error with the example code below.
Given that this is valid Python, I would expect that this runs (even if the inner `str` type cannot be checked)
```
fr…
-
```
from typing import Optional
```
needed in the [SimpleSynth](https://torchsynth.readthedocs.io/en/latest/modular-design/new-synths.html) docs.
happy to sit down and do a sprint on these thi…
-
suggestion from gpt:
```python
# Add this code to src/astx/datatypes.py
from typing import Optional
from astx.base import (
NO_SOURCE_LOCATION,
ASTKind,
DataTypeOps,
Expr…
-
👋
Recent versions of Python support optional static typing, including [TypedDict](https://www.python.org/dev/peps/pep-0589), a way to define the types of properties on a dictionary. I see this pro…
-
**Is your feature request related to a problem? Please describe.**
When I'm writing transcripts, typing `.> ` at the start of each line was NBD, but typing `scratch/main> ` at the start of each lin…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
A `defaultdict` cannot have a model as a value type without annotating it.
### Example Code
```Python
from collection…
-
Hi,
I've always been used to the old .fit behaviour where I could pass in the good DataLoader, implementing the Dataset myself, according to my needs.
With the new trainer interface, how am I su…
-
[This gist](https://gist.github.com/waxlamp/5966f1d2290c218f5fc51354b01069ca) demonstrates how Pydantic validation errors can indicate the exact value within the "tree" of values caused a failure, its…