Skip to content

Commit

Permalink
Fix usage example in README
Browse files Browse the repository at this point in the history
Should import `sqlmesh_assets` instead of `sqlmesh_asset`

    cannot import name 'sqlmesh_asset' from 'dagster_sqlmesh
  • Loading branch information
giovannipcarvalho committed Aug 30, 2024
1 parent 289afed commit 87bc1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ from dagster import (
AssetExecutionContext,
Definitions,
)
from dagster_sqlmesh import sqlmesh_asset, SQLMeshContextConfig, SQLMeshResource
from dagster_sqlmesh import sqlmesh_assets, SQLMeshContextConfig, SQLMeshResource

sqlmesh_config = SQLMeshContextConfig(path="/home/foo/sqlmesh_project", gateway="name-of-your-gateway")

Expand Down

0 comments on commit 87bc1c5

Please sign in to comment.