mitigate weird pydantic bug that tries to hash dicts in unions
This commit is contained in:
parent
1e3094cf8b
commit
9eeb106b6e
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ class LocationDisplay(SerializableSchema):
|
|||
Annotated[DisplayLink, APIField(namen="a link value")],
|
||||
Annotated[list[DisplayLink], APIField(name="a list of link values")],
|
||||
Annotated[Literal[None], APIField(name="no value")]
|
||||
], APIField(name="field value")]
|
||||
], APIField(name="field value", union_mode='left_to_right')]
|
||||
]
|
||||
] = APIField(description="a list of human-readable display values")
|
||||
geometry: Optional[GeometrySchema] = APIField(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue