1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-23 09:25:08 +00:00

Extend parser (idk how it works)

This commit is contained in:
RGBCube 2022-06-26 10:05:18 +03:00 committed by Automated Linter
parent efeec212b9
commit 7e25087df4

View file

@ -69,7 +69,10 @@ def generate(
if len(union_list) == 1: if len(union_list) == 1:
text, target = inner_generate( text, target = inner_generate(
union_list[0], _title=_title, _no_examples=_no_examples, _no_formats=_no_formats union_list[0],
_title=_title,
_no_examples=_no_examples,
_no_formats=_no_formats,
) )
dependencies.append(text) dependencies.append(text)
param_type = f"Optional[{target}]" param_type = f"Optional[{target}]"