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

Qwame

03/14/2023, 9:06 PM
Hi team, quick question: I created an asset job using
Copy code
define_asset_job(name='my_name', selection=load_assets_from_current_module(group_name='my_group'))
This worked but I can't find the group in dagit. Is this the expected behaviour? Assets were assigned to the default group
y

yuhan

03/14/2023, 10:32 PM
i believe you’ll need to put
load_assets_from_current_module(group_name='my_group')
in the Definitions so dagster knows to load that group with the name. so something like:
Copy code
my_group = load_assets_from_current_module(group_name='my_group')
defs = Definitions(
  assets=my_group,
  jobs=[define_asset_job(name='my_name', selection=my_group)]
)