Skip to content

Commit

Permalink
Update docs/content/guides/dagster/code-references.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Erin Cochran <[email protected]>
  • Loading branch information
benpankow and erinkcochran87 committed Aug 5, 2024
1 parent 8178258 commit 4582d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/guides/dagster/code-references.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Dagster's dbt integration can automatically attach references to the SQL files b

In some cases, you may want to manually attach code references to your asset definitions. Some assets may have a more complex source structure, such as an asset whose definition is spread across multiple Python source files or an asset which is partially defined with a `.sql` model file.

To manually attach code references to an asset definition, use <Pyobject module="dagster" object="CodeReferencesMetadataValue"/>. You can then choose to augment these manual references with <Pyobject module="dagster" object="with_source_code_references"/>:
To manually attach code references to an asset definition, use <PyObject module="dagster" object="CodeReferencesMetadataValue"/>. You can then choose to augment these manual references with <PyObject module="dagster" object="with_source_code_references"/>:

```python file=/guides/dagster/code_references/manual_references.py
import os
Expand Down

0 comments on commit 4582d96

Please sign in to comment.