diff --git a/apps/test/__init__.py b/apps/old/__init__.py similarity index 100% rename from apps/test/__init__.py rename to apps/old/__init__.py diff --git a/apps/test/io.py b/apps/old/io.py similarity index 100% rename from apps/test/io.py rename to apps/old/io.py diff --git a/apps/test/manual.py b/apps/old/manual.py similarity index 100% rename from apps/test/manual.py rename to apps/old/manual.py diff --git a/apps/test/sync.sh b/apps/old/sync.sh similarity index 100% rename from apps/test/sync.sh rename to apps/old/sync.sh diff --git a/apps/test/test.py b/apps/test/test.py deleted file mode 100644 index f656f5b..0000000 --- a/apps/test/test.py +++ /dev/null @@ -1,34 +0,0 @@ -import time - -from dagster import AssetMaterialization, Output, config_mapping, job, op - - -@op(config_schema={"config_param": str}) -def hello(context): - time.sleep(1) - print("halllo") - return Output(123, metadata={"aa": context.op_config["config_param"]}) - - -@op -def goodbye(context, x: int): - time.sleep(2) - print("doooei", x) - context.log_event( - AssetMaterialization( - asset_key="my_asset", - metadata={"my_meta": 444}, - description="A very useful value!", - ) - ) - return 2 - - -@config_mapping(config_schema={"simplified_param": str}) -def simplified_config(val): - return {"ops": {"hello": {"config": {"config_param": val["simplified_param"]}}}} - - -@job -def my_job(): - goodbye(hello())