File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ async def create_resources(studio_client: StudioClient):
7272 connection = await connections .retrieve_async (connection_key )
7373 except EnrichedException :
7474 resources_not_found += 1
75+ assert bindings_resource .metadata is not None
7576 connector_name = bindings_resource .metadata .get ("Connector" )
7677 console .warning (
7778 f"Connection with key '{ connection_key } ' of type '{ connector_name } ' "
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class BindingResource(BaseModelWithDefaultConfig):
2525 resource : str = Field (..., alias = "resource" )
2626 key : str = Field (..., alias = "key" )
2727 value : dict [str , BindingResourceValue ] = Field (..., alias = "value" )
28- metadata : Any = Field (..., alias = "metadata" )
28+ metadata : dict [ str , Any ] | None = Field (alias = "metadata" , default = None )
2929
3030
3131class Bindings (BaseModelWithDefaultConfig ):
You can’t perform that action at this time.
0 commit comments