diff --git a/docs/content/api/modules.json.gz b/docs/content/api/modules.json.gz index 0f7d2a8a7f7f6..727f1e3753361 100644 Binary files a/docs/content/api/modules.json.gz and b/docs/content/api/modules.json.gz differ diff --git a/docs/content/api/searchindex.json.gz b/docs/content/api/searchindex.json.gz index 7467760a2f765..908c96ccdae32 100644 Binary files a/docs/content/api/searchindex.json.gz and b/docs/content/api/searchindex.json.gz differ diff --git a/docs/content/api/sections.json.gz b/docs/content/api/sections.json.gz index d276e056be89a..b2311bceb335e 100644 Binary files a/docs/content/api/sections.json.gz and b/docs/content/api/sections.json.gz differ diff --git a/docs/content/concepts/metadata-tags/tags.mdx b/docs/content/concepts/metadata-tags/tags.mdx index 571afdfcf8509..d351fd108c2b0 100644 --- a/docs/content/concepts/metadata-tags/tags.mdx +++ b/docs/content/concepts/metadata-tags/tags.mdx @@ -62,6 +62,24 @@ def leads(): ... Other APIs that define assets can also accept tag arguments, such as , , , and . +#### Storage kind tags + +You can attach the `dagster/storage_kind` tag to an asset to specify the storage technology used to store the asset. For example, `s3` or `snowflake`. + +```python file=/concepts/metadata-tags/tags.py startafter=start_asset_storage_kind_tag endbefore=end_asset_storage_kind_tag +@asset(tags={"dagster/storage_kind": "snowflake"}) +def users(): ... +``` + +These tags will appear in the asset graph and can be used to filter assets in the Dagster UI: + + + ### Jobs Adding tags to a job will attach them to every run executed by the job. diff --git a/docs/next/public/images/concepts/metadata-tags/storage-kind-tag.png b/docs/next/public/images/concepts/metadata-tags/storage-kind-tag.png new file mode 100644 index 0000000000000..6d74ee27e0e21 Binary files /dev/null and b/docs/next/public/images/concepts/metadata-tags/storage-kind-tag.png differ diff --git a/docs/next/public/objects.inv b/docs/next/public/objects.inv index 65440a007a5af..df24f77a62a67 100644 Binary files a/docs/next/public/objects.inv and b/docs/next/public/objects.inv differ diff --git a/examples/docs_snippets/docs_snippets/concepts/metadata-tags/tags.py b/examples/docs_snippets/docs_snippets/concepts/metadata-tags/tags.py index ca3235552ceaf..3a002385205be 100644 --- a/examples/docs_snippets/docs_snippets/concepts/metadata-tags/tags.py +++ b/examples/docs_snippets/docs_snippets/concepts/metadata-tags/tags.py @@ -9,6 +9,16 @@ def leads(): ... # end_asset_tags + +# start_asset_storage_kind_tag + + +@asset(tags={"dagster/storage_kind": "snowflake"}) +def users(): ... + + +# end_asset_storage_kind_tag + # start_asset_job_tags asset_job = define_asset_job(