From 4f92faa1e5239dafbcc9bf5fcdc88155f0543a44 Mon Sep 17 00:00:00 2001 From: JamieDeMaria Date: Thu, 7 Dec 2023 16:26:01 -0500 Subject: [PATCH] straggling ruff --- .../dagster/dagster/_core/execution/context/compute.py | 1 + .../core_tests/execution_tests/test_asset_execution_context.py | 1 + 2 files changed, 2 insertions(+) diff --git a/python_modules/dagster/dagster/_core/execution/context/compute.py b/python_modules/dagster/dagster/_core/execution/context/compute.py index 799a3ffa7d292..050115d28f458 100644 --- a/python_modules/dagster/dagster/_core/execution/context/compute.py +++ b/python_modules/dagster/dagster/_core/execution/context/compute.py @@ -1365,6 +1365,7 @@ def get() -> "OpExecutionContext": ######## AssetExecutionContext ############################### + def _copy_docs_from_op_execution_context(obj): setattr(obj, "__doc__", getattr(OpExecutionContext, obj.__name__).__doc__) return obj diff --git a/python_modules/dagster/dagster_tests/core_tests/execution_tests/test_asset_execution_context.py b/python_modules/dagster/dagster_tests/core_tests/execution_tests/test_asset_execution_context.py index b5716a42e2c76..bad2c5f588979 100644 --- a/python_modules/dagster/dagster_tests/core_tests/execution_tests/test_asset_execution_context.py +++ b/python_modules/dagster/dagster_tests/core_tests/execution_tests/test_asset_execution_context.py @@ -4,6 +4,7 @@ from dagster import AssetExecutionContext, OpExecutionContext, asset, materialize from dagster._core.execution.context.compute import _get_deprecation_kwargs + def test_doc_strings(): ignores = [ "_abc_impl",