Skip to content

Commit

Permalink
disable experimental warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Sep 20, 2023
1 parent 7eea03d commit 0788e4e
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions python_modules/dagster/dagster/_core/execution/context/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@
from dagster._core.log_manager import DagsterLogManager
from dagster._core.storage.dagster_run import DagsterRun
from dagster._utils.forked_pdb import ForkedPdb
from dagster._utils.warnings import deprecation_warning
from dagster._utils.warnings import (
deprecation_warning,
disable_dagster_warnings,
)

from .system import StepExecutionContext

Expand Down Expand Up @@ -1348,16 +1351,16 @@ def __init__(self, op_execution_context: OpExecutionContext) -> None:
self._selected_asset_keys = self._op_execution_context.selected_asset_keys
self._assets_def = self._op_execution_context.assets_def

self._provenance_by_asset_key = {
key: self._op_execution_context.get_asset_provenance(key)
for key in self._selected_asset_keys
}
with disable_dagster_warnings():
self._provenance_by_asset_key = {
key: self._op_execution_context.get_asset_provenance(key)
for key in self._selected_asset_keys
}
self._code_version_by_asset_key = {
key: self._assets_def.code_versions_by_key[key] for key in self._selected_asset_keys
}
self._check_specs_by_asset_key = {
self._op_execution_context.asset_key_for_output(output_name): check
for output_name, check in self._assets_def.check_specs_by_output_name.items()
check.asset_key: check for check in self._assets_def.check_specs_by_output_name.values()
}

@public
Expand Down

0 comments on commit 0788e4e

Please sign in to comment.