From 9b0e0ffa1000bdc4efdbbc6ad427d065b88249e9 Mon Sep 17 00:00:00 2001 From: Maxime Armstrong Date: Wed, 18 Dec 2024 22:03:22 -0500 Subject: [PATCH] Update docstring --- .../libraries/dagster-airbyte/dagster_airbyte/resources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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