[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:
Kathryn DiPippo
2024-02-28 21:54:54 -05:00
committed by GitHub
parent d801bfdb84
commit c10c9146b9
187 changed files with 187 additions and 187 deletions

View File

@@ -17,7 +17,7 @@ json = "{}"
# create an instance of DeprecatedObject from a JSON string
deprecated_object_instance = DeprecatedObject.from_json(json)
# print the JSON string representation of the object
print DeprecatedObject.to_json()
print(DeprecatedObject.to_json())
# convert the object into a dict
deprecated_object_dict = deprecated_object_instance.to_dict()