mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-22 17:05:07 +00:00
Extend parser (idk how it works)
This commit is contained in:
parent
efeec212b9
commit
7e25087df4
1 changed files with 4 additions and 1 deletions
|
@ -69,7 +69,10 @@ def generate(
|
|||
|
||||
if len(union_list) == 1:
|
||||
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)
|
||||
param_type = f"Optional[{target}]"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue