1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-18 06:55:09 +00:00

Rename it to generate

This commit is contained in:
RGBCube 2022-06-26 17:28:01 +03:00 committed by Automated Linter
parent 193b8ad93d
commit 8f4e18cb2b

View file

@ -120,7 +120,9 @@ def generate(
typed_dict = [f"class {obj_title}(TypedDict{total}):"]
for key, value in obj_properties.items():
extras, param_annotation = generate(value, title=key.capitalize(), no_comments=no_comments)
extras, param_annotation = generate(
value, title=key.capitalize(), no_comments=no_comments
)
result.append(extras)
if key not in obj.get("required", []):