add asset key prefix

This commit is contained in:
2025-07-27 18:06:47 +02:00
parent e5cb15d1ba
commit 1e9078fed5
4 changed files with 14 additions and 16 deletions

View File

@@ -1,8 +1,8 @@
import os
from pathlib import Path
import assets
import sensors
from config import APP
from dagster_polars import PolarsParquetIOManager
from icecream import install
from resoures import JsonIOManager
@@ -11,9 +11,7 @@ import dagster as dg
install()
APP = os.environ.get("APP", Path(__file__).parent.parent.name)
storage_dir = os.environ.get("STORAGE_DIR", "/storage") + f"/{APP}"
storage_dir = os.environ.get("STORAGE_DIR", "/storage")
definitions = dg.Definitions(
assets=[