Skip to content

Commit 226d0fb

Browse files
committed
Update golden record
1 parent 1c7ddbb commit 226d0fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

end_to_end_tests/golden-record-custom/custom_e2e/models/model_with_primitive_additional_properties.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def to_dict(self) -> Dict[str, Any]:
3131
@staticmethod
3232
def from_dict(src_dict: Dict[str, Any]) -> "ModelWithPrimitiveAdditionalProperties":
3333
d = src_dict.copy()
34-
a_date_holder = UNSET
34+
a_date_holder: Union[ModelWithPrimitiveAdditionalPropertiesADateHolder, Unset] = UNSET
3535
_a_date_holder = d.pop("a_date_holder", UNSET)
36-
if _a_date_holder is not None and not isinstance(a_date_holder, Unset):
36+
if _a_date_holder is not None and not isinstance(_a_date_holder, Unset):
3737
a_date_holder = ModelWithPrimitiveAdditionalPropertiesADateHolder.from_dict(
3838
cast(Dict[str, Any], _a_date_holder)
3939
)

end_to_end_tests/golden-record/my_test_api_client/models/model_with_primitive_additional_properties.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def to_dict(self) -> Dict[str, Any]:
3131
@staticmethod
3232
def from_dict(src_dict: Dict[str, Any]) -> "ModelWithPrimitiveAdditionalProperties":
3333
d = src_dict.copy()
34-
a_date_holder = UNSET
34+
a_date_holder: Union[ModelWithPrimitiveAdditionalPropertiesADateHolder, Unset] = UNSET
3535
_a_date_holder = d.pop("a_date_holder", UNSET)
36-
if _a_date_holder is not None and not isinstance(a_date_holder, Unset):
36+
if _a_date_holder is not None and not isinstance(_a_date_holder, Unset):
3737
a_date_holder = ModelWithPrimitiveAdditionalPropertiesADateHolder.from_dict(
3838
cast(Dict[str, Any], _a_date_holder)
3939
)

0 commit comments

Comments
 (0)