You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type JsonValue = int | string | bool | float | JsonObject | JsonArray
type JsonObject = map<string, JsonValue>
type JsonArray = JsonValue[]
class RecursiveAliasDependency {
value JsonValue
}
we don't generate JsonValue in partial_types.py
The text was updated successfully, but these errors were encountered:
#1588
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Fix partial recursive types in `generate_types.rs` and correct import
path in `memory_test.py`.
>
> - **Type Reference Fixes**:
> - In `generate_types.rs`, update `FieldType::RecursiveTypeAlias` to
use `types.{name}` instead of `"{name}"`.
> - Update `Optional["{name}"]` to `Optional[types.{name}]` for
`FieldType::RecursiveTypeAlias`.
> - **Integration Test Fix**:
> - In `partial_types.py`, change `value: Optional["JsonValue"]` to
`value: Optional[types.JsonValue]` in `RecursiveAliasDependency`.
> - Fix import path in `memory_test.py` from `from baml_client import b`
to `from ..baml_client import b`.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for 2cd3821. It will automatically
update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->
we don't generate JsonValue in
partial_types.py
The text was updated successfully, but these errors were encountered: