remove stray print
Co-authored-by: Masen Furer <m_github@0x26.net>
This commit is contained in:
parent
994b52d829
commit
e4eac2e378
@ -428,7 +428,6 @@ def _generate_component_create_functiondef(
|
|||||||
kwargs.extend(prop_kwargs)
|
kwargs.extend(prop_kwargs)
|
||||||
|
|
||||||
def figure_out_return_type(annotation: Any):
|
def figure_out_return_type(annotation: Any):
|
||||||
print(annotation)
|
|
||||||
if inspect.isclass(annotation) and issubclass(annotation, inspect._empty):
|
if inspect.isclass(annotation) and issubclass(annotation, inspect._empty):
|
||||||
return ast.Name(id="Optional[EventType[[]]]")
|
return ast.Name(id="Optional[EventType[[]]]")
|
||||||
if isinstance(annotation, str) and annotation.startswith("Tuple["):
|
if isinstance(annotation, str) and annotation.startswith("Tuple["):
|
||||||
|
Loading…
Reference in New Issue
Block a user