refactor: Remove warnings and update build_component function in loading.py
This commit is contained in:
parent
1de0767eaa
commit
d6468e4283
1 changed files with 1 additions and 3 deletions
|
|
@ -123,9 +123,7 @@ async def build_component(
|
|||
):
|
||||
# Now set the params as attributes of the custom_component
|
||||
custom_component.set_attributes(params)
|
||||
with warnings.catch_warnings():
|
||||
warnings.filterwarnings("ignore", category=PydanticDeprecatedSince20)
|
||||
build_results, artifacts = await custom_component.build_results(vertex)
|
||||
build_results, artifacts = await custom_component.build_results(vertex)
|
||||
|
||||
return custom_component, build_results, artifacts
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue