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

913 B

AllOfSuperModel

Properties

Name Type Description Notes
name str [optional]

Example

from petstore_api.models.all_of_super_model import AllOfSuperModel

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

# convert the object into a dict
all_of_super_model_dict = all_of_super_model_instance.to_dict()
# create an instance of AllOfSuperModel from a dict
all_of_super_model_form_dict = all_of_super_model.from_dict(all_of_super_model_dict)

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