Skip to content

Commit

Permalink
pyright fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Jan 29, 2024
1 parent 1532ae6 commit 0e258ff
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,24 +75,30 @@ def bind(
config_from_args: Optional[Mapping[str, Any]],
resources_from_args: Optional[Mapping[str, Any]],
):
"""Instances of BaseDirectExecutionContext must implement bind."""
"""Subclasses of BaseDirectExecutionContext must implement bind."""

@abstractmethod
def unbind(self):
"""Instances of BaseDirectExecutionContext must implement unbind."""
"""Subclasses of BaseDirectExecutionContext must implement unbind."""

@property
@abstractmethod
def bound_properties(self) -> "BoundProperties":
"""Instances of BaseDirectExecutionContext must contain a BoundProperties object."""
"""Subclasses of BaseDirectExecutionContext must contain a BoundProperties object."""

@property
@abstractmethod
def execution_properties(self) -> "DirectExecutionProperties":
"""Instances of BaseDirectExecutionContext must contain a DirectExecutionProperties object."""
"""Subclasses of BaseDirectExecutionContext must contain a DirectExecutionProperties object."""

@abstractmethod
def for_type(self, dagster_type: DagsterType) -> TypeCheckContext:
"""Subclasses of BaseDirectExecutionContext must implement for_type."""
pass

@abstractmethod
def observe_output(self, output_name: str, mapping_key: Optional[str] = None) -> None:
"""Subclasses of BaseDirectExecutionContext must implement observe_output."""
pass


Expand Down

0 comments on commit 0e258ff

Please sign in to comment.