https://dagster.io/ logo
#ask-community
Title
# ask-community
f

Flavien

08/11/2023, 12:20 PM
Hello 👋 I try to define a
graph_asset
and one of its ops requires a resource like this:
Copy code
@op(out=DynamicOut())
def my_op(blob_client: AzureBlobClient):
    ...

@graph_asset(
    partitions_def=partitions_defs,
    config=config,
    resource_defs={"blob_client": AzureBlobClient.configure_at_launch()},
)
def my_graph_asset():
    ...
But I get this error:
Copy code
CheckError: Value in Mapping mismatches expected type for key blob_client
Could someone help me ?
🤖 1
Figured out I needed to add the resource in the definitions
11 Views