diff --git a/python_modules/libraries/dagster-airbyte/dagster_airbyte/resources.py b/python_modules/libraries/dagster-airbyte/dagster_airbyte/resources.py index 96b6bb81506ec..9ddb8e386f8c2 100644 --- a/python_modules/libraries/dagster-airbyte/dagster_airbyte/resources.py +++ b/python_modules/libraries/dagster-airbyte/dagster_airbyte/resources.py @@ -1259,11 +1259,11 @@ def _generate_materialization( def sync_and_poll(self, context: AssetExecutionContext): """Executes a sync and poll process to materialize Airbyte Cloud assets. + This method can only be used in the context of an asset execution. Args: context (AssetExecutionContext): The execution context - from within `@airbyte_assets`. If an AssetExecutionContext is passed, - its underlying OpExecutionContext will be used. + from within `@airbyte_assets`. Returns: Iterator[Union[AssetMaterialization, MaterializeResult]]: An iterator of MaterializeResult