Skip to content

Commit

Permalink
[docs-beta] add spaces to user defined state in mermaid diagram (#23867)
Browse files Browse the repository at this point in the history
## Summary & Motivation

## How I Tested These Changes

## Changelog [New | Bug | Docs]

NOCHANGELOG
  • Loading branch information
cmpadden authored Aug 23, 2024
1 parent de2a2e9 commit 72aaa26
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/docs-beta/docs/guides/automation/asset-sensors.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,18 @@ The evaluation function of an asset sensor can be customized to include custom l
stateDiagram-v2
direction LR
classDef userDefined fill: lightblue
[*] --> AssetMaterialized
AssetMaterialized --> [*]
AssetMaterialized --> UserEvaluationFunction
AssetMaterialized --> UserEvaluationFunction:::userDefined
UserEvaluationFunction: User Evaluation Function
UserEvaluationFunction --> RunRequest
UserEvaluationFunction --> SkipReason
SkipReason --> [*]
RunRequest --> [*]
class UserEvaluationFunction userDefined
classDef userDefined fill: lightblue
```

In this example, the `@asset_sensor` decorator allows you to define a custom evaluation function that returns a `RunRequest` object when the asset is materialized and certain metadata is present,
Expand Down

2 comments on commit 72aaa26

@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-cdhryx9ff-elementl.vercel.app
https://master.dagster.dagster-docs.io

Built with commit 72aaa26.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link

@github-actions github-actions bot commented on 72aaa26 Aug 23, 2024

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-beta ready!

✅ Preview
https://dagster-docs-beta-fnu0spmxf-elementl.vercel.app
https://dagster-docs-beta.dagster-docs.io

Built with commit 72aaa26.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.