forked from loafle/openapi-generator-original
[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:
@@ -18,7 +18,7 @@ json = "{}"
|
||||
# create an instance of SecondRef from a JSON string
|
||||
second_ref_instance = SecondRef.from_json(json)
|
||||
# print the JSON string representation of the object
|
||||
print SecondRef.to_json()
|
||||
print(SecondRef.to_json())
|
||||
|
||||
# convert the object into a dict
|
||||
second_ref_dict = second_ref_instance.to_dict()
|
||||
|
||||
Reference in New Issue
Block a user