Ryan Soklaski
Ryan Soklaski
Similar to: https://pytorch.org/docs/master/_modules/torch/nn/utils/clip_grad.html#clip_grad_norm_
I am writing a library that does some runtime type checking, so I am working with type-objects a lot. I encountered the following: ```python >>> from typing import Literal >>>...
- pydantic-2.6.4 - pydantic-core-2.16.3 Defining ```python @pydantic.validate_call() def foo(*, x: int = 1, y: str): print(x, y) ``` raises: ``` SchemaError: Error building "call" validator: SchemaError: Error building "arguments" validator:...
Hello! I just came across `tyro` and it looks great! I wanted to put [hydra-zen](https://github.com/mit-ll-responsible-ai/hydra-zen) on your radar. It is a library designed make [Hydra](https://hydra.cc/)-based projects more Pythonic and lighter...
Context: the new trusted publishers method rocks, you all rock, and I want as many prominent pypi projects to adopt this as possible. **What's the problem this feature will solve?**...
Before 6.114.0 ```python >>> [st.from_type(type).example() for _ in range(10)] [datetime.time, re.Match, ExceptionGroup, ipaddress.IPv6Interface, str, numbers.Integral, numbers.Complex, fractions.Fraction, range, zoneinfo.ZoneInfo] ``` After: ```python >>> [st.from_type(type).example() for _ in range(10)] [type, type,...
Dropping support for Python 3.8 allows you to take advantage of features and improvements introduced in Python 3.9 and later versions. Here are some key changes and upgrades you can...