mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 08:46:55 +00:00
[python] Update Markdown files for Models with fixed Python print() syntax (#17993)
* Update Markdown file with fixed Python example * ./bin/generate-samples.sh ./bin/configs/*.yaml
This commit is contained in:
@@ -19,7 +19,7 @@ json = "{}"
|
||||
# create an instance of DataQuery from a JSON string
|
||||
data_query_instance = DataQuery.from_json(json)
|
||||
# print the JSON string representation of the object
|
||||
print DataQuery.to_json()
|
||||
print(DataQuery.to_json())
|
||||
|
||||
# convert the object into a dict
|
||||
data_query_dict = data_query_instance.to_dict()
|
||||
|
||||
Reference in New Issue
Block a user