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

Eric Larson

06/15/2022, 3:28 PM
I’m in process of upgrading to 0.15 and converted name_space to key_prefix, but got
Copy code
dagster.core.errors.DagsterInvalidDefinitionError: Input asset '["sftp_filename"]' for asset '["VM2Uniform", "download_missing_files"]' is not produced by any of the provided asset ops and is not one of the provided sources
was able to fix by adding
ins
Copy code
ins={
        "sftp_filename": AssetIn(asset_key=sftp_filename.asset_key),
    },
but wasn’t sure if this is a bug or expected new behaviour?
c

claire

06/15/2022, 3:33 PM
Hi Eric, thanks for reporting this bug. Would you mind sharing your code so I can replicate this error?
o

owen

06/15/2022, 4:07 PM
hi @Eric Larson! this is expected behavior (
namespace
applies to both input and output keys, while
key_prefix
applies only to the output key). Adding
ins
is currently the best way to work around this change in behavior, and we're hoping to add some more ergonomic options soon!
e

Eric Larson

06/15/2022, 4:13 PM
cool thanks
4 Views