Register Assets in defs/__init__.py

Teradata Developer Guides

ft:locale
en-US
ft:lastEdition
2026-08-18

Now you need to register these assets so Dagster can discover them. Update the existing defs/__init__.py file and add the following:

from .assets import read_csv_file, read_table, create_table, drop_table, insert_rows

__all__ = [
    "read_csv_file",
    "read_table",
    "create_table",
    "drop_table",
    "insert_rows",
]

This makes the assets importable from the defs module, allowing them to be discovered by Dagster's asset lineage system.