id int64 0 328k | repository_name stringlengths 7 58 | file_path stringlengths 9 302 | class_name stringlengths 5 256 | human_written_code stringlengths 16 2.16M | class_skeleton stringlengths 18 1.49M ⌀ | total_program_units int64 1 1.76k | total_doc_str int64 0 771 | AvgCountLine float64 0 7.89k | AvgCountLineBlank float64 0 297 | AvgCountLineCode float64 0 7.89k | AvgCountLineComment float64 0 7.89k | AvgCyclomatic float64 0 130 | CommentToCodeRatio float64 0 168 | CountClassBase float64 0 40 | CountClassCoupled float64 0 583 | CountClassCoupledModified float64 0 575 | CountClassDerived float64 0 5.35k | CountDeclInstanceMethod float64 0 529 | CountDeclInstanceVariable float64 0 296 | CountDeclMethod float64 0 599 | CountDeclMethodAll float64 0 1.12k | CountLine float64 1 40.4k | CountLineBlank float64 0 8.16k | CountLineCode float64 1 25.7k | CountLineCodeDecl float64 1 8.15k | CountLineCodeExe float64 0 24.2k | CountLineComment float64 0 16.5k | CountStmt float64 1 9.71k | CountStmtDecl float64 1 8.15k | CountStmtExe float64 0 9.69k | MaxCyclomatic float64 0 759 | MaxInheritanceTree float64 0 16 | MaxNesting float64 0 34 | SumCyclomatic float64 0 2.9k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
21,200 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/composition.py | dagster._core.definitions.composition.InvokedNodeDynamicOutputWrapper | from typing import TYPE_CHECKING, AbstractSet, Any, Callable, Generic, NamedTuple, NoReturn, Optional, TypeVar, Union, cast
from dagster._core.errors import DagsterInvalidDefinitionError, DagsterInvalidInvocationError, DagsterInvariantViolationError
import dagster._check as check
class InvokedNodeDynamicOutputWrapper:... |
class InvokedNodeDynamicOutputWrapper:
'''The return value for a dynamic output when invoking a node in a composition function.
Must be unwrapped by invoking map or collect.
'''
def __init__(self, node_name: str, output_name: str, node_type: str):
pass
def describe_node(self) -> str:
... | 10 | 1 | 8 | 0 | 7 | 0 | 1 | 0.04 | 0 | 5 | 2 | 0 | 9 | 3 | 9 | 9 | 81 | 10 | 68 | 18 | 54 | 3 | 28 | 14 | 18 | 5 | 0 | 1 | 13 |
21,201 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/composition.py | dagster._core.definitions.composition.InvokedNodeOutputHandle | from typing import TYPE_CHECKING, AbstractSet, Any, Callable, Generic, NamedTuple, NoReturn, Optional, TypeVar, Union, cast
from dagster._core.errors import DagsterInvalidDefinitionError, DagsterInvalidInvocationError, DagsterInvariantViolationError
import dagster._check as check
class InvokedNodeOutputHandle:
"""... |
class InvokedNodeOutputHandle:
'''The return value for an output when invoking a node in a composition function.'''
def __init__(self, node_name: str, output_name: str, node_type: str):
pass
def __iter__(self) -> NoReturn:
pass
def __getitem__(self, idx: object) -> NoReturn:
... | 7 | 1 | 5 | 0 | 5 | 0 | 1 | 0.03 | 0 | 2 | 0 | 0 | 6 | 0 | 6 | 6 | 42 | 7 | 34 | 7 | 27 | 1 | 18 | 7 | 11 | 1 | 0 | 0 | 6 |
21,202 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/composition.py | dagster._core.definitions.composition.MappedInputPlaceholder | class MappedInputPlaceholder:
"""Marker for holding places in fan-in lists where input mappings will feed.""" | class MappedInputPlaceholder:
'''Marker for holding places in fan-in lists where input mappings will feed.'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
21,203 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/composition.py | dagster._core.definitions.composition.PendingNodeInvocation | from dagster._core.errors import DagsterInvalidDefinitionError, DagsterInvalidInvocationError, DagsterInvariantViolationError
from collections import defaultdict, namedtuple
from collections.abc import Mapping, Sequence
from dagster._core.definitions.hook_definition import HookDefinition
from dagster._core.definitions.... |
class PendingNodeInvocation(Generic[T_NodeDefinition]):
'''An intermediate object in composition that allows binding additional information before invoking.
Users should not invoke this object directly.
Examples:
..code-block:: python
from dagster import graph, op
@op
... | 17 | 1 | 30 | 2 | 27 | 1 | 4 | 0.07 | 1 | 21 | 10 | 0 | 10 | 0 | 10 | 12 | 342 | 41 | 280 | 72 | 221 | 21 | 102 | 32 | 83 | 12 | 1 | 3 | 36 |
21,204 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/config.py | dagster._core.definitions.config.ConfigMapping | from dagster._config import ConfigType, is_supported_config_python_builtin, process_config, resolve_defaults, validate_config
from dagster._core.definitions.definition_config_schema import IDefinitionConfigSchema, convert_user_facing_definition_config_schema
from typing import Any, Callable, NamedTuple, Optional, Union... | null | 5 | 2 | 17 | 1 | 16 | 0 | 2 | 0.29 | 1 | 3 | 0 | 0 | 3 | 1 | 3 | 3 | 84 | 9 | 58 | 22 | 40 | 17 | 18 | 7 | 14 | 4 | 1 | 1 | 7 |
21,205 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/configurable.py | dagster._core.definitions.configurable.AnonymousConfigurableDefinition | from typing import TYPE_CHECKING, Any, Callable, NamedTuple, Optional, TypeVar, Union, cast
from abc import ABC, abstractmethod
from typing_extensions import Self
from dagster._core.definitions.definition_config_schema import CoercableToConfigSchema, ConfiguredDefinitionConfigSchema, IDefinitionConfigSchema, convert_us... |
class AnonymousConfigurableDefinition(ConfigurableDefinition):
'''An interface that makes the `configured` method not accept a name argument.'''
def configured(self, config_or_config_fn: Any, config_schema: CoercableToConfigSchema=None, description: Optional[str]=None) -> Self:
'''Wraps this object in... | 4 | 2 | 19 | 2 | 8 | 9 | 1 | 1 | 1 | 3 | 0 | 2 | 2 | 0 | 2 | 27 | 42 | 6 | 18 | 14 | 5 | 18 | 6 | 4 | 3 | 1 | 5 | 0 | 2 |
21,206 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/configurable.py | dagster._core.definitions.configurable.ConfigurableDefinition | import dagster._check as check
from typing import TYPE_CHECKING, Any, Callable, NamedTuple, Optional, TypeVar, Union, cast
from dagster._core.definitions.definition_config_schema import CoercableToConfigSchema, ConfiguredDefinitionConfigSchema, IDefinitionConfigSchema, convert_user_facing_definition_config_schema
from ... |
class ConfigurableDefinition(ABC):
@property
@abstractmethod
def config_schema(self) -> Optional[IDefinitionConfigSchema]:
pass
@property
def has_config_field(self) -> bool:
pass
@property
def config_field(self) -> Optional[Field]:
pass
def get_config_field(sel... | 10 | 1 | 7 | 1 | 3 | 3 | 2 | 0.73 | 1 | 3 | 0 | 2 | 5 | 0 | 5 | 25 | 45 | 7 | 22 | 10 | 12 | 16 | 14 | 7 | 8 | 2 | 4 | 1 | 8 |
21,207 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/configurable.py | dagster._core.definitions.configurable.FunctionAndConfigSchema | from dagster._config.config_schema import UserConfigSchema
from typing import TYPE_CHECKING, Any, Callable, NamedTuple, Optional, TypeVar, Union, cast
class FunctionAndConfigSchema(NamedTuple):
function: Callable[[Any], Any]
config_schema: Optional[UserConfigSchema] |
class FunctionAndConfigSchema(NamedTuple):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 1 | 0 | 0 |
21,208 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/configurable.py | dagster._core.definitions.configurable.NamedConfigurableDefinition | from dagster._config.config_schema import UserConfigSchema
import dagster._check as check
from dagster._core.definitions.definition_config_schema import CoercableToConfigSchema, ConfiguredDefinitionConfigSchema, IDefinitionConfigSchema, convert_user_facing_definition_config_schema
from abc import ABC, abstractmethod
fr... |
class NamedConfigurableDefinition(ConfigurableDefinition):
'''An interface that makes the `configured` method require a positional `name` argument.'''
def configured(self, config_or_config_fn: Any, name: str, config_schema: Optional[UserConfigSchema]=None, description: Optional[str]=None) -> Self:
'''... | 4 | 2 | 21 | 3 | 9 | 10 | 1 | 1 | 1 | 2 | 0 | 2 | 2 | 0 | 2 | 27 | 47 | 7 | 20 | 16 | 6 | 20 | 7 | 4 | 4 | 1 | 5 | 0 | 2 |
21,209 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/data_time.py | dagster._core.definitions.data_time.CachingDataTimeResolver | from dagster._core.errors import DagsterInvariantViolationError
from dagster._core.event_api import EventLogRecord
from collections.abc import Mapping, Sequence
from typing import AbstractSet, Optional, cast
import datetime
from dagster._time import datetime_from_timestamp, get_current_datetime
from dagster._core.defin... |
class CachingDataTimeResolver:
def __init__(self, instance_queryer: CachingInstanceQueryer):
pass
@property
def instance_queryer(self) -> CachingInstanceQueryer:
pass
@property
def asset_graph(self) -> BaseAssetGraph:
pass
def _calculate_data_time_partitioned(self, ass... | 25 | 6 | 27 | 3 | 21 | 3 | 4 | 0.22 | 0 | 17 | 5 | 0 | 17 | 0 | 17 | 17 | 511 | 68 | 365 | 127 | 287 | 80 | 158 | 67 | 140 | 9 | 0 | 3 | 61 |
21,210 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/data_version.py | dagster._core.definitions.data_version.CachingStaleStatusResolver | from collections.abc import Iterator, Mapping, Sequence
from dagster._core.definitions.partitions.context import PartitionLoadingContext, use_partition_loading_context
from dagster._core.loader import LoadingContext
from dagster._utils.cached_method import cached_method
from typing import TYPE_CHECKING, Callable, Final... |
class CachingStaleStatusResolver:
'''Used to resolve data version information. Avoids redundant database
calls that would otherwise occur. Intended for use within the scope of a
single "request" (e.g. GQL request, RunRequest resolution).
'''
def __init__(self, instance: 'DagsterInstance', asset_gr... | 38 | 1 | 16 | 1 | 14 | 1 | 3 | 0.13 | 0 | 16 | 10 | 0 | 20 | 1 | 20 | 20 | 375 | 36 | 300 | 105 | 237 | 39 | 156 | 73 | 125 | 13 | 0 | 4 | 61 |
21,211 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/data_version.py | dagster._core.definitions.data_version.DataProvenance | from collections.abc import Iterator, Mapping, Sequence
from typing import TYPE_CHECKING, Callable, Final, NamedTuple, Optional, Union
from dagster._annotations import beta, deprecated
from dagster import _check as check
class DataProvenance(NamedTuple('_DataProvenance', [('code_version', str), ('input_data_versions',... |
class DataProvenance(NamedTuple('_DataProvenance', [('code_version', str), ('input_data_versions', Mapping['AssetKey', DataVersion]), ('input_storage_ids', Mapping['AssetKey', Optional[int]]), ('is_user_provided', bool)])):
'''Provenance information for an asset materialization.
Args:
code_version (str... | 8 | 1 | 12 | 0 | 12 | 0 | 2 | 0.2 | 1 | 6 | 1 | 0 | 3 | 0 | 4 | 4 | 79 | 6 | 61 | 28 | 36 | 12 | 16 | 10 | 10 | 3 | 1 | 1 | 6 |
21,212 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/data_version.py | dagster._core.definitions.data_version.DataVersion | from typing import TYPE_CHECKING, Callable, Final, NamedTuple, Optional, Union
from dagster import _check as check
class DataVersion(NamedTuple('_DataVersion', [('value', str)])):
"""Represents a data version for an asset.
Args:
value (str): An arbitrary string representing a data version.
"""
... |
class DataVersion(NamedTuple('_DataVersion', [('value', str)])):
'''Represents a data version for an asset.
Args:
value (str): An arbitrary string representing a data version.
'''
def __new__(cls, value: str):
pass | 2 | 1 | 8 | 0 | 8 | 0 | 1 | 0.29 | 1 | 2 | 0 | 0 | 1 | 0 | 1 | 1 | 20 | 2 | 14 | 10 | 4 | 4 | 3 | 2 | 1 | 1 | 1 | 0 | 1 |
21,213 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/data_version.py | dagster._core.definitions.data_version.DataVersionsByPartition | from dagster._annotations import beta, deprecated
from collections.abc import Iterator, Mapping, Sequence
from typing import TYPE_CHECKING, Callable, Final, NamedTuple, Optional, Union
from dagster import _check as check
@beta
class DataVersionsByPartition(NamedTuple('_DataVersionsByPartition', [('data_versions_by_par... | @beta
class DataVersionsByPartition(NamedTuple('_DataVersionsByPartition', [('data_versions_by_partition', Mapping[str, DataVersion])])):
def __new__(cls, data_versions_by_partition: Mapping[str, Union[str, DataVersion]]):
pass | 3 | 0 | 17 | 0 | 17 | 0 | 2 | 0 | 1 | 4 | 1 | 0 | 1 | 0 | 1 | 1 | 22 | 0 | 22 | 9 | 13 | 0 | 4 | 2 | 2 | 2 | 1 | 0 | 2 |
21,214 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/data_version.py | dagster._core.definitions.data_version.StaleCause | from collections.abc import Iterator, Mapping, Sequence
from typing import TYPE_CHECKING, Callable, Final, NamedTuple, Optional, Union
class StaleCause(NamedTuple('_StaleCause', [('key', 'AssetKeyPartitionKey'), ('category', StaleCauseCategory), ('reason', str), ('dependency', Optional['AssetKeyPartitionKey']), ('chil... |
class StaleCause(NamedTuple('_StaleCause', [('key', 'AssetKeyPartitionKey'), ('category', StaleCauseCategory), ('reason', str), ('dependency', Optional['AssetKeyPartitionKey']), ('children', Optional[Sequence['StaleCause']])])):
def __new__(cls, key: Union['AssetKey', 'AssetKeyPartitionKey'], category: StaleCause... | 14 | 0 | 5 | 0 | 5 | 0 | 2 | 0.02 | 1 | 6 | 2 | 0 | 7 | 1 | 7 | 7 | 58 | 7 | 50 | 35 | 17 | 1 | 19 | 11 | 10 | 3 | 1 | 1 | 13 |
21,215 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/data_version.py | dagster._core.definitions.data_version.StaleCauseCategory | import functools
from enum import Enum
@functools.total_ordering
class StaleCauseCategory(Enum):
CODE = 'CODE'
DATA = 'DATA'
DEPENDENCIES = 'DEPENDENCIES'
def __lt__(self, other: 'StaleCauseCategory'):
if self.__class__ is other.__class__:
return self.value < other.value
re... | @functools.total_ordering
class StaleCauseCategory(Enum):
def __lt__(self, other: 'StaleCauseCategory'):
pass | 3 | 0 | 4 | 0 | 4 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 50 | 9 | 1 | 8 | 5 | 6 | 0 | 8 | 5 | 6 | 2 | 4 | 1 | 2 |
21,216 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/data_version.py | dagster._core.definitions.data_version.StaleStatus | from enum import Enum
class StaleStatus(Enum):
MISSING = 'MISSING'
STALE = 'STALE'
FRESH = 'FRESH' |
class StaleStatus(Enum):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 49 | 4 | 0 | 4 | 4 | 3 | 0 | 4 | 4 | 3 | 0 | 4 | 0 | 0 |
21,217 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/data_version.py | dagster._core.definitions.data_version.UnknownValue | class UnknownValue:
pass | class UnknownValue:
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 0 | 0 | 0 |
21,218 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/automation_condition.py | dagster._core.definitions.declarative_automation.automation_condition.AutomationCondition | from dagster._utils.security import non_secure_md5_hash_str
from abc import ABC, abstractmethod
from dagster._annotations import beta, hidden_param, only_allow_hidden_params_in_kwargs, public
from collections.abc import Mapping, Sequence, Set
from dagster._utils.schedules import is_valid_cron_schedule
import datetime
f... | null | 134 | 47 | 9 | 1 | 6 | 3 | 1 | 0.42 | 2 | 13 | 6 | 3 | 21 | 0 | 52 | 74 | 625 | 105 | 365 | 185 | 156 | 155 | 146 | 88 | 65 | 3 | 4 | 1 | 59 |
21,219 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/automation_condition.py | dagster._core.definitions.declarative_automation.automation_condition.AutomationResult | from typing import TYPE_CHECKING, Generic, Optional, TypeVar, Union
from dagster._core.definitions.declarative_automation.serialized_objects import AssetSubsetWithMetadata, AutomationConditionCursor, AutomationConditionEvaluation, AutomationConditionNodeCursor, AutomationConditionNodeSnapshot, AutomationConditionSnapsh... | @public
@hidden_param(param='subsets_with_metadata', breaking_version='', emit_runtime_warning=False)
@hidden_param(param='structured_cursor', breaking_version='', emit_runtime_warning=False)
@hidden_param(param='metadata', breaking_version='', emit_runtime_warning=False)
class AutomationResult(Generic[T_EntityKey]):
... | 33 | 4 | 8 | 0 | 7 | 1 | 1 | 0.1 | 1 | 13 | 7 | 0 | 18 | 8 | 18 | 20 | 168 | 24 | 132 | 59 | 90 | 13 | 63 | 38 | 42 | 3 | 1 | 1 | 23 |
21,220 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/automation_condition.py | dagster._core.definitions.declarative_automation.automation_condition.BuiltinAutomationCondition | from typing import TYPE_CHECKING, Generic, Optional, TypeVar, Union
from dagster._record import copy, record
from typing_extensions import Self
from dagster._core.definitions.asset_key import AssetCheckKey, AssetKey, CoercibleToAssetKey, T_EntityKey
from dagster._annotations import beta, hidden_param, only_allow_hidden... | @record
class BuiltinAutomationCondition(AutomationCondition[T_EntityKey]):
'''Base class for AutomationConditions provided by the core dagster framework.'''
def get_label(self) -> Optional[str]:
pass
@public
def with_label(self, label: Optional[str]) -> Self:
'''Returns a copy of this ... | 5 | 2 | 3 | 0 | 2 | 1 | 1 | 0.29 | 1 | 1 | 0 | 4 | 2 | 0 | 2 | 76 | 12 | 3 | 7 | 5 | 3 | 2 | 6 | 4 | 3 | 1 | 5 | 0 | 2 |
21,221 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/automation_condition_evaluator.py | dagster._core.definitions.declarative_automation.automation_condition_evaluator.AutomationConditionEvaluator | from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._core.definitions.asset_daemon_cursor import AssetDaemonCursor
import datetime
from dagster._core.definitions.declarative_automation.automation_condition import AutomationCondition, AutomationResult
from dagst... |
class AutomationConditionEvaluator:
def __init__(self, *, entity_keys: AbstractSet[EntityKey], instance: DagsterInstance, asset_graph: BaseAssetGraph, cursor: AssetDaemonCursor, emit_backfills: bool, default_condition: Optional[AutomationCondition]=None, evaluation_time: Optional[datetime.datetime]=None, logger: ... | 20 | 2 | 14 | 1 | 12 | 1 | 2 | 0.11 | 0 | 13 | 1 | 0 | 12 | 14 | 12 | 12 | 177 | 25 | 137 | 62 | 105 | 15 | 78 | 43 | 64 | 5 | 0 | 3 | 23 |
21,222 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/automation_condition_tester.py | dagster._core.definitions.declarative_automation.automation_condition_tester.EvaluateAutomationConditionsResult | from dagster._core.definitions.partitions.context import PartitionLoadingContext, partition_loading_context
from dagster._core.definitions.asset_daemon_cursor import AssetDaemonCursor
from dagster._core.definitions.asset_key import AssetKey
from typing import AbstractSet, Optional, Union
from functools import cached_pr... |
class EvaluateAutomationConditionsResult:
def __init__(self, cursor: AssetDaemonCursor, results: Iterable[AutomationResult], requested_subsets: Iterable[EntitySubset], partition_loading_context: PartitionLoadingContext):
pass
@cached_property
def _requested_partitions_by_asset_key(self) -> Mapping... | 8 | 3 | 6 | 0 | 5 | 1 | 1 | 0.1 | 0 | 10 | 4 | 0 | 5 | 4 | 5 | 5 | 37 | 4 | 30 | 19 | 17 | 3 | 17 | 12 | 11 | 2 | 0 | 1 | 6 |
21,223 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/automation_context.py | dagster._core.definitions.declarative_automation.automation_context.AutomationContext | import inspect
from dataclasses import dataclass
import dagster._check as check
from dagster._core.definitions.asset_daemon_cursor import AssetDaemonCursor
from collections.abc import Mapping, Sequence
from typing import TYPE_CHECKING, Generic, Optional, TypeVar
from dagster._core.definitions.asset_key import AssetChec... | @dataclass(frozen=True)
class AutomationContext(Generic[T_EntityKey]):
@staticmethod
def create(key: EntityKey, evaluator: 'AutomationConditionEvaluator') -> 'AutomationContext':
pass
def for_child_condition(self, child_condition: AutomationCondition[U_EntityKey], child_indices: Sequence[Optional[... | 43 | 17 | 7 | 0 | 6 | 1 | 2 | 0.16 | 1 | 6 | 1 | 0 | 20 | 0 | 21 | 23 | 206 | 28 | 153 | 51 | 107 | 25 | 67 | 27 | 45 | 4 | 1 | 1 | 38 |
21,224 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/legacy/legacy_context.py | dagster._core.definitions.declarative_automation.legacy.legacy_context.LegacyRuleEvaluationContext | from dagster._core.definitions.events import AssetKey, AssetKeyPartitionKey
from dagster._core.definitions.declarative_automation.legacy.valid_asset_subset import ValidAssetSubset
from dagster._core.definitions.metadata import MetadataValue
import os
from dataclasses import dataclass, replace
import logging
import dags... | @dataclass(frozen=True)
class LegacyRuleEvaluationContext:
'''Context object containing methods and properties used for evaluating the entire state of an
asset's automation rules.
'''
@staticmethod
def create(asset_key: AssetKey, evaluator: 'AutomationConditionEvaluator'):
pass
def for_... | 57 | 15 | 11 | 1 | 9 | 2 | 2 | 0.18 | 0 | 16 | 6 | 0 | 26 | 0 | 27 | 27 | 374 | 46 | 279 | 109 | 192 | 49 | 136 | 61 | 102 | 6 | 0 | 2 | 53 |
21,225 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/legacy/rule_condition.py | dagster._core.definitions.declarative_automation.legacy.rule_condition.RuleCondition | from dagster._record import record
from dagster._utils.security import non_secure_md5_hash_str
from dagster._core.definitions.asset_key import AssetKey
from dagster._core.definitions.declarative_automation.automation_condition import AutomationResult, BuiltinAutomationCondition
from dagster_shared.serdes import whiteli... | @whitelist_for_serdes
@record
class RuleCondition(BuiltinAutomationCondition[AssetKey]):
'''This class represents the condition that a particular AutoMaterializeRule is satisfied.'''
def get_node_unique_id(self, *, parent_unique_id: Optional[str], index: Optional[int]) -> str:
pass
@property
de... | 7 | 1 | 5 | 0 | 4 | 1 | 1 | 0.25 | 1 | 2 | 1 | 0 | 3 | 0 | 3 | 79 | 24 | 4 | 16 | 7 | 11 | 4 | 12 | 6 | 8 | 1 | 6 | 0 | 3 |
21,226 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/legacy/valid_asset_subset.py | dagster._core.definitions.declarative_automation.legacy.valid_asset_subset.ValidAssetSubset | from dagster._core.definitions.partitions.context import partition_loading_context
from dagster._core.asset_graph_view.serializable_entity_subset import EntitySubsetSerializer, SerializableEntitySubset
from dataclasses import replace
import operator
from dagster._core.definitions.partitions.definition import Partitions... | @whitelist_for_serdes(serializer=EntitySubsetSerializer, storage_field_names={'key': 'asset_key'})
class ValidAssetSubset(SerializableEntitySubset[AssetKey]):
'''Legacy construct used for doing operations over EntitySubsets that are known to be valid. This
functionality is subsumed by EntitySubset.
'''
... | 21 | 7 | 9 | 0 | 8 | 1 | 2 | 0.13 | 1 | 6 | 1 | 0 | 8 | 0 | 13 | 23 | 142 | 13 | 114 | 45 | 72 | 15 | 49 | 17 | 35 | 4 | 2 | 2 | 26 |
21,227 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.BackfillInProgressAutomationCondition | from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._record import record
from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.declarative_automation.operands.subset_automation_condition import SubsetAutomationCondition
from dag... | @whitelist_for_serdes
@record
class BackfillInProgressAutomationCondition(SubsetAutomationCondition):
@property
def name(self) -> str:
pass
async def compute_subset(self, context: AutomationContext) -> EntitySubset:
pass | 6 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 3 | 2 | 0 | 2 | 0 | 2 | 81 | 7 | 1 | 6 | 4 | 2 | 0 | 5 | 3 | 2 | 1 | 7 | 0 | 2 |
21,228 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.CheckResultCondition | from dagster._core.definitions.declarative_automation.operands.subset_automation_condition import SubsetAutomationCondition
from dagster._core.definitions.asset_key import AssetCheckKey, AssetKey
from dagster._core.asset_graph_view.entity_subset import EntitySubset
from dagster_shared.serdes import whitelist_for_serdes... | @whitelist_for_serdes
@record
class CheckResultCondition(SubsetAutomationCondition[AssetCheckKey]):
@property
def name(self) -> str:
pass
async def compute_subset(self, context: AutomationContext[AssetCheckKey]) -> EntitySubset[AssetCheckKey]:
pass | 6 | 0 | 9 | 1 | 8 | 0 | 2 | 0 | 1 | 4 | 3 | 0 | 2 | 0 | 2 | 81 | 22 | 3 | 19 | 10 | 10 | 0 | 8 | 5 | 4 | 2 | 7 | 0 | 4 |
21,229 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.CodeVersionChangedCondition | from dagster._core.definitions.declarative_automation.automation_condition import AutomationResult, BuiltinAutomationCondition
from dagster._record import record
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._core.definitions.asset_key import AssetCheckKe... | @whitelist_for_serdes
@record
class CodeVersionChangedCondition(BuiltinAutomationCondition[AssetKey]):
@property
def name(self) -> str:
pass
def evaluate(self, context: AutomationContext) -> AutomationResult[AssetKey]:
pass | 6 | 0 | 6 | 1 | 5 | 0 | 2 | 0 | 1 | 3 | 2 | 0 | 2 | 0 | 2 | 78 | 14 | 2 | 12 | 7 | 8 | 0 | 10 | 6 | 7 | 2 | 6 | 1 | 3 |
21,230 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.CronTickPassedCondition | from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._utils.schedules import reverse_cron_string_iterator
import datetime
from dagster._record import record
from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.asset_graph_view.entity_subset ... | @whitelist_for_serdes
@record
class CronTickPassedCondition(SubsetAutomationCondition):
@property
def name(self) -> str:
pass
def _get_previous_cron_tick(self, effective_dt: datetime.datetime) -> datetime.datetime:
pass
def compute_subset(self, context: AutomationContext) -> EntitySub... | 7 | 0 | 7 | 0 | 6 | 1 | 1 | 0.09 | 1 | 4 | 2 | 0 | 3 | 0 | 3 | 82 | 27 | 3 | 22 | 7 | 17 | 2 | 13 | 6 | 9 | 2 | 7 | 1 | 4 |
21,231 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.DataVersionChangedCondition | from dagster._core.asset_graph_view.entity_subset import EntitySubset
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._record import record
from dagster._core.definitions.declarative_automation.operands.subset_automation_condition import SubsetAutomationCon... | @whitelist_for_serdes
@record
class DataVersionChangedCondition(SubsetAutomationCondition):
@property
def name(self) -> str:
pass
async def compute_subset(self, context: AutomationContext) -> EntitySubset:
pass | 6 | 0 | 5 | 0 | 4 | 1 | 2 | 0.1 | 1 | 3 | 2 | 0 | 2 | 0 | 2 | 81 | 12 | 1 | 10 | 4 | 6 | 1 | 7 | 3 | 4 | 2 | 7 | 1 | 3 |
21,232 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.ExecutionFailedAutomationCondition | from dagster._core.definitions.declarative_automation.operands.subset_automation_condition import SubsetAutomationCondition
from dagster._core.asset_graph_view.entity_subset import EntitySubset
from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.declarative_automation.automation_contex... | @whitelist_for_serdes(storage_name='FailedAutomationCondition')
@record
class ExecutionFailedAutomationCondition(SubsetAutomationCondition):
@property
def name(self) -> str:
pass
async def compute_subset(self, context: AutomationContext) -> EntitySubset:
pass | 6 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 3 | 2 | 0 | 2 | 0 | 2 | 81 | 7 | 1 | 6 | 4 | 2 | 0 | 5 | 3 | 2 | 1 | 7 | 0 | 2 |
21,233 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.InLatestTimeWindowCondition | from typing import Optional
from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.asset_graph_view.entity_subset import EntitySubset
from dagster_shared.serdes.utils import SerializableTimeDelta
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from da... | @whitelist_for_serdes
@record
class InLatestTimeWindowCondition(SubsetAutomationCondition):
@staticmethod
def from_lookback_delta(lookback_delta: Optional[datetime.timedelta]) -> 'InLatestTimeWindowCondition':
pass
@property
def lookback_timedelta(self) -> Optional[datetime.timedelta]:
... | 12 | 0 | 6 | 0 | 6 | 0 | 2 | 0 | 1 | 5 | 3 | 0 | 4 | 0 | 5 | 84 | 40 | 5 | 35 | 14 | 23 | 0 | 15 | 8 | 9 | 2 | 7 | 1 | 9 |
21,234 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.InitialEvaluationCondition | from dagster._core.definitions.declarative_automation.automation_condition import AutomationResult, BuiltinAutomationCondition
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.partition... | @record
@whitelist_for_serdes
class InitialEvaluationCondition(BuiltinAutomationCondition):
'''Condition to determine if this is the initial evaluation of a given AutomationCondition with a particular PartitionsDefinition.'''
@property
def name(self) -> str:
pass
def _is_initial_evaluation(self... | 7 | 1 | 5 | 0 | 5 | 0 | 2 | 0.09 | 1 | 3 | 2 | 0 | 2 | 0 | 2 | 78 | 14 | 2 | 11 | 6 | 7 | 1 | 9 | 5 | 6 | 2 | 6 | 1 | 3 |
21,235 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.MissingAutomationCondition | from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.asset_graph_view.entity_subset import EntitySubset
from dagster._core.definitions.declarative_automation.operands.subset_automation_condition import SubsetAutomationCondition
from dagster._record import record
from dagster._core.definitions.decla... | @whitelist_for_serdes
@record
class MissingAutomationCondition(SubsetAutomationCondition):
@property
def name(self) -> str:
pass
async def compute_subset(self, context: AutomationContext) -> EntitySubset:
pass | 6 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 3 | 2 | 0 | 2 | 0 | 2 | 81 | 9 | 1 | 8 | 4 | 4 | 0 | 5 | 3 | 2 | 1 | 7 | 0 | 2 |
21,236 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.NewlyRequestedCondition | from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.declarative_automation.operands.subset_automation_condition import SubsetAutomationCondition
from dagster._record import record
from dagster._core.asset_graph_view.entity_subset import EntitySubset
from dagster._core.definitions.decla... | @whitelist_for_serdes
@record
class NewlyRequestedCondition(SubsetAutomationCondition):
@property
def name(self) -> str:
pass
def compute_subset(self, context: AutomationContext) -> EntitySubset:
pass | 6 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 3 | 2 | 0 | 2 | 0 | 2 | 81 | 7 | 1 | 6 | 4 | 2 | 0 | 5 | 3 | 2 | 1 | 7 | 0 | 2 |
21,237 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.NewlyUpdatedCondition | from dagster._core.definitions.declarative_automation.operands.subset_automation_condition import SubsetAutomationCondition
from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._record import record
from dag... | @whitelist_for_serdes
@record
class NewlyUpdatedCondition(SubsetAutomationCondition):
@property
def name(self) -> str:
pass
async def compute_subset(self, context: AutomationContext) -> EntitySubset:
pass | 6 | 0 | 5 | 0 | 4 | 1 | 2 | 0.1 | 1 | 3 | 2 | 0 | 2 | 0 | 2 | 81 | 12 | 1 | 10 | 4 | 6 | 1 | 7 | 3 | 4 | 2 | 7 | 1 | 3 |
21,238 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.RunInProgressAutomationCondition | from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._core.definitions.declarative_automation.operands.subset_automation_condition import SubsetAutomationCondition
from dagster._record import record
from dagster_shared.serdes import whitelist_for_serdes
from dag... | @whitelist_for_serdes(storage_name='InProgressAutomationCondition')
@record
class RunInProgressAutomationCondition(SubsetAutomationCondition):
@property
def name(self) -> str:
pass
async def compute_subset(self, context: AutomationContext) -> EntitySubset:
pass | 6 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 3 | 2 | 0 | 2 | 0 | 2 | 81 | 7 | 1 | 6 | 4 | 2 | 0 | 5 | 3 | 2 | 1 | 7 | 0 | 2 |
21,239 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/operands.py | dagster._core.definitions.declarative_automation.operands.operands.WillBeRequestedCondition | from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._core.asset_graph_view.entity_subset import EntitySubset
from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.asset_key import AssetCheckKey, AssetKey
from dagster._core.defini... | @whitelist_for_serdes
@record
class WillBeRequestedCondition(SubsetAutomationCondition):
@property
def description(self) -> str:
pass
@property
def name(self) -> str:
pass
def _executable_with_root_context_key(self, context: AutomationContext) -> bool:
pass
def compute... | 9 | 0 | 5 | 0 | 5 | 0 | 1 | 0.05 | 1 | 4 | 2 | 0 | 4 | 0 | 4 | 83 | 26 | 4 | 21 | 10 | 13 | 1 | 14 | 8 | 8 | 2 | 7 | 1 | 5 |
21,240 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operands/subset_automation_condition.py | dagster._core.definitions.declarative_automation.operands.subset_automation_condition.SubsetAutomationCondition | import inspect
from dagster._core.definitions.declarative_automation.automation_condition import AutomationResult, BuiltinAutomationCondition
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._core.asset_graph_view.entity_subset import EntitySubset
from dagst... | @record
class SubsetAutomationCondition(BuiltinAutomationCondition[T_EntityKey]):
'''Base class for simple conditions which compute a simple subset of the asset graph.'''
@property
def requires_cursor(self) -> bool:
pass
@abstractmethod
def compute_subset(self, context: AutomationContext[T_E... | 7 | 1 | 6 | 0 | 5 | 0 | 2 | 0.11 | 1 | 4 | 3 | 12 | 3 | 0 | 3 | 79 | 24 | 4 | 18 | 11 | 9 | 2 | 11 | 5 | 7 | 3 | 6 | 1 | 5 |
21,241 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/any_downstream_conditions_operator.py | dagster._core.definitions.declarative_automation.operators.any_downstream_conditions_operator.AnyDownstreamConditionsCondition | from typing import AbstractSet
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._core.definitions.declarative_automation.automation_condition import AutomationCondition, AutomationResult, BuiltinAutomationCondition
from dagster_shared.serdes import whitelist... | @whitelist_for_serdes
@record
class AnyDownstreamConditionsCondition(BuiltinAutomationCondition[AssetKey]):
@property
def description(self) -> str:
pass
@property
def name(self) -> str:
pass
@property
def requires_cursor(self) -> bool:
pass
def _get_ignored_conditio... | 12 | 1 | 9 | 1 | 8 | 1 | 2 | 0.06 | 1 | 7 | 2 | 0 | 6 | 0 | 6 | 6 | 61 | 8 | 50 | 21 | 36 | 3 | 27 | 14 | 20 | 3 | 1 | 2 | 9 |
21,242 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/any_downstream_conditions_operator.py | dagster._core.definitions.declarative_automation.operators.any_downstream_conditions_operator.DownstreamConditionWrapperCondition | from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from collections.abc import Mapping, Sequence
from dagster._record import record
from dagster._core.definitions.declarative_automation.automation_condition import AutomationCondition, AutomationResult, BuiltinAutomationCon... | @record
class DownstreamConditionWrapperCondition(BuiltinAutomationCondition[AssetKey]):
'''Wrapper object which evaluates a condition against a dependency and returns a subset
representing the subset of downstream asset which has at least one parent which evaluated to
True.
'''
@property
def na... | 9 | 1 | 4 | 0 | 4 | 0 | 1 | 0.19 | 1 | 4 | 1 | 0 | 4 | 0 | 4 | 4 | 31 | 6 | 21 | 9 | 13 | 4 | 12 | 6 | 7 | 1 | 1 | 0 | 4 |
21,243 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/boolean_operators.py | dagster._core.definitions.declarative_automation.operators.boolean_operators.AndAutomationCondition | from dagster._core.definitions.declarative_automation.automation_condition import AutomationCondition, AutomationResult, BuiltinAutomationCondition, T_AutomationCondition
from dagster._record import copy, record
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagst... | @whitelist_for_serdes(storage_name='AndAssetCondition')
@record
class AndAutomationCondition(BuiltinAutomationCondition[T_EntityKey]):
'''This class represents the condition that all of its children evaluate to true.'''
@property
def description(self) -> str:
pass
@property
def name(self) ->... | 21 | 5 | 9 | 1 | 6 | 2 | 2 | 0.29 | 1 | 7 | 2 | 0 | 9 | 0 | 9 | 9 | 102 | 18 | 65 | 28 | 42 | 19 | 34 | 17 | 22 | 2 | 1 | 1 | 14 |
21,244 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/boolean_operators.py | dagster._core.definitions.declarative_automation.operators.boolean_operators.NotAutomationCondition | from dagster_shared.serdes import whitelist_for_serdes
from dagster._annotations import public
from dagster._core.definitions.declarative_automation.automation_condition import AutomationCondition, AutomationResult, BuiltinAutomationCondition, T_AutomationCondition
from typing_extensions import Self
from dagster._core.... | @whitelist_for_serdes(storage_name='NotAssetCondition')
@record
class NotAutomationCondition(BuiltinAutomationCondition[T_EntityKey]):
'''This class represents the condition that none of its children evaluate to true.'''
@property
def description(self) -> str:
pass
@property
def name(self) -... | 18 | 4 | 9 | 1 | 6 | 2 | 1 | 0.38 | 1 | 4 | 2 | 0 | 7 | 0 | 7 | 7 | 83 | 17 | 48 | 22 | 28 | 18 | 22 | 12 | 12 | 2 | 1 | 0 | 10 |
21,245 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/boolean_operators.py | dagster._core.definitions.declarative_automation.operators.boolean_operators.OrAutomationCondition | from dagster._core.definitions.declarative_automation.serialized_objects import OperatorType
from dagster._record import copy, record
from dagster._core.definitions.asset_key import T_EntityKey
import asyncio
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster.... | @whitelist_for_serdes(storage_name='OrAssetCondition')
@record
class OrAutomationCondition(BuiltinAutomationCondition[T_EntityKey]):
'''This class represents the condition that any of its children evaluate to true.'''
@property
def description(self) -> str:
pass
@property
def name(self) -> s... | 20 | 4 | 10 | 1 | 6 | 2 | 2 | 0.31 | 1 | 6 | 2 | 0 | 8 | 0 | 8 | 8 | 97 | 20 | 59 | 26 | 37 | 18 | 27 | 15 | 16 | 2 | 1 | 1 | 12 |
21,246 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/check_operators.py | dagster._core.definitions.declarative_automation.operators.check_operators.AllChecksCondition | from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.asset_key import AssetCheckKey, AssetKey
from dagster._core.definitions.declarative_automation.operators.dep_operators import EntityMatchesCondition
from dagster._core.definitions.declarative_automation.automation_condition import Aut... | @whitelist_for_serdes
@record
class AllChecksCondition(ChecksAutomationCondition):
@property
def base_name(self) -> str:
pass
@property
def operator_type(self) -> OperatorType:
pass
async def evaluate(self, context: AutomationContext[AssetKey]) -> AutomationResult[AssetKey]:
... | 8 | 0 | 9 | 1 | 8 | 0 | 2 | 0 | 1 | 4 | 2 | 0 | 2 | 1 | 2 | 6 | 21 | 3 | 18 | 9 | 14 | 0 | 11 | 7 | 8 | 2 | 2 | 1 | 3 |
21,247 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/check_operators.py | dagster._core.definitions.declarative_automation.operators.check_operators.AnyChecksCondition | from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from dagster._core.definitions.declarative_automation.serialized_objects import OperatorType
from dagster._core.definitions.declarative_automation.automation_condition import AutomationCondition, AutomationResult, BuiltinA... | @whitelist_for_serdes
@record
class AnyChecksCondition(ChecksAutomationCondition):
@property
def base_name(self) -> str:
pass
@property
def operator_type(self) -> OperatorType:
pass
async def evaluate(self, context: AutomationContext[AssetKey]) -> AutomationResult[AssetKey]:
... | 8 | 0 | 11 | 2 | 10 | 0 | 2 | 0 | 1 | 4 | 2 | 0 | 2 | 1 | 2 | 6 | 25 | 4 | 21 | 9 | 17 | 0 | 11 | 7 | 8 | 2 | 2 | 1 | 3 |
21,248 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/check_operators.py | dagster._core.definitions.declarative_automation.operators.check_operators.ChecksAutomationCondition | from dagster._core.definitions.assets.graph.base_asset_graph import BaseAssetGraph, BaseAssetNode
from dagster._utils.security import non_secure_md5_hash_str
from dagster._core.definitions.declarative_automation.automation_condition import AutomationCondition, AutomationResult, BuiltinAutomationCondition
from dagster._... | @record
class ChecksAutomationCondition(BuiltinAutomationCondition[AssetKey]):
@property
@abstractmethod
def base_name(self) -> str:
pass
@property
def name(self) -> str:
pass
@property
def requires_cursor(self) -> bool:
pass
def get_node_unique_id(self, *, pare... | 14 | 3 | 4 | 0 | 4 | 0 | 2 | 0 | 1 | 2 | 0 | 2 | 4 | 0 | 4 | 4 | 28 | 5 | 23 | 13 | 13 | 0 | 17 | 8 | 12 | 2 | 1 | 1 | 6 |
21,249 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/dep_operators.py | dagster._core.definitions.declarative_automation.operators.dep_operators.AllDepsCondition | from dagster._core.definitions.declarative_automation.automation_condition import AutomationCondition, AutomationResult, BuiltinAutomationCondition, T_AutomationCondition
from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.declarative_automation.serialized_objects import OperatorType
f... | @whitelist_for_serdes
class AllDepsCondition(DepsAutomationCondition[T_EntityKey]):
@property
def base_name(self) -> str:
pass
@property
def operator_type(self) -> OperatorType:
pass
async def evaluate(self, context: AutomationContext[T_EntityKey]) -> AutomationResult[T_EntityKey]:... | 7 | 0 | 9 | 1 | 8 | 0 | 2 | 0 | 1 | 4 | 2 | 0 | 2 | 1 | 2 | 9 | 21 | 3 | 18 | 11 | 12 | 0 | 11 | 7 | 8 | 2 | 2 | 1 | 3 |
21,250 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/dep_operators.py | dagster._core.definitions.declarative_automation.operators.dep_operators.AnyDepsCondition | from dagster._core.definitions.declarative_automation.automation_condition import AutomationCondition, AutomationResult, BuiltinAutomationCondition, T_AutomationCondition
from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.asset_key import AssetKey, T_EntityKey
from dagster._core.defin... | @whitelist_for_serdes
class AnyDepsCondition(DepsAutomationCondition[T_EntityKey]):
@property
def base_name(self) -> str:
pass
@property
def operator_type(self) -> OperatorType:
pass
async def evaluate(self, context: AutomationContext[T_EntityKey]) -> AutomationResult[T_EntityKey]:... | 7 | 0 | 10 | 1 | 9 | 0 | 2 | 0 | 1 | 4 | 2 | 0 | 2 | 1 | 2 | 9 | 22 | 3 | 19 | 11 | 13 | 0 | 12 | 7 | 9 | 2 | 2 | 1 | 3 |
21,251 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/dep_operators.py | dagster._core.definitions.declarative_automation.operators.dep_operators.DepsAutomationCondition | from dagster._core.definitions.assets.graph.base_asset_graph import BaseAssetGraph, BaseAssetNode
from collections.abc import Sequence
from typing import TYPE_CHECKING, AbstractSet, Any, Generic, Optional, Union
from dagster._record import copy, record
from dagster._core.definitions.asset_key import AssetKey, T_EntityK... | @record
class DepsAutomationCondition(BuiltinAutomationCondition[T_EntityKey]):
@property
@abstractmethod
def base_name(self) -> str:
pass
@property
def name(self) -> str:
pass
@property
def children(self) -> Sequence[AutomationCondition]:
pass
@property
def ... | 20 | 4 | 9 | 1 | 6 | 2 | 2 | 0.25 | 1 | 3 | 1 | 2 | 7 | 0 | 7 | 7 | 82 | 13 | 55 | 27 | 35 | 14 | 37 | 17 | 27 | 4 | 1 | 1 | 15 |
21,252 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/dep_operators.py | dagster._core.definitions.declarative_automation.operators.dep_operators.EntityMatchesCondition | from dagster._core.asset_graph_view.asset_graph_view import U_EntityKey
from typing import TYPE_CHECKING, AbstractSet, Any, Generic, Optional, Union
from collections.abc import Sequence
from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.asset_key import AssetKey, T_EntityKey
from typi... | @whitelist_for_serdes
@record
class EntityMatchesCondition(BuiltinAutomationCondition[T_EntityKey], Generic[T_EntityKey, U_EntityKey]):
@property
def name(self) -> str:
pass
@property
def children(self) -> Sequence[AutomationCondition]:
pass
async def evaluate(self, context: Automa... | 10 | 1 | 15 | 2 | 10 | 3 | 2 | 0.24 | 2 | 2 | 1 | 0 | 3 | 0 | 3 | 5 | 55 | 8 | 38 | 17 | 26 | 9 | 16 | 9 | 12 | 2 | 1 | 1 | 5 |
21,253 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/newly_true_operator.py | dagster._core.definitions.declarative_automation.operators.newly_true_operator.NewlyTrueCondition | from dagster._core.asset_graph_view.serializable_entity_subset import SerializableEntitySubset
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
from collections.abc import Sequence
from dagster._record import record
from dagster_shared.serdes import whitelist_for_serdes
... | @whitelist_for_serdes
@record
class NewlyTrueCondition(BuiltinAutomationCondition[T_EntityKey]):
@property
def name(self) -> str:
pass
@property
def children(self) -> Sequence[AutomationCondition[T_EntityKey]]:
pass
def _get_previous_child_true_subset(self, context: AutomationConte... | 9 | 1 | 9 | 1 | 7 | 2 | 1 | 0.2 | 1 | 4 | 2 | 0 | 4 | 0 | 4 | 4 | 42 | 6 | 30 | 12 | 21 | 6 | 15 | 8 | 10 | 2 | 1 | 1 | 5 |
21,254 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/operators/since_operator.py | dagster._core.definitions.declarative_automation.operators.since_operator.SinceCondition | from dagster._annotations import public
from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.declarative_automation.automation_context import AutomationContext
import dagster._check as check
from typing import TYPE_CHECKING, Optional, Union
from dagster._core.definitions.asset_key impor... | @whitelist_for_serdes
@record
class SinceCondition(BuiltinAutomationCondition[T_EntityKey]):
@property
def name(self) -> str:
pass
@property
def children(self) -> Sequence[AutomationCondition[T_EntityKey]]:
pass
async def evaluate(self, context: AutomationContext[T_EntityKey]) -> A... | 13 | 3 | 11 | 1 | 8 | 2 | 1 | 0.17 | 1 | 3 | 1 | 0 | 3 | 0 | 3 | 3 | 41 | 7 | 29 | 11 | 21 | 5 | 14 | 7 | 10 | 1 | 1 | 0 | 3 |
21,255 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/serialized_objects.py | dagster._core.definitions.declarative_automation.serialized_objects.AssetSubsetWithMetadata | from dagster._core.definitions.metadata import MetadataMapping, MetadataValue
from typing import TYPE_CHECKING, AbstractSet, Generic, Literal, NamedTuple, Optional, TypeVar, Union
from dagster._core.asset_graph_view.serializable_entity_subset import SerializableEntitySubset
from dagster_shared.serdes import whitelist_f... | @whitelist_for_serdes
class AssetSubsetWithMetadata(NamedTuple):
'''An asset subset with metadata that corresponds to it.'''
@property
def frozen_metadata(self) -> frozenset[tuple[str, MetadataValue]]:
pass | 4 | 1 | 2 | 0 | 2 | 0 | 1 | 0.17 | 1 | 3 | 0 | 0 | 1 | 0 | 1 | 1 | 9 | 2 | 6 | 3 | 3 | 1 | 5 | 2 | 3 | 1 | 1 | 0 | 1 |
21,256 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/serialized_objects.py | dagster._core.definitions.declarative_automation.serialized_objects.AutomationConditionCursor | from dagster._core.asset_graph_view.serializable_entity_subset import SerializableEntitySubset
from collections.abc import Iterator, Mapping, Sequence
from dagster._core.asset_graph_view.asset_graph_view import TemporalContext
from dagster._core.definitions.asset_key import T_EntityKey
from dataclasses import dataclass... | @whitelist_for_serdes
@dataclass
class AutomationConditionCursor(Generic[T_EntityKey]):
'''Incremental state calculated during the evaluation of a AutomationCondition. This may be used
on the subsequent evaluation to make the computation more efficient.
Args:
previous_requested_subset: The subset th... | 13 | 2 | 13 | 1 | 12 | 0 | 2 | 0.21 | 1 | 4 | 2 | 0 | 2 | 0 | 4 | 6 | 81 | 11 | 58 | 21 | 41 | 12 | 24 | 11 | 17 | 3 | 1 | 1 | 9 |
21,257 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/serialized_objects.py | dagster._core.definitions.declarative_automation.serialized_objects.AutomationConditionEvaluation | from dagster_shared.serdes import whitelist_for_serdes
from collections.abc import Iterator, Mapping, Sequence
from dagster._core.definitions.asset_key import T_EntityKey
from dagster._core.asset_graph_view.serializable_entity_subset import SerializableEntitySubset
from typing import TYPE_CHECKING, AbstractSet, Generic... | @whitelist_for_serdes(storage_name='AssetConditionEvaluation')
@dataclass
class AutomationConditionEvaluation(Generic[T_EntityKey]):
'''Serializable representation of the results of evaluating a node in the evaluation tree.'''
@property
def key(self) -> T_EntityKey:
pass
def for_child(self, chi... | 8 | 3 | 5 | 0 | 3 | 1 | 2 | 0.21 | 1 | 4 | 1 | 0 | 4 | 0 | 4 | 6 | 37 | 8 | 24 | 8 | 18 | 5 | 21 | 7 | 16 | 3 | 1 | 2 | 7 |
21,258 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/serialized_objects.py | dagster._core.definitions.declarative_automation.serialized_objects.AutomationConditionEvaluationState | from dagster_shared.serdes import whitelist_for_serdes
from dagster._core.definitions.events import AssetKey
from typing import TYPE_CHECKING, AbstractSet, Generic, Literal, NamedTuple, Optional, TypeVar, Union
from dataclasses import dataclass
from collections.abc import Iterator, Mapping, Sequence
from dagster._core.... | @whitelist_for_serdes(storage_name='AssetConditionEvaluationState')
@dataclass(frozen=True)
class AutomationConditionEvaluationState:
'''DEPRECATED: exists only for backcompat purposes.'''
@property
def asset_key(self) -> AssetKey:
pass
@property
def true_subset(self) -> SerializableEntitySu... | 7 | 1 | 2 | 0 | 2 | 0 | 1 | 0.09 | 0 | 1 | 1 | 0 | 2 | 0 | 2 | 2 | 16 | 4 | 11 | 5 | 6 | 1 | 9 | 3 | 6 | 1 | 0 | 0 | 2 |
21,259 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/serialized_objects.py | dagster._core.definitions.declarative_automation.serialized_objects.AutomationConditionEvaluationWithRunIds | from dataclasses import dataclass
from dagster_shared.serdes import whitelist_for_serdes
from typing import TYPE_CHECKING, AbstractSet, Generic, Literal, NamedTuple, Optional, TypeVar, Union
from dagster._core.definitions.asset_key import T_EntityKey
@whitelist_for_serdes(storage_name='AssetConditionEvaluationWithRunI... | @whitelist_for_serdes(storage_name='AssetConditionEvaluationWithRunIds')
@dataclass
class AutomationConditionEvaluationWithRunIds(Generic[T_EntityKey]):
'''A union of an AutomatConditionEvaluation and the set of run IDs that have been launched in
response to it.
'''
@property
def key(self) -> T_Enti... | 7 | 1 | 2 | 0 | 2 | 0 | 1 | 0.33 | 1 | 1 | 0 | 0 | 2 | 0 | 2 | 4 | 15 | 3 | 9 | 5 | 4 | 3 | 7 | 3 | 4 | 1 | 1 | 0 | 2 |
21,260 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/serialized_objects.py | dagster._core.definitions.declarative_automation.serialized_objects.AutomationConditionNodeCursor | from typing import TYPE_CHECKING, AbstractSet, Generic, Literal, NamedTuple, Optional, TypeVar, Union
from collections.abc import Iterator, Mapping, Sequence
from dataclasses import dataclass
from dagster._core.definitions.metadata import MetadataMapping, MetadataValue
from dagster._core.definitions.asset_key import T_... | @whitelist_for_serdes
@dataclass
class AutomationConditionNodeCursor(Generic[T_EntityKey]):
def get_structured_cursor(self, as_type: type[T_StructuredCursor]) -> Optional[T_StructuredCursor]:
'''Returns the extra_state value if it is of the expected type. Otherwise, returns None.'''
pass | 4 | 1 | 7 | 0 | 6 | 1 | 2 | 0.08 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 3 | 15 | 1 | 13 | 4 | 9 | 1 | 9 | 2 | 7 | 2 | 1 | 1 | 2 |
21,261 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/serialized_objects.py | dagster._core.definitions.declarative_automation.serialized_objects.AutomationConditionNodeSnapshot | from typing import TYPE_CHECKING, AbstractSet, Generic, Literal, NamedTuple, Optional, TypeVar, Union
from dagster_shared.serdes import whitelist_for_serdes
@whitelist_for_serdes(storage_name='AssetConditionSnapshot')
class AutomationConditionNodeSnapshot(NamedTuple):
"""A serializable snapshot of a node in the Au... | @whitelist_for_serdes(storage_name='AssetConditionSnapshot')
class AutomationConditionNodeSnapshot(NamedTuple):
'''A serializable snapshot of a node in the AutomationCondition tree.'''
pass | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0.17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 | 1 | 6 | 3 | 5 | 1 | 6 | 3 | 5 | 0 | 1 | 0 | 0 |
21,262 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/serialized_objects.py | dagster._core.definitions.declarative_automation.serialized_objects.AutomationConditionSnapshot | from collections.abc import Iterator, Mapping, Sequence
from dagster_shared.serdes import whitelist_for_serdes
from typing import TYPE_CHECKING, AbstractSet, Generic, Literal, NamedTuple, Optional, TypeVar, Union
@whitelist_for_serdes
class AutomationConditionSnapshot(NamedTuple):
"""A serializable snapshot of an ... | @whitelist_for_serdes
class AutomationConditionSnapshot(NamedTuple):
'''A serializable snapshot of an entire AutomationCondition tree.'''
pass | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0.33 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 1 | 3 | 1 | 2 | 1 | 3 | 1 | 2 | 0 | 1 | 0 | 0 |
21,263 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/declarative_automation/serialized_objects.py | dagster._core.definitions.declarative_automation.serialized_objects.HistoricalAllPartitionsSubsetSentinel | from dagster._record import record
from dagster_shared.serdes import whitelist_for_serdes
@whitelist_for_serdes
@record(checked=False)
class HistoricalAllPartitionsSubsetSentinel:
"""Serializable indicator that this value was an AllPartitionsSubset at serialization time, but
the partitions may have changed sin... | @whitelist_for_serdes
@record(checked=False)
class HistoricalAllPartitionsSubsetSentinel:
'''Serializable indicator that this value was an AllPartitionsSubset at serialization time, but
the partitions may have changed since that time.
'''
pass | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 1 | 1 | 0 | 3 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
21,264 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/asset_decorator.py | dagster._core.definitions.decorators.asset_decorator.AssetDecoratorArgs | from dagster._core.types.dagster_type import DagsterType
from dagster._core.definitions.asset_checks.asset_check_spec import AssetCheckSpec
from dagster._core.definitions.events import AssetKey, CoercibleToAssetKey, CoercibleToAssetKeyPrefix
from collections.abc import Iterable, Mapping, Sequence
from typing import Abs... |
class AssetDecoratorArgs(NamedTuple):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 28 | 0 | 28 | 1 | 27 | 0 | 28 | 1 | 27 | 0 | 1 | 0 | 0 |
21,265 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/asset_decorator.py | dagster._core.definitions.decorators.asset_decorator.ResourceRelatedState | from typing import AbstractSet, Any, Callable, NamedTuple, Optional, Union, overload
from dagster._core.definitions.utils import DEFAULT_IO_MANAGER_KEY, DEFAULT_OUTPUT, NoValueSentinel, resolve_automation_condition
from collections.abc import Iterable, Mapping, Sequence
from dagster._core.errors import DagsterInvalidDe... |
class ResourceRelatedState(NamedTuple):
@property
def op_resource_defs(self) -> Mapping[str, ResourceDefinition]:
pass
@property
def resolved_io_manager_key(self) -> str:
pass
@property
def asset_resource_defs(self) -> Mapping[str, ResourceDefinition]:
pass | 7 | 0 | 10 | 1 | 8 | 1 | 3 | 0.06 | 1 | 2 | 0 | 0 | 3 | 0 | 3 | 3 | 41 | 7 | 32 | 11 | 23 | 2 | 21 | 8 | 15 | 4 | 1 | 1 | 8 |
21,266 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/config_mapping_decorator.py | dagster._core.definitions.decorators.config_mapping_decorator._ConfigMapping | from dagster._core.decorator_utils import get_function_params
from dagster._config import UserConfigSchema
import dagster._check as check
from dagster._core.definitions.config import ConfigMapping, ConfigMappingFn
from typing import Any, Callable, Optional, Union, cast, overload
class _ConfigMapping:
def __init__... |
class _ConfigMapping:
def __init__(self, config_schema: Optional[UserConfigSchema]=None, receive_processed_config_values: Optional[bool]=None):
pass
def __call__(self, fn: Callable[..., Any]) -> ConfigMapping:
pass
def wrapped_fn(config_as_dict) -> Any:
pa... | 4 | 0 | 23 | 4 | 18 | 1 | 2 | 0.06 | 0 | 5 | 2 | 0 | 2 | 2 | 2 | 2 | 62 | 11 | 48 | 23 | 34 | 3 | 24 | 15 | 18 | 2 | 0 | 1 | 5 |
21,267 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/decorator_assets_definition_builder.py | dagster._core.definitions.decorators.decorator_assets_definition_builder.DecoratorAssetsDefinitionBuilder | from dagster._core.storage.tags import COMPUTE_KIND_TAG
from dagster._core.definitions.assets.definition.asset_spec import SYSTEM_METADATA_KEY_DAGSTER_TYPE, SYSTEM_METADATA_KEY_IO_MANAGER_KEY, AssetExecutionType, AssetSpec
from dagster._core.definitions.assets.job.asset_out import AssetOut
from functools import cached_... | null | 40 | 0 | 17 | 1 | 16 | 0 | 2 | 0.02 | 0 | 18 | 8 | 0 | 19 | 6 | 22 | 22 | 421 | 46 | 368 | 107 | 298 | 9 | 128 | 60 | 105 | 8 | 0 | 3 | 48 |
21,268 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/decorator_assets_definition_builder.py | dagster._core.definitions.decorators.decorator_assets_definition_builder.DecoratorAssetsDefinitionBuilderArgs | from dagster._core.definitions.assets.definition.asset_dep import AssetDep
from dagster._core.definitions.asset_checks.asset_check_spec import AssetCheckSpec
from dagster._core.definitions.assets.job.asset_in import AssetIn
from dagster._core.definitions.partitions.definition import PartitionsDefinition
from collection... |
class DecoratorAssetsDefinitionBuilderArgs(NamedTuple):
@property
def check_specs(self) -> Sequence[AssetCheckSpec]:
pass | 3 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 2 | 0 | 0 | 1 | 0 | 1 | 1 | 29 | 1 | 28 | 3 | 25 | 0 | 27 | 2 | 25 | 1 | 1 | 0 | 1 |
21,269 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/decorator_assets_definition_builder.py | dagster._core.definitions.decorators.decorator_assets_definition_builder.NamedIn | from typing import AbstractSet, Any, Callable, NamedTuple, Optional
from dagster._core.definitions.input import In
class NamedIn(NamedTuple):
input_name: str
input: In |
class NamedIn(NamedTuple):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 1 | 0 | 0 |
21,270 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/decorator_assets_definition_builder.py | dagster._core.definitions.decorators.decorator_assets_definition_builder.NamedOut | from dagster._core.definitions.output import Out
from typing import AbstractSet, Any, Callable, NamedTuple, Optional
class NamedOut(NamedTuple):
output_name: str
output: Out |
class NamedOut(NamedTuple):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 1 | 0 | 0 |
21,271 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/graph_decorator.py | dagster._core.definitions.decorators.graph_decorator._Graph | from collections.abc import Mapping, Sequence
from dagster._core.definitions.config import ConfigMapping
import dagster._check as check
from dagster._core.definitions.input import GraphIn, InputDefinition
from dagster._core.definitions.output import GraphOut, OutputDefinition
from typing import Any, Callable, Optional,... |
class _Graph:
def __init__(self, name: Optional[str]=None, description: Optional[str]=None, input_defs: Optional[Sequence[InputDefinition]]=None, output_defs: Optional[Sequence[OutputDefinition]]=None, ins: Optional[Mapping[str, GraphIn]]=None, out: Optional[Union[GraphOut, Mapping[str, GraphOut]]]=None, tags: Op... | 3 | 0 | 40 | 3 | 37 | 0 | 3 | 0 | 0 | 7 | 3 | 0 | 2 | 1 | 2 | 2 | 91 | 8 | 83 | 25 | 69 | 0 | 36 | 9 | 32 | 5 | 0 | 1 | 6 |
21,272 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/hook_decorator.py | dagster._core.definitions.decorators.hook_decorator._Hook | from functools import update_wrapper
import dagster._check as check
from dagster._core.definitions.hook_definition import HookDefinition
from typing import TYPE_CHECKING, AbstractSet, Any, Callable, Optional, Union, cast, overload
class _Hook:
def __init__(self, name: Optional[str]=None, required_resource_keys: O... |
class _Hook:
def __init__(self, name: Optional[str]=None, required_resource_keys: Optional[AbstractSet[str]]=None, decorated_fn: Optional[Callable[..., Any]]=None):
pass
def __call__(self, fn) -> HookDefinition:
pass | 3 | 0 | 15 | 2 | 13 | 0 | 2 | 0 | 0 | 2 | 0 | 0 | 2 | 3 | 2 | 2 | 31 | 5 | 26 | 13 | 18 | 0 | 14 | 8 | 11 | 2 | 0 | 1 | 3 |
21,273 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/job_decorator.py | dagster._core.definitions.decorators.job_decorator._Job | from functools import update_wrapper
from dagster._core.definitions.hook_definition import HookDefinition
from dagster._core.definitions.graph_definition import GraphDefinition
from dagster._core.definitions.policy import RetryPolicy
from dagster._core.definitions.config import ConfigMapping
from collections.abc import... |
class _Job:
def __init__(self, name: Optional[str]=None, description: Optional[str]=None, tags: Optional[Mapping[str, Any]]=None, run_tags: Optional[Mapping[str, Any]]=None, metadata: Optional[Mapping[str, RawMetadataValue]]=None, resource_defs: Optional[Mapping[str, ResourceDefinition]]=None, config: Optional[Un... | 3 | 0 | 44 | 3 | 41 | 0 | 2 | 0 | 0 | 6 | 2 | 0 | 2 | 13 | 2 | 2 | 90 | 7 | 83 | 44 | 61 | 0 | 26 | 21 | 21 | 2 | 0 | 1 | 3 |
21,274 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/op_decorator.py | dagster._core.definitions.decorators.op_decorator.DecoratedOpFunction | from typing import TYPE_CHECKING, AbstractSet, Any, Callable, NamedTuple, Optional, Union, cast, overload
from collections.abc import Mapping, Sequence
from inspect import Parameter
from dagster._core.definitions.resource_annotation import get_resource_args
from dagster._utils.warnings import config_argument_warning, n... |
class DecoratedOpFunction(NamedTuple):
'''Wrapper around the decorated op function to provide commonly used util methods.'''
@property
def name(self):
pass
@lru_cache(maxsize=1)
def has_context_arg(self) -> bool:
pass
def get_context_arg(self) -> Parameter:
pass
@lr... | 15 | 1 | 5 | 0 | 4 | 0 | 2 | 0.04 | 1 | 6 | 1 | 1 | 11 | 0 | 11 | 11 | 68 | 16 | 50 | 27 | 32 | 2 | 43 | 24 | 28 | 3 | 1 | 2 | 19 |
21,275 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/op_decorator.py | dagster._core.definitions.decorators.op_decorator.NoContextDecoratedOpFunction | from functools import lru_cache, update_wrapper
class NoContextDecoratedOpFunction(DecoratedOpFunction):
"""Wrapper around a decorated op function, when the decorator does not permit a context
parameter.
"""
@lru_cache(maxsize=1)
def has_context_arg(self) -> bool:
return False |
class NoContextDecoratedOpFunction(DecoratedOpFunction):
'''Wrapper around a decorated op function, when the decorator does not permit a context
parameter.
'''
@lru_cache(maxsize=1)
def has_context_arg(self) -> bool:
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.75 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 12 | 8 | 1 | 4 | 3 | 1 | 3 | 3 | 2 | 1 | 1 | 2 | 0 | 1 |
21,276 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/op_decorator.py | dagster._core.definitions.decorators.op_decorator._Op | from functools import lru_cache, update_wrapper
from collections.abc import Mapping, Sequence
from typing import TYPE_CHECKING, AbstractSet, Any, Callable, NamedTuple, Optional, Union, cast, overload
from dagster._core.definitions.policy import RetryPolicy
from dagster._core.definitions.output import Out
from dagster._... |
class _Op:
def __init__(self, name: Optional[str]=None, description: Optional[str]=None, required_resource_keys: Optional[AbstractSet[str]]=None, config_schema: Optional[Union[Any, Mapping[str, Any]]]=None, tags: Optional[Mapping[str, Any]]=None, code_version: Optional[str]=None, decorator_takes_context: Optional... | 3 | 0 | 49 | 7 | 40 | 2 | 4 | 0.05 | 0 | 10 | 5 | 0 | 2 | 11 | 2 | 2 | 99 | 15 | 81 | 39 | 62 | 4 | 39 | 26 | 33 | 6 | 0 | 1 | 7 |
21,277 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/repository_decorator.py | dagster._core.definitions.decorators.repository_decorator._Repository | from dagster._core.definitions.graph_definition import GraphDefinition
from dagster._core.definitions.executor_definition import ExecutorDefinition
from dagster._core.definitions.schedule_definition import ScheduleDefinition
from dagster._core.definitions.sensor_definition import SensorDefinition
from dagster._core.def... |
class _Repository:
def __init__(self, name: Optional[str]=None, description: Optional[str]=None, metadata: Optional[Mapping[str, RawMetadataValue]]=None, default_executor_def: Optional[ExecutorDefinition]=None, default_logger_defs: Optional[Mapping[str, LoggerDefinition]]=None, top_level_resources: Optional[Mappi... | 3 | 0 | 72 | 6 | 67 | 0 | 6 | 0 | 0 | 17 | 8 | 0 | 2 | 7 | 2 | 2 | 146 | 12 | 134 | 41 | 113 | 0 | 46 | 26 | 40 | 11 | 0 | 3 | 12 |
21,278 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/decorators/source_asset_decorator.py | dagster._core.definitions.decorators.source_asset_decorator._ObservableSourceAsset | from dagster._core.definitions.declarative_automation.automation_condition import AutomationCondition
from dagster._core.definitions.metadata import RawMetadataMapping
import dagster._check as check
from dagster._core.definitions.partitions.definition import PartitionsDefinition
from dagster._core.definitions.resource_... |
class _ObservableSourceAsset:
def __init__(self, key: Optional[CoercibleToAssetKey]=None, name: Optional[str]=None, key_prefix: Optional[CoercibleToAssetKeyPrefix]=None, metadata: Optional[RawMetadataMapping]=None, io_manager_key: Optional[str]=None, io_manager_def: Optional[object]=None, description: Optional[st... | 3 | 0 | 38 | 1 | 37 | 0 | 2 | 0 | 0 | 11 | 5 | 0 | 2 | 16 | 2 | 2 | 77 | 3 | 74 | 41 | 53 | 0 | 29 | 23 | 26 | 3 | 0 | 1 | 4 |
21,279 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/definition_config_schema.py | dagster._core.definitions.definition_config_schema.ConfiguredDefinitionConfigSchema | from collections.abc import Mapping
from dagster._core.errors import DagsterConfigMappingFunctionError, user_code_error_boundary
from dagster._config import ConfigAnyInstance, ConfigType, EvaluateValueResult, Field, UserConfigSchema, convert_potential_field, process_config
from typing import TYPE_CHECKING, Any, Callabl... |
class ConfiguredDefinitionConfigSchema(IDefinitionConfigSchema):
def __init__(self, parent_definition: 'ConfigurableDefinition', config_schema: Optional[IDefinitionConfigSchema], config_or_config_fn: object):
pass
def as_field(self) -> Field:
pass
def _invoke_user_config_fn(self, process... | 5 | 0 | 10 | 1 | 9 | 1 | 2 | 0.11 | 1 | 4 | 1 | 0 | 4 | 0 | 4 | 31 | 47 | 7 | 38 | 12 | 27 | 4 | 23 | 7 | 17 | 3 | 5 | 1 | 7 |
21,280 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/definition_config_schema.py | dagster._core.definitions.definition_config_schema.DefinitionConfigSchema | import dagster._check as check
from dagster._config import ConfigAnyInstance, ConfigType, EvaluateValueResult, Field, UserConfigSchema, convert_potential_field, process_config
class DefinitionConfigSchema(IDefinitionConfigSchema):
def __init__(self, config_field: Field):
self._config_field = check.inst_pa... |
class DefinitionConfigSchema(IDefinitionConfigSchema):
def __init__(self, config_field: Field):
pass
def as_field(self) -> Field:
pass | 3 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 2 | 1 | 2 | 29 | 6 | 1 | 5 | 4 | 2 | 0 | 5 | 4 | 2 | 1 | 5 | 0 | 2 |
21,281 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/definition_config_schema.py | dagster._core.definitions.definition_config_schema.IDefinitionConfigSchema | from abc import ABC, abstractmethod
from typing import TYPE_CHECKING, Any, Callable, Optional, Union
from dagster._config import ConfigAnyInstance, ConfigType, EvaluateValueResult, Field, UserConfigSchema, convert_potential_field, process_config
import dagster._check as check
class IDefinitionConfigSchema(ABC):
@... |
class IDefinitionConfigSchema(ABC):
@abstractmethod
def as_field(self) -> Field:
pass
@property
def config_type(self) -> Optional[ConfigType]:
pass
@property
def is_required(self) -> bool:
pass
@property
def default_provided(self) -> bool:
pass
@prop... | 15 | 0 | 3 | 0 | 3 | 0 | 2 | 0 | 1 | 4 | 0 | 2 | 7 | 0 | 7 | 27 | 36 | 6 | 30 | 21 | 15 | 0 | 23 | 14 | 15 | 2 | 4 | 0 | 12 |
21,282 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/definitions_class.py | dagster._core.definitions.definitions_class.BindResourcesToJobs | from dagster._annotations import deprecated, preview, public
@deprecated(breaking_version='2.0', additional_warn_text="Instantiations can be removed. Since it's behavior is now the default, this class is now a no-op.")
class BindResourcesToJobs(list):
"""Used to instruct Dagster to bind top-level resources to jobs... | @deprecated(breaking_version='2.0', additional_warn_text="Instantiations can be removed. Since it's behavior is now the default, this class is now a no-op.")
class BindResourcesToJobs(list):
'''Used to instruct Dagster to bind top-level resources to jobs and any jobs attached to schedules
and sensors. Now depre... | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 33 | 4 | 0 | 1 | 1 | 0 | 3 | 1 | 1 | 0 | 0 | 2 | 0 | 0 |
21,283 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/definitions_class.py | dagster._core.definitions.definitions_class.Definitions | from typing import TYPE_CHECKING, Annotated, Any, Callable, NamedTuple, Optional, Union
from dagster._utils.cached_method import cached_method
from dagster._core.definitions.job_definition import JobDefinition, default_job_io_manager
from dagster._core.definitions import AssetSelection
from dagster._core.instance impor... | null | 58 | 22 | 16 | 1 | 10 | 5 | 2 | 0.72 | 1 | 17 | 5 | 0 | 15 | 0 | 17 | 19 | 397 | 57 | 198 | 83 | 139 | 142 | 92 | 46 | 74 | 8 | 1 | 3 | 28 |
21,284 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/definitions_class.py | dagster._core.definitions.definitions_class._AttachedObjects | from typing import TYPE_CHECKING, Annotated, Any, Callable, NamedTuple, Optional, Union
from dagster._core.definitions.sensor_definition import SensorDefinition
from dagster._core.definitions.unresolved_asset_job_definition import UnresolvedAssetJobDefinition
from dagster._core.definitions.schedule_definition import Sc... |
class _AttachedObjects(NamedTuple):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 4 | 1 | 3 | 0 | 4 | 1 | 3 | 0 | 1 | 0 | 0 |
21,285 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/definitions_load_context.py | dagster._core.definitions.definitions_load_context.DefinitionsLoadContext | from contextlib import contextmanager
from dagster_shared.serdes.objects.models.defs_state_info import DefsStateInfo
from dagster._core.definitions.assets.definition.cacheable_assets_definition import AssetsDefinitionCacheableData
from pathlib import Path
from functools import cached_property
from typing import TYPE_CH... |
class DefinitionsLoadContext:
'''Holds data that's made available to Definitions-loading code when a DefinitionsLoader is
invoked.
User construction of this object is not supported.
'''
def __init__(self, load_type: DefinitionsLoadType, repository_load_data: Optional['RepositoryLoadData']=None):
... | 21 | 9 | 6 | 0 | 5 | 2 | 2 | 0.42 | 0 | 5 | 1 | 0 | 6 | 3 | 8 | 8 | 70 | 9 | 43 | 22 | 25 | 18 | 24 | 13 | 15 | 3 | 0 | 1 | 12 |
21,286 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/definitions_load_context.py | dagster._core.definitions.definitions_load_context.DefinitionsLoadType | from enum import Enum
class DefinitionsLoadType(Enum):
"""An enum that defines the different scenarios in which a Definitions object may be
instantiated.
When booting a Dagster process that contains definitions, one of two things are happening.
1. `INITIALIZATION`: You are defining a set of definitio... |
class DefinitionsLoadType(Enum):
'''An enum that defines the different scenarios in which a Definitions object may be
instantiated.
When booting a Dagster process that contains definitions, one of two things are happening.
1. `INITIALIZATION`: You are defining a set of definitions for Dagster to ingest... | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3.67 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 49 | 18 | 4 | 3 | 3 | 2 | 11 | 3 | 3 | 2 | 0 | 4 | 0 | 0 |
21,287 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/definitions_load_context.py | dagster._core.definitions.definitions_load_context.StateBackedDefinitionsLoader | from typing import TYPE_CHECKING, Any, ClassVar, Generic, Optional, TypeVar, cast
from dagster_shared.serdes.serdes import PackableValue, deserialize_value, serialize_value
from abc import ABC, abstractmethod
from dagster._core.definitions.definitions_class import Definitions
class StateBackedDefinitionsLoader(ABC, Ge... |
class StateBackedDefinitionsLoader(ABC, Generic[TState]):
'''A class for building state-backed definitions. In a structured way. It
handles manipulation of the DefinitionsLoadContext on the user's behalf.
The goal here is so that an unreliable backing source is fetched only
at code server load time, wh... | 10 | 4 | 8 | 1 | 5 | 3 | 1 | 1.36 | 2 | 4 | 3 | 10 | 5 | 0 | 5 | 27 | 82 | 16 | 28 | 12 | 18 | 38 | 15 | 9 | 9 | 2 | 4 | 0 | 6 |
21,288 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.BlockingAssetChecksDependencyDefinition | from dagster._annotations import PublicAttr, public
from collections.abc import Iterable, Iterator, Mapping, Sequence
from typing import TYPE_CHECKING, AbstractSet, Any, Generic, NamedTuple, Optional, Union, cast
class BlockingAssetChecksDependencyDefinition(IDependencyDefinition, NamedTuple('_BlockingAssetChecksDepen... | null | 7 | 2 | 4 | 0 | 4 | 0 | 1 | 0.26 | 2 | 3 | 1 | 0 | 3 | 0 | 3 | 25 | 38 | 4 | 27 | 21 | 6 | 7 | 9 | 4 | 5 | 2 | 5 | 1 | 4 |
21,289 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.DependencyDefinition | from collections.abc import Iterable, Iterator, Mapping, Sequence
from typing import TYPE_CHECKING, AbstractSet, Any, Generic, NamedTuple, Optional, Union, cast
import dagster._check as check
from dagster._core.definitions.utils import DEFAULT_OUTPUT, struct_to_string
from dagster._annotations import PublicAttr, public... | @public
class DependencyDefinition(NamedTuple('_DependencyDefinition', [('node', str), ('output', str), ('description', Optional[str])]), IDependencyDefinition):
'''Represents an edge in the DAG of nodes (ops or graphs) forming a job.
This object is used at the leaves of a dictionary structure that represents t... | 7 | 2 | 5 | 0 | 5 | 0 | 1 | 1.16 | 2 | 4 | 0 | 0 | 4 | 0 | 4 | 26 | 67 | 13 | 25 | 16 | 9 | 29 | 9 | 5 | 4 | 1 | 5 | 0 | 4 |
21,290 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.DependencyStructure | from collections.abc import Iterable, Iterator, Mapping, Sequence
from typing import TYPE_CHECKING, AbstractSet, Any, Generic, NamedTuple, Optional, Union, cast
from dagster._core.errors import DagsterInvalidDefinitionError
from collections import defaultdict
import dagster._check as check
class DependencyStructure:
... |
class DependencyStructure:
@staticmethod
def from_definitions(nodes: Mapping[str, Node], dep_dict: DependencyMapping[str]) -> 'DependencyStructure':
pass
def __init__(self, node_names: Sequence[str], input_to_output_map: InputToOutputMap, deps_by_node_name: DependencyMapping[str]):
pass
... | 23 | 3 | 12 | 1 | 10 | 1 | 2 | 0.09 | 0 | 13 | 5 | 0 | 20 | 2 | 21 | 21 | 274 | 43 | 212 | 56 | 172 | 19 | 132 | 37 | 110 | 14 | 0 | 4 | 49 |
21,291 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.DependencyType | from enum import Enum
class DependencyType(Enum):
DIRECT = 'DIRECT'
FAN_IN = 'FAN_IN'
DYNAMIC_COLLECT = 'DYNAMIC_COLLECT' |
class DependencyType(Enum):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 49 | 4 | 0 | 4 | 4 | 3 | 0 | 4 | 4 | 3 | 0 | 4 | 0 | 0 |
21,292 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.DynamicCollectDependencyDefinition | from collections.abc import Iterable, Iterator, Mapping, Sequence
from typing import TYPE_CHECKING, AbstractSet, Any, Generic, NamedTuple, Optional, Union, cast
class DynamicCollectDependencyDefinition(NamedTuple('_DynamicCollectDependencyDefinition', [('node_name', str), ('output_name', str)]), IDependencyDefinition)... |
class DynamicCollectDependencyDefinition(NamedTuple('_DynamicCollectDependencyDefinition', [('node_name', str), ('output_name', str)]), IDependencyDefinition):
def get_node_dependencies(self) -> Sequence[DependencyDefinition]:
pass
def is_fan_in(self) -> bool:
pass | 3 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 2 | 3 | 1 | 0 | 2 | 0 | 2 | 24 | 9 | 1 | 8 | 6 | 2 | 0 | 5 | 3 | 2 | 1 | 5 | 0 | 2 |
21,293 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.GraphNode | from dagster._core.definitions.hook_definition import HookDefinition
from dagster._core.definitions.policy import RetryPolicy
import dagster._check as check
from typing import TYPE_CHECKING, AbstractSet, Any, Generic, NamedTuple, Optional, Union, cast
from collections.abc import Iterable, Iterator, Mapping, Sequence
c... |
class GraphNode(Node):
def __init__(self, name: str, definition: 'GraphDefinition', graph_definition: 'GraphDefinition', tags: Optional[Mapping[str, str]]=None, hook_defs: Optional[AbstractSet[HookDefinition]]=None, retry_policy: Optional[RetryPolicy]=None):
pass
def get_resource_requirements(self, o... | 4 | 0 | 10 | 1 | 9 | 0 | 1 | 0 | 1 | 8 | 4 | 0 | 3 | 0 | 3 | 43 | 34 | 5 | 29 | 20 | 11 | 0 | 12 | 7 | 7 | 2 | 5 | 1 | 4 |
21,294 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.IDependencyDefinition | from abc import ABC, abstractmethod
from collections.abc import Iterable, Iterator, Mapping, Sequence
class IDependencyDefinition(ABC):
@abstractmethod
def get_node_dependencies(self) -> Sequence['DependencyDefinition']:
pass
@abstractmethod
def is_fan_in(self) -> bool:
"""The result ... | null | 5 | 1 | 2 | 0 | 2 | 1 | 1 | 0.17 | 1 | 2 | 0 | 4 | 2 | 0 | 2 | 22 | 8 | 1 | 6 | 5 | 1 | 1 | 4 | 3 | 1 | 1 | 4 | 0 | 2 |
21,295 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.MultiDependencyDefinition | from dagster._core.errors import DagsterInvalidDefinitionError
from typing import TYPE_CHECKING, AbstractSet, Any, Generic, NamedTuple, Optional, Union, cast
import dagster._check as check
from dagster._annotations import PublicAttr, public
from collections.abc import Iterable, Iterator, Mapping, Sequence
@public
clas... | @public
class MultiDependencyDefinition(NamedTuple('_MultiDependencyDefinition', [('dependencies', PublicAttr[Sequence[Union[DependencyDefinition, type['MappedInputPlaceholder']]]])]), IDependencyDefinition):
'''Represents a fan-in edge in the DAG of op instances forming a job.
This object is used only when an ... | 9 | 4 | 9 | 1 | 7 | 1 | 2 | 0.75 | 2 | 5 | 2 | 0 | 4 | 0 | 4 | 26 | 92 | 15 | 44 | 29 | 19 | 33 | 20 | 10 | 14 | 5 | 5 | 3 | 8 |
21,296 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.Node | from dagster._core.definitions.output import OutputDefinition
from abc import ABC, abstractmethod
from typing import TYPE_CHECKING, AbstractSet, Any, Generic, NamedTuple, Optional, Union, cast
import dagster._check as check
from dagster._core.definitions.policy import RetryPolicy
from dagster._core.definitions.hook_def... |
class Node(ABC):
'''Node invocation within a graph. Identified by its name inside the graph.'''
def __init__(self, name: str, definition: 'NodeDefinition', graph_definition: 'GraphDefinition', tags: Optional[Mapping[str, str]]=None, hook_defs: Optional[AbstractSet[HookDefinition]]=None, retry_policy: Optional... | 28 | 1 | 5 | 0 | 5 | 0 | 1 | 0.01 | 1 | 17 | 11 | 2 | 20 | 0 | 20 | 40 | 136 | 24 | 111 | 45 | 70 | 1 | 66 | 25 | 43 | 2 | 4 | 1 | 22 |
21,297 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.NodeHandle | from collections.abc import Iterable, Iterator, Mapping, Sequence
import dagster._check as check
from typing import TYPE_CHECKING, AbstractSet, Any, Generic, NamedTuple, Optional, Union, cast
from dagster_shared.serdes import whitelist_for_serdes
@whitelist_for_serdes(storage_name='SolidHandle')
class NodeHandle(Named... | @whitelist_for_serdes(storage_name='SolidHandle')
class NodeHandle(NamedTuple('_NodeHandle', [('name', str), ('parent', Optional['NodeHandle'])])):
'''A structured object to identify nodes in the potentially recursive graph structure.'''
def __new__(cls, name: str, parent: Optional['NodeHandle']):
pass... | 18 | 8 | 13 | 2 | 7 | 4 | 2 | 0.54 | 1 | 9 | 0 | 0 | 8 | 0 | 11 | 11 | 160 | 32 | 83 | 24 | 66 | 45 | 58 | 19 | 46 | 4 | 1 | 2 | 22 |
21,298 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.NodeInput | import dagster._check as check
from dagster._core.definitions.utils import DEFAULT_OUTPUT, struct_to_string
from typing import TYPE_CHECKING, AbstractSet, Any, Generic, NamedTuple, Optional, Union, cast
from dagster._core.definitions.input import FanInInputPointer, InputDefinition, InputMapping, InputPointer
class Nod... |
class NodeInput(NamedTuple('_NodeInput', [('node', Node), ('input_def', InputDefinition)])):
def __new__(cls, node: Node, input_def: InputDefinition):
pass
def _inner_str(self) -> str:
pass
def __str__(self):
pass
def __repr__(self):
pass
def __hash__(self):
... | 11 | 0 | 4 | 0 | 4 | 0 | 1 | 0 | 1 | 6 | 2 | 0 | 8 | 0 | 8 | 8 | 38 | 7 | 31 | 11 | 20 | 0 | 17 | 9 | 8 | 1 | 1 | 0 | 8 |
21,299 | dagster-io/dagster | dagster-io_dagster/python_modules/dagster/dagster/_core/definitions/dependency.py | dagster._core.definitions.dependency.NodeInputHandle | from typing import TYPE_CHECKING, AbstractSet, Any, Generic, NamedTuple, Optional, Union, cast
from dagster._record import record
@record(checked=False)
class NodeInputHandle(Generic[T_OptionalNodeHandle]):
"""A structured object to uniquely identify inputs in the potentially recursive graph structure."""
node... | @record(checked=False)
class NodeInputHandle(Generic[T_OptionalNodeHandle]):
'''A structured object to uniquely identify inputs in the potentially recursive graph structure.'''
def __str__(self) -> str:
pass | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0.2 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 3 | 8 | 2 | 5 | 2 | 3 | 1 | 5 | 2 | 3 | 1 | 1 | 0 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.