remove stray print

Co-authored-by: Masen Furer <m_github@0x26.net>
This commit is contained in:
Khaleel Al-Adhami 2024-10-11 17:08:40 -07:00 committed by GitHub
parent 994b52d829
commit e4eac2e378
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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["):