We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a5bc1c commit d6fc42aCopy full SHA for d6fc42a
python/tests/test_value_converter.py
@@ -394,8 +394,8 @@ class ValidateModelForCustomType(BaseModel):
394
timestampz_: datetime.datetime
395
uuid_: uuid.UUID
396
inet_: IPv4Address
397
- jsonb_: Dict[str, List[Union[str, int]]]
398
- json_: Dict[str, List[Union[str, int]]]
+ jsonb_: Dict[str, List[Union[str, int, List[str]]]]
+ json_: Dict[str, List[Union[str, int, List[str]]]]
399
400
varchar_arr: List[str]
401
text_arr: List[str]
@@ -410,8 +410,8 @@ class ValidateModelForCustomType(BaseModel):
410
timestampz_arr: List[datetime.datetime]
411
uuid_arr: List[uuid.UUID]
412
inet_arr: List[IPv4Address]
413
- jsonb_arr: Dict[str, List[Union[str, int]]]
414
- json_arr: Dict[str, List[Union[str, int]]]
+ jsonb_arr: List[Dict[str, List[Union[str, int, List[str]]]]]
+ json_arr: List[Dict[str, List[Union[str, int, List[str]]]]]
415
416
class TopLevelModel(BaseModel):
417
custom_type: ValidateModelForCustomType
0 commit comments