Skip to content

Commit

Permalink
[dagster-contrib-modal] support AssetExecutionContext in pipes run
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpadden committed Dec 11, 2024
1 parent 1106a5a commit 531e555
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from pathlib import Path
from typing import Mapping, Optional, Union

from dagster import OpExecutionContext, PipesSubprocessClient
from dagster import AssetExecutionContext, OpExecutionContext, PipesSubprocessClient
from dagster._annotations import public
from dagster._core.pipes.client import PipesClientCompletedInvocation
from dagster_pipes import PipesExtras
Expand Down Expand Up @@ -46,7 +46,7 @@ def run(
self,
*,
func_ref: str,
context: OpExecutionContext,
context: Union[AssetExecutionContext, OpExecutionContext],
extras: Optional[PipesExtras] = None,
env: Optional[Mapping[str, str]] = None,
) -> PipesClientCompletedInvocation:
Expand Down
2 changes: 1 addition & 1 deletion libraries/dagster-contrib-modal/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "dagster-contrib-modal"
version = "0.0.1"
version = "0.0.2"
description = "Dagster integration with Modal"
readme = "README.md"
requires-python = ">=3.8"
Expand Down
2 changes: 1 addition & 1 deletion libraries/dagster-contrib-modal/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 531e555

Please sign in to comment.