mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-18 15:05:08 +00:00
Rename it to generate
This commit is contained in:
parent
193b8ad93d
commit
8f4e18cb2b
1 changed files with 3 additions and 1 deletions
|
@ -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", []):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue