Skip to content

Commit

Permalink
Remove OpExecutionContext
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Dec 19, 2024
1 parent 38d1478 commit c48ad8a
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from abc import abstractmethod
from contextlib import contextmanager
from datetime import datetime, timedelta
from typing import Any, Dict, List, Mapping, Optional, Sequence, Union, cast
from typing import Any, Dict, List, Mapping, Optional, Sequence, cast

import requests
from dagster import (
Expand All @@ -15,7 +15,6 @@
Definitions,
Failure,
InitResourceContext,
OpExecutionContext,
_check as check,
get_dagster_logger,
resource,
Expand Down Expand Up @@ -1212,9 +1211,7 @@ def load_asset_specs(
workspace=self, dagster_airbyte_translator=dagster_airbyte_translator
)

def sync_and_poll(
self, context: Optional[Union[OpExecutionContext, AssetExecutionContext]] = None
):
def sync_and_poll(self, context: AssetExecutionContext):
raise NotImplementedError()


Expand Down

0 comments on commit c48ad8a

Please sign in to comment.