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

Szymon Piskorz

01/25/2023, 7:54 PM
First time working with Dagster, followed the dummy tutorial for dbt but I used the manifest method because its more than 100MB.
q

Qwame

01/26/2023, 3:02 PM
Can you share the code you used to load assets from the manifest?
s

Szymon Piskorz

01/26/2023, 3:03 PM
Copy code
dbt_assets = load_assets_from_dbt_manifest(
    json.load(
        open(file_relative_path(__file__, "../manifest.json"), "r", encoding="utf-8")
    ),
)
File exists and is read properly by the json method.
Copy code
>>> len(assets.open(file_relative_path(__file__, "../manifest.json"), "r", encoding="utf-8").read())
119280894
@Qwame Any luck taking a look at this?