Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Update guide/assets imgs #27179

Merged
merged 4 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ A query includes a list of clauses. Clauses are separated by commas, except in t

The examples in this section use the following asset graph from the [Dagster University Essentials project](https://github.com/dagster-io/project-dagster-university) to demonstrate how to use the selection syntax:

![Screenshot of Daggy U project graph](/img/placeholder.svg)
![Screenshot of Daggy U project graph](/images/guides/build/assets/asset-selection-syntax/asset-selection-syntax-dag.png)

### Selecting a single asset \{#single-asset}

Expand Down Expand Up @@ -64,7 +64,7 @@ taxi_zones_file

Which would result in the following asset graph:

![Screenshot of Daggy U project graph](/img/placeholder.svg)
![Screenshot of Daggy U project graph](/images/guides/build/assets/asset-selection-syntax/select-single-asset.png)

</TabItem>
</Tabs>
Expand Down Expand Up @@ -109,7 +109,7 @@ manhattan/manhattan_stats

Which would result in the following asset graph:

![Screenshot of Daggy U project graph](/img/placeholder.svg)
![Screenshot of Daggy U project graph](/images/guides/build/assets/asset-selection-syntax/select-multiple-components.png)

</TabItem>
</Tabs>
Expand Down Expand Up @@ -150,7 +150,7 @@ taxi_zones_file taxi_trips_file

Which would result in the following asset graph:

![Screenshot of Daggy U project graph](/img/placeholder.svg)
![Screenshot of Daggy U project graph](/images/guides/build/assets/asset-selection-syntax/select-disjointed-lineages.png)

</TabItem>
</Tabs>
Expand Down Expand Up @@ -189,7 +189,7 @@ dagster asset materialize --select "*taxi_zones*"

Which would result in the following asset graph:

![Screenshot of Daggy U project graph](/img/placeholder.svg)
![Screenshot of Daggy U project graph](/images/guides/build/assets/asset-selection-syntax/select-entire-lineage.png)

</TabItem>
</Tabs>
Expand Down Expand Up @@ -230,7 +230,7 @@ dagster asset materialize --select "*manhattan_map"

Which would result in the following asset graph:

![Screenshot of Daggy U project graph](/img/placeholder.svg)
![Screenshot of Daggy U project graph](/images/guides/build/assets/asset-selection-syntax/select-upstream-dependencies.png)

</TabItem>
</Tabs>
Expand Down Expand Up @@ -267,7 +267,7 @@ dagster asset materialize --select "++manhattan_map"

Which would result in the following asset graph:

![Screenshot of Daggy U project graph](/img/placeholder.svg)
![Screenshot of Daggy U project graph](/images/guides/build/assets/asset-selection-syntax/select-two-upstream-layers.png)

</TabItem>
</Tabs>
Expand Down Expand Up @@ -308,7 +308,7 @@ taxi_zones_file*

Which would result in the following asset graph:

![Screenshot of Daggy U project graph](/img/placeholder.svg)
![Screenshot of Daggy U project graph](/images/guides/build/assets/asset-selection-syntax/select-downstream-dependencies.png)

</TabItem>
</Tabs>
Expand Down Expand Up @@ -345,7 +345,7 @@ taxi_zones_file++

Which would result in the following asset graph:

![Screenshot of Daggy U project graph](/img/placeholder.svg)
![Screenshot of Daggy U project graph](/images/guides/build/assets/asset-selection-syntax/select-two-downstream-layers.png)

</TabItem>
</Tabs>
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ When launching a run using the Launchpad in the UI, you can provide a run config

On any page with a **Materialize** button, click the **options menu > Open launchpad** to access the Launchpad:

![Highlighted Open Launchpad option in the Materialize options menu of the Dagster UI](/img/placeholder.svg)
![Highlighted Open Launchpad option in the Materialize options menu of the Dagster UI](/images/guides/build/assets/configuring-assets-in-the-ui/open-launchpad.png)

This will open the Launchpad, where you can scaffold the config, customize its values, and manually materialize the asset:

![Dagster Launchpad that configures an asset to have a lookback window of 7 days](/img/placeholder.svg)
![Dagster Launchpad that configures an asset to have a lookback window of 7 days](/images/guides/build/assets/configuring-assets-in-the-ui/look-back-7.png)

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@ This guide covers how to run JavaScript with Dagster using Pipes, however, the s

To follow this guide, you'll need:

- Familiarity with [Assets](/guides/build/assets/index.mdx
- Familiarity with [Assets](/guides/build/assets/)
- A basic understanding of JavaScript and Node.js

To run the examples, you'll need to install:

- [Node.js](https://nodejs.org/en/download/package-manager/)
- The following packages:
- The following Python packages:

```bash
pip install dagster dagster-webserver tensorflow
pip install dagster dagster-webserver
```
- The following Node packages:
```bash
npm install @tensorflow/tfjs
```
</details>

Expand All @@ -42,8 +46,6 @@ In Dagster, create an asset that:

When the asset is materialized, the stdout and stderr will be captured automatically and shown in the asset logs. If the command passed to Pipes returns a successful exit code, Dagster will produce an asset materialization result.

![Image of captured stdout](/img/placeholder.svg)

## Step 3: Send and receive data from the script

To send context to your script or emit events back to Dagster, you can use environment variables provided by the `PipesSubprocessClient`.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading