I’m in process of upgrading to 0.15 and converted ...
# ask-community
e
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
Hi Eric, thanks for reporting this bug. Would you mind sharing your code so I can replicate this error?
o
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
cool thanks