Skip to content

Commit

Permalink
fix: allow assets to materialize the current week on demand (#2318)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabolol authored Oct 5, 2024
1 parent 246a75e commit d84654b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions warehouse/oso_dagster/assets/eas_optimism.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ def get_optimism_eas(context: AssetExecutionContext, client: Client):
key_prefix="ethereum_attestation_service_optimism",
partitions_def=WeeklyPartitionsDefinition(
start_date=EAS_OPTIMISM_FIRST_ATTESTATION.isoformat().split("T", maxsplit=1)[0],
end_offset=1,
),
op_tags={
"dagster-k8s/config": K8S_CONFIG,
Expand Down
2 changes: 2 additions & 0 deletions warehouse/oso_dagster/assets/open_collective.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ def base_open_collective_client(personal_token: str):
key_prefix="open_collective",
partitions_def=WeeklyPartitionsDefinition(
start_date=OPEN_COLLECTIVE_TX_EPOCH.split("T", maxsplit=1)[0],
end_offset=1,
),
op_tags={
"dagster-k8s/config": K8S_CONFIG,
Expand Down Expand Up @@ -636,6 +637,7 @@ def expenses(
key_prefix="open_collective",
partitions_def=WeeklyPartitionsDefinition(
start_date=OPEN_COLLECTIVE_TX_EPOCH.split("T", maxsplit=1)[0],
end_offset=1,
),
op_tags={
"dagster-k8s/config": K8S_CONFIG,
Expand Down

0 comments on commit d84654b

Please sign in to comment.