fix arg-type error reported by mypy
This commit is contained in:
parent
cd49b2e55a
commit
19bd88b8f9
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ def add_code_field(frontend_node: CustomComponentFrontendNode, raw_code, field_c
|
|||
|
||||
|
||||
def build_custom_component_template_from_inputs(
|
||||
custom_component: Component, user_id: Optional[Union[str, UUID]] = None
|
||||
custom_component: Union[Component, CustomComponent], user_id: Optional[Union[str, UUID]] = None
|
||||
):
|
||||
# The List of Inputs fills the role of the build_config and the entrypoint_args
|
||||
field_config = custom_component.template_config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue