Skip to content

Commit

Permalink
Revert "[docs] add brief storage kind docs (#22328)" (#22367)
Browse files Browse the repository at this point in the history
## Summary

Reverts storage kind docs in case we want to adjust their APIs
  • Loading branch information
benpankow authored Jun 7, 2024
1 parent a21e0f5 commit 290c107
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

1 comment on commit 290c107

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for dagster-docs ready!

✅ Preview
https://dagster-docs-7lvw8z2yb-elementl.vercel.app
https://master.dagster.dagster-docs.io

Built with commit 290c107.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.