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

geoHeil

05/21/2022, 7:51 AM
For assets like:
Copy code
``
`from dagster import asset`
`import pandas as pd`

`@asset`
`def dumm1():`
    `return 1`

`@asset`
`def dumm2():`
    `return 1`

`my_asset_group = AssetGroup.from_package_module()`
`socrata_assets_local.build_job(name="socrata_job", selection='dumm1')`
``
Works fine. However, when using a prefix:
Copy code
``
`my_asset_group = AssetGroup.from_package_module().prefixed("my_prefix")`
`socrata_assets_local.build_job(name="socrata_job", selection='dumm1')`
``
fails with: No qualified assets to execute found for clause How can I filter also an assetgroup which include a prefix when constructing a job with only a subset of the assets?
dagster bot resolve to issue 1
Turns out that
my_prefix>dummy1
i.e.
>
is the separator needed for the selection criterion. Perhaps it would be useful to make this more transparent in the documentation.
s

sean

05/23/2022, 9:46 PM
Thanks for the feedback here. cc @sandy
@Dagster Bot issue Document
>
character for asset prefixes in selection criteria
d

Dagster Bot

05/24/2022, 12:31 PM