Zishun (Zack) Wei 453facc81c
Fix 18271: Circular imports on AllOf generation with REFACTOR_ALLOF_WITH_PROPERTIES_ONLY=True (#18272)
* fix issue 18271

* the same update for python-pydantic-v1

* add test

* update samples

* update samples

* put properties under allOf for python client tests

* update samples

* add a test in test model
2024-04-08 19:01:01 +08:00

1.1 KiB

SecondCircularAllOfRef

Properties

Name Type Description Notes
name str [optional]
circular_all_of_ref List[CircularAllOfRef] [optional]

Example

from petstore_api.models.second_circular_all_of_ref import SecondCircularAllOfRef

# TODO update the JSON string below
json = "{}"
# create an instance of SecondCircularAllOfRef from a JSON string
second_circular_all_of_ref_instance = SecondCircularAllOfRef.from_json(json)
# print the JSON string representation of the object
print SecondCircularAllOfRef.to_json()

# convert the object into a dict
second_circular_all_of_ref_dict = second_circular_all_of_ref_instance.to_dict()
# create an instance of SecondCircularAllOfRef from a dict
second_circular_all_of_ref_form_dict = second_circular_all_of_ref.from_dict(second_circular_all_of_ref_dict)

[Back to Model list] [Back to API list] [Back to README]