[Python] Bug Fix - model_generic templates to have valid imports for polymorphism (#20273)

* fix model_generic python templates to have valid imports for polymorphism

* update samples

* update samples

---------

Co-authored-by: yugi <yugi-big@proton.me>
This commit is contained in:
Yousef Haggy
2025-01-08 22:40:47 -05:00
committed by GitHub
parent 3d65786117
commit 7a23ac7615
35 changed files with 848 additions and 68 deletions

View File

@@ -0,0 +1,29 @@
# HuntingDog
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**is_trained** | **bool** | | [optional]
## Example
```python
from petstore_api.models.hunting_dog import HuntingDog
# TODO update the JSON string below
json = "{}"
# create an instance of HuntingDog from a JSON string
hunting_dog_instance = HuntingDog.from_json(json)
# print the JSON string representation of the object
print(HuntingDog.to_json())
# convert the object into a dict
hunting_dog_dict = hunting_dog_instance.to_dict()
# create an instance of HuntingDog from a dict
hunting_dog_from_dict = HuntingDog.from_dict(hunting_dog_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)