-
When we (hyperion devices using soft signals) have these, it would nice to convert them to json by default on a reading, because we serialise our documents and send them to callbacks over zmq.
@cor…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
Pydantic dataclasses cannot be used as Annotated Validators. The TypeError happens at class the definition.
I wanted…
-
Reported on Discord by bakert#2193
-
It would be very nice to have some Dataclasses to improve consistency through the pipeline:
- `LambdaResponse`
to deal with lambda invocation reponse straight-forward without calling `rea…
-
Right now I use this hack for enums in columns:
```python
def yt_enum(yt_type: yt_type_info.Type | None = None):
def decorator(py_type: Type[EnumType]) -> Type[EnumType]:
_yt_type = …
-
Right now, pydantic can't instantiate a TypeAdapter for `anthropic.types.MessageParam` on account of the support for file-like objects (which, by nature, can't be serialized to JSON) in the data types…
-
@mnabian Can we make an issue to refactor all these options to a common dataclass, which we can then instantiate with https://hydra.cc/docs/1.0/tutorials/structured_config/minimal_exampl…
-
**Describe the bug**
authentik fails exporting blueprints
**To Reproduce**
run `ak export_blueprint` on a worker
**Expected behavior**
get blueprints
**Screenshots**
If applicable, ad…
-
As far as I can see the features were merged up-stream: https://github.com/speakeasy-api/dataclasses-json
-
Thanks to @MASaraji for introducing such a useful thing to me.
You can use this to reduce lines of your code and making it more readable as well.
Here's a link:
https://docs.python.org/3/library/da…