Skip to content

Commit

Permalink
Revert "[docs] add brief storage kind docs (dagster-io#22328)" (dagst…
Browse files Browse the repository at this point in the history
…er-io#22367)

## Summary

Reverts storage kind docs in case we want to adjust their APIs
  • Loading branch information
benpankow authored and danielgafni committed Jun 18, 2024
1 parent 27fea42 commit 9a29526
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 28 deletions.
Binary file modified docs/content/api/modules.json.gz
Binary file not shown.
Binary file modified docs/content/api/searchindex.json.gz
Binary file not shown.
Binary file modified docs/content/api/sections.json.gz
Binary file not shown.
18 changes: 0 additions & 18 deletions docs/content/concepts/metadata-tags/tags.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,6 @@ def leads(): ...

Other APIs that define assets can also accept tag arguments, such as <PyObject object="AssetSpec" />, <PyObject object="AssetOut" />, <PyObject object="AssetOut" />, and <PyObject object="graph_asset" decorator />.

#### 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:

<Image
alt="An asset with a storage kind tag in the Dagster UI"
src="/images/concepts/metadata-tags/storage-kind-tag.png"
width={758}
height={303}
/>

### Jobs

Adding tags to a job will attach them to every run executed by the job.
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ 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(
Expand Down

0 comments on commit 9a29526

Please sign in to comment.