Skip to content

Commit

Permalink
fixes relative partitions import for taxi trips
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpadden committed Nov 17, 2023
1 parent 63ac962 commit 16b2f14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ To add the partition to the asset:
After following the steps above, the `taxi_trips_file` asset should look similar to the code snippet below:

```python
from .partitions import monthly_partition
from ..partitions import monthly_partition

@asset(
partitions_def=monthly_partition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The updated asset should look similar to the following code. Click **View answer

```python {% obfuscated="true" %}
from dagster import asset
from .partitions import monthly_partitions
from ..partitions import monthly_partitions

@asset(
deps=["taxi_trips_file"],
Expand Down

0 comments on commit 16b2f14

Please sign in to comment.