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

Laurent

08/25/2023, 1:52 PM
Hello, following the instructions in the doc in concepts/resources I have created my Definitions object (my assets and their resources), why can't I add them to my repo ? Looks like it's expecting an AssetsDefinition instead. I've tried using those instead but I can't find a way to pass them resources
I mean when I'm using with_resources
I'm working with a list of AssetsDefinition
t

Tim Castillo

08/25/2023, 4:49 PM
Hi, which part did you mean to say you were using
with_resources
?
l

Laurent

08/28/2023, 8:03 AM
in the @ repo I used return [with_resources(assets, resource_defs)] and all combinations i could think of
I've tried with and without using load_assets_from_package_module
is there a working example somewhere that I can refer to ?