remove context with to filter warnings
This commit is contained in:
parent
472563a2e7
commit
ef7e36ee14
1 changed files with 2 additions and 2 deletions
|
|
@ -123,7 +123,7 @@ async def build_component(
|
||||||
):
|
):
|
||||||
# Now set the params as attributes of the custom_component
|
# Now set the params as attributes of the custom_component
|
||||||
custom_component.set_attributes(params)
|
custom_component.set_attributes(params)
|
||||||
with warnings.filterwarnings("ignore", category=PydanticDeprecatedSince20):
|
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
|
return custom_component, build_results, artifacts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue