Is there a trick to referencing assets that have a...
# ask-community
r
Is there a trick to referencing assets that have a key_prefix as the
non_argument_deps
value for another asset in a different repository? Basically (and I don't think I'm giving anything away here) I want to show that
tester
depends on
amazon_product_corpus_raw
amazon_product_corpus_raw
is an
asset
with
Copy code
key_prefix=["product_data"],
    group_name="amazon_product_corpus",
But if I specify that
tester
has
non_argument_deps={"product_data/amazon_product_corpus_raw"}
it doesn't work (see screenshot) I've tried using just
non_argument_deps={"amazon_product_corpus_raw"}
,
non_argument_deps={"product_data__amazon_product_corpus_raw"}
etc to no avail
🤖 1
For anyone else curious (or future-me) you can reference this with
non_argument_deps={AssetKey(["product_data", "amazon_product_corpus_raw"])}
🌈 1