mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-18 20:27:08 +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:
@@ -25,7 +25,7 @@ json = "{}"
|
||||
# create an instance of DefaultValue from a JSON string
|
||||
default_value_instance = DefaultValue.from_json(json)
|
||||
# print the JSON string representation of the object
|
||||
print DefaultValue.to_json()
|
||||
print(DefaultValue.to_json())
|
||||
|
||||
# convert the object into a dict
|
||||
default_value_dict = default_value_instance.to_dict()
|
||||
|
||||
Reference in New Issue
Block a user