forked from loafle/openapi-generator-original
* [python] mypy fix for multiple arrays of objects * [python] mypy test for multiple arrays of objects
1010 B
1010 B
MultiArrays
Properties
Name | Type | Description | Notes |
---|---|---|---|
tags | List[Tag] | [optional] | |
files | List[File] | Another array of objects in addition to tags (mypy check to not to reuse the same iterator) | [optional] |
Example
from petstore_api.models.multi_arrays import MultiArrays
# TODO update the JSON string below
json = "{}"
# create an instance of MultiArrays from a JSON string
multi_arrays_instance = MultiArrays.from_json(json)
# print the JSON string representation of the object
print(MultiArrays.to_json())
# convert the object into a dict
multi_arrays_dict = multi_arrays_instance.to_dict()
# create an instance of MultiArrays from a dict
multi_arrays_from_dict = MultiArrays.from_dict(multi_arrays_dict)