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,500
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterInvalidObservationError
from dagster_shared.error import DagsterError class DagsterInvalidObservationError(DagsterError): """Indicates that an invalid value was returned from a source asset observation function."""
class DagsterInvalidObservationError(DagsterError): '''Indicates that an invalid value was returned from a source asset observation function.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
11
2
0
1
1
0
1
1
1
0
0
4
0
0
21,501
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterInvalidPropertyError
from dagster_shared.error import DagsterError class DagsterInvalidPropertyError(DagsterError): """Indicates that an invalid property was accessed. May often happen by accessing a property that no longer exists after breaking changes. """
class DagsterInvalidPropertyError(DagsterError): '''Indicates that an invalid property was accessed. May often happen by accessing a property that no longer exists after breaking changes. ''' pass
1
1
0
0
0
0
0
3
1
0
0
0
0
0
0
11
4
0
1
1
0
3
1
1
0
0
4
0
0
21,502
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterInvalidPythonicConfigDefinitionError
from typing import TYPE_CHECKING, Any, Callable, Optional from dagster_shared.error import DagsterError class DagsterInvalidPythonicConfigDefinitionError(DagsterError): """Indicates that you have attempted to construct a Pythonic config or resource class with an invalid value.""" def __init__(self, config_cla...
class DagsterInvalidPythonicConfigDefinitionError(DagsterError): '''Indicates that you have attempted to construct a Pythonic config or resource class with an invalid value.''' def __init__(self, config_class: Optional[type], field_name: Optional[str], invalid_type: Any, is_resource: bool=False, **kwargs): ...
2
1
20
0
20
0
1
0.05
1
5
0
0
1
3
1
12
23
1
21
12
12
1
6
5
4
1
4
0
1
21,503
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterInvalidSubsetError
from dagster_shared.error import DagsterError class DagsterInvalidSubsetError(DagsterError): """Indicates that a subset of a pipeline is invalid because either: - One or more ops in the specified subset do not exist on the job.' - The subset produces an invalid job. """
class DagsterInvalidSubsetError(DagsterError): '''Indicates that a subset of a pipeline is invalid because either: - One or more ops in the specified subset do not exist on the job.' - The subset produces an invalid job. ''' pass
1
1
0
0
0
0
0
4
1
0
0
0
0
0
0
11
5
0
1
1
0
4
1
1
0
0
4
0
0
21,504
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterInvariantViolationError
from dagster_shared.error import DagsterError class DagsterInvariantViolationError(DagsterError): """Indicates the user has violated a well-defined invariant that can only be enforced at runtime. """
class DagsterInvariantViolationError(DagsterError): '''Indicates the user has violated a well-defined invariant that can only be enforced at runtime. ''' pass
1
1
0
0
0
0
0
3
1
0
0
0
0
0
0
11
4
0
1
1
0
3
1
1
0
0
4
0
0
21,505
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterLaunchFailedError
from dagster_shared.error import DagsterError import dagster._check as check class DagsterLaunchFailedError(DagsterError): """Indicates an error while attempting to launch a pipeline run.""" def __init__(self, *args, **kwargs): from dagster._utils.error import SerializableErrorInfo self.serial...
class DagsterLaunchFailedError(DagsterError): '''Indicates an error while attempting to launch a pipeline run.''' def __init__(self, *args, **kwargs): pass
2
1
9
1
8
0
1
0.11
1
2
1
0
1
1
1
12
12
2
9
4
6
1
5
4
2
1
4
0
1
21,506
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterMaxRetriesExceededError
from dagster_shared.error import DagsterError import dagster._check as check class DagsterMaxRetriesExceededError(DagsterError): """Raised when raise_on_error is true, and retries were exceeded, this error should be raised.""" def __init__(self, *args, **kwargs): from dagster._utils.error import Seria...
class DagsterMaxRetriesExceededError(DagsterError): '''Raised when raise_on_error is true, and retries were exceeded, this error should be raised.''' def __init__(self, *args, **kwargs): pass @staticmethod def from_error_info(error_info): pass
4
1
8
1
7
0
1
0.06
1
2
1
0
1
1
2
13
21
4
16
7
10
1
9
6
4
1
4
0
2
21,507
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterObjectStoreError
from dagster_shared.error import DagsterError class DagsterObjectStoreError(DagsterError): """Errors during an object store operation."""
class DagsterObjectStoreError(DagsterError): '''Errors during an object store operation.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
11
2
0
1
1
0
1
1
1
0
0
4
0
0
21,508
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterPipesExecutionError
class DagsterPipesExecutionError(Exception): """Indicates that an error occurred during the execution of an external process."""
class DagsterPipesExecutionError(Exception): '''Indicates that an error occurred during the execution of an external process.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
11
2
0
1
1
0
1
1
1
0
0
4
0
0
21,509
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterRedactedUserCodeError
from dagster_shared.error import DagsterError class DagsterRedactedUserCodeError(DagsterError): """Error used to mask user code errors to prevent leaking sensitive information. Contains an error ID that can be used to look up the original error in the user code error log. """
class DagsterRedactedUserCodeError(DagsterError): '''Error used to mask user code errors to prevent leaking sensitive information. Contains an error ID that can be used to look up the original error in the user code error log. ''' pass
1
1
0
0
0
0
0
3
1
0
0
0
0
0
0
11
4
0
1
1
0
3
1
1
0
0
4
0
0
21,510
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterResourceFunctionError
class DagsterResourceFunctionError(DagsterUserCodeExecutionError): """Indicates an error occurred while executing the body of the ``resource_fn`` in a :py:class:`~dagster.ResourceDefinition` during resource initialization. """
class DagsterResourceFunctionError(DagsterUserCodeExecutionError): '''Indicates an error occurred while executing the body of the ``resource_fn`` in a :py:class:`~dagster.ResourceDefinition` during resource initialization. ''' pass
1
1
0
0
0
0
0
3
1
0
0
0
0
0
0
13
4
0
1
1
0
3
1
1
0
0
5
0
0
21,511
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterRunAlreadyExists
from dagster_shared.error import DagsterError class DagsterRunAlreadyExists(DagsterError): """Indicates that a pipeline run already exists in a run storage."""
class DagsterRunAlreadyExists(DagsterError): '''Indicates that a pipeline run already exists in a run storage.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
11
2
0
1
1
0
1
1
1
0
0
4
0
0
21,512
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterRunConflict
from dagster_shared.error import DagsterError class DagsterRunConflict(DagsterError): """Indicates that a conflicting pipeline run exists in a run storage."""
class DagsterRunConflict(DagsterError): '''Indicates that a conflicting pipeline run exists in a run storage.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
11
2
0
1
1
0
1
1
1
0
0
4
0
0
21,513
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterRunNotFoundError
from dagster_shared.error import DagsterError import dagster._check as check class DagsterRunNotFoundError(DagsterError): """Thrown when a run cannot be found in run storage.""" def __init__(self, *args, **kwargs): self.invalid_run_id = check.str_param(kwargs.pop('invalid_run_id'), 'invalid_run_id') ...
class DagsterRunNotFoundError(DagsterError): '''Thrown when a run cannot be found in run storage.''' def __init__(self, *args, **kwargs): pass
2
1
3
0
3
0
1
0.25
1
1
0
0
1
1
1
12
6
1
4
3
2
1
4
3
2
1
4
0
1
21,514
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterSnapshotDoesNotExist
from dagster_shared.error import DagsterError class DagsterSnapshotDoesNotExist(DagsterError): """Indicates you attempted to create a pipeline run with a nonexistent snapshot id."""
class DagsterSnapshotDoesNotExist(DagsterError): '''Indicates you attempted to create a pipeline run with a nonexistent snapshot id.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
11
2
0
1
1
0
1
1
1
0
0
4
0
0
21,515
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterStepOutputNotFoundError
import dagster._check as check from dagster_shared.error import DagsterError class DagsterStepOutputNotFoundError(DagsterError): """Indicates that previous step outputs required for an execution step to proceed are not available. """ def __init__(self, *args, **kwargs): self.step_key = check.s...
class DagsterStepOutputNotFoundError(DagsterError): '''Indicates that previous step outputs required for an execution step to proceed are not available. ''' def __init__(self, *args, **kwargs): pass
2
1
4
0
4
0
1
0.6
1
1
0
0
1
2
1
12
9
1
5
4
3
3
5
4
3
1
4
0
1
21,516
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterSubprocessError
import dagster._check as check from dagster_shared.error import DagsterError class DagsterSubprocessError(DagsterError): """An exception has occurred in one or more of the child processes dagster manages. This error forwards the message and stack trace for all of the collected errors. """ def __init__...
class DagsterSubprocessError(DagsterError): '''An exception has occurred in one or more of the child processes dagster manages. This error forwards the message and stack trace for all of the collected errors. ''' def __init__(self, *args, **kwargs): pass
2
1
7
1
6
0
1
0.43
1
2
1
0
1
1
1
12
12
2
7
4
4
3
5
4
2
1
4
0
1
21,517
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterTypeCheckDidNotPass
from dagster_shared.error import DagsterError import dagster._check as check class DagsterTypeCheckDidNotPass(DagsterError): """Indicates that a type check failed. This is raised when ``raise_on_error`` is ``True`` in calls to the synchronous job and graph execution APIs (e.g. `graph.execute_in_process()`...
class DagsterTypeCheckDidNotPass(DagsterError): '''Indicates that a type check failed. This is raised when ``raise_on_error`` is ``True`` in calls to the synchronous job and graph execution APIs (e.g. `graph.execute_in_process()`, `job.execute_in_process()` -- typically within a test), and a :py:class:...
2
1
10
1
9
0
1
0.6
1
2
0
0
1
3
1
12
19
3
10
7
6
6
8
7
4
1
4
0
1
21,518
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterTypeCheckError
class DagsterTypeCheckError(DagsterUserCodeExecutionError): """Indicates an error in the op type system at runtime. E.g. a op receives an unexpected input, or produces an output that does not match the type of the output definition. """
class DagsterTypeCheckError(DagsterUserCodeExecutionError): '''Indicates an error in the op type system at runtime. E.g. a op receives an unexpected input, or produces an output that does not match the type of the output definition. ''' pass
1
1
0
0
0
0
0
3
1
0
0
0
0
0
0
13
4
0
1
1
0
3
1
1
0
0
5
0
0
21,519
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterTypeLoadingError
class DagsterTypeLoadingError(DagsterUserCodeExecutionError): """Indicates that an unexpected error occurred while executing the body of an type load function defined in a :py:class:`~dagster.DagsterTypeLoader` during loading of a custom type. """
class DagsterTypeLoadingError(DagsterUserCodeExecutionError): '''Indicates that an unexpected error occurred while executing the body of an type load function defined in a :py:class:`~dagster.DagsterTypeLoader` during loading of a custom type. ''' pass
1
1
0
0
0
0
0
3
1
0
0
0
0
0
0
13
4
0
1
1
0
3
1
1
0
0
5
0
0
21,520
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterUndefinedDataVersionError
from dagster_shared.error import DagsterError class DagsterUndefinedDataVersionError(DagsterError): """The user attempted to retrieve the most recent logical version for an asset, but no logical version is defined."""
class DagsterUndefinedDataVersionError(DagsterError): '''The user attempted to retrieve the most recent logical version for an asset, but no logical version is defined.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
11
2
0
1
1
0
1
1
1
0
0
4
0
0
21,521
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterUnknownPartitionError
from dagster_shared.error import DagsterError class DagsterUnknownPartitionError(DagsterError): """The user has tried to access run config for a partition name that does not exist."""
class DagsterUnknownPartitionError(DagsterError): '''The user has tried to access run config for a partition name that does not exist.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
11
2
0
1
1
0
1
1
1
0
0
4
0
0
21,522
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterUnknownResourceError
from dagster_shared.error import DagsterError import dagster._check as check class DagsterUnknownResourceError(DagsterError, AttributeError): """Indicates that an unknown resource was accessed in the body of an execution step. May often happen by accessing a resource in the compute function of an op without fi...
class DagsterUnknownResourceError(DagsterError, AttributeError): '''Indicates that an unknown resource was accessed in the body of an execution step. May often happen by accessing a resource in the compute function of an op without first supplying the op with the correct `required_resource_keys` argument. ...
2
1
7
0
7
0
1
0.75
2
1
0
0
1
1
1
13
15
1
8
4
6
6
5
4
3
1
4
0
1
21,523
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterUnknownStepStateError
from dagster_shared.error import DagsterError class DagsterUnknownStepStateError(DagsterError): """When job execution completes with steps in an unknown state."""
class DagsterUnknownStepStateError(DagsterError): '''When job execution completes with steps in an unknown state.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
11
2
0
1
1
0
1
1
1
0
0
4
0
0
21,524
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterUnmetExecutorRequirementsError
from dagster_shared.error import DagsterError class DagsterUnmetExecutorRequirementsError(DagsterError): """Indicates the resolved executor is incompatible with the state of other systems such as the :py:class:`~dagster._core.instance.DagsterInstance` or system storage configuration. """
class DagsterUnmetExecutorRequirementsError(DagsterError): '''Indicates the resolved executor is incompatible with the state of other systems such as the :py:class:`~dagster._core.instance.DagsterInstance` or system storage configuration. ''' pass
1
1
0
0
0
0
0
3
1
0
0
0
0
0
0
11
4
0
1
1
0
3
1
1
0
0
4
0
0
21,525
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterUserCodeExecutionError
import dagster._check as check from dagster_shared.error import DagsterError class DagsterUserCodeExecutionError(DagsterError): """This is the base class for any exception that is meant to wrap an :py:class:`~python:Exception` thrown by user code. It wraps that existing user code. The ``original_exc_info``...
class DagsterUserCodeExecutionError(DagsterError): '''This is the base class for any exception that is meant to wrap an :py:class:`~python:Exception` thrown by user code. It wraps that existing user code. The ``original_exc_info`` argument to the constructor is meant to be a tuple of the type returned ...
4
1
8
2
5
2
1
1
1
2
0
16
2
2
2
13
28
6
11
8
7
11
10
7
7
1
4
0
2
21,526
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterUserCodeLoadError
class DagsterUserCodeLoadError(DagsterUserCodeExecutionError): """Errors raised in a user process during the loading of user code."""
class DagsterUserCodeLoadError(DagsterUserCodeExecutionError): '''Errors raised in a user process during the loading of user code.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
13
2
0
1
1
0
1
1
1
0
0
5
0
0
21,527
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterUserCodeProcessError
from dagster_shared.error import DagsterError import dagster._check as check class DagsterUserCodeProcessError(DagsterError): """An exception has occurred in a user code process that the host process raising this error was communicating with. """ @staticmethod def from_error_info(error_info): ...
class DagsterUserCodeProcessError(DagsterError): '''An exception has occurred in a user code process that the host process raising this error was communicating with. ''' @staticmethod def from_error_info(error_info): pass def __init__(self, *args, **kwargs): pass
4
1
8
1
7
0
1
0.19
1
2
1
0
1
1
2
13
23
4
16
7
10
3
9
6
4
1
4
0
2
21,528
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.DagsterUserCodeUnreachableError
from dagster_shared.error import DagsterError class DagsterUserCodeUnreachableError(DagsterError): """Dagster was unable to reach a user code server to fetch information about user code."""
class DagsterUserCodeUnreachableError(DagsterError): '''Dagster was unable to reach a user code server to fetch information about user code.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
11
2
0
1
1
0
1
1
1
0
0
4
0
0
21,529
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.FreshnessPolicySensorExecutionError
class FreshnessPolicySensorExecutionError(DagsterUserCodeExecutionError): """Error raised during the execution of a user-defined freshness policy sensor."""
class FreshnessPolicySensorExecutionError(DagsterUserCodeExecutionError): '''Error raised during the execution of a user-defined freshness policy sensor.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
13
2
0
1
1
0
1
1
1
0
0
5
0
0
21,530
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.HookExecutionError
class HookExecutionError(DagsterUserCodeExecutionError): """Error raised during the execution of a user-defined hook."""
class HookExecutionError(DagsterUserCodeExecutionError): '''Error raised during the execution of a user-defined hook.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
13
2
0
1
1
0
1
1
1
0
0
5
0
0
21,531
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.JobError
class JobError(DagsterUserCodeExecutionError): """Errors raised during the execution of user-provided functions for a defined Job."""
class JobError(DagsterUserCodeExecutionError): '''Errors raised during the execution of user-provided functions for a defined Job.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
13
2
0
1
1
0
1
1
1
0
0
5
0
0
21,532
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.PartitionExecutionError
class PartitionExecutionError(DagsterUserCodeExecutionError): """Errors raised during the execution of user-provided functions of a partition set schedule."""
class PartitionExecutionError(DagsterUserCodeExecutionError): '''Errors raised during the execution of user-provided functions of a partition set schedule.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
13
2
0
1
1
0
1
1
1
0
0
5
0
0
21,533
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.RunStatusSensorExecutionError
class RunStatusSensorExecutionError(DagsterUserCodeExecutionError): """Error raised during the execution of a user-defined run status sensor."""
class RunStatusSensorExecutionError(DagsterUserCodeExecutionError): '''Error raised during the execution of a user-defined run status sensor.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
13
2
0
1
1
0
1
1
1
0
0
5
0
0
21,534
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.ScheduleExecutionError
class ScheduleExecutionError(DagsterUserCodeExecutionError): """Errors raised in a user process during the execution of schedule."""
class ScheduleExecutionError(DagsterUserCodeExecutionError): '''Errors raised in a user process during the execution of schedule.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
13
2
0
1
1
0
1
1
1
0
0
5
0
0
21,535
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/errors.py
dagster._core.errors.SensorExecutionError
class SensorExecutionError(DagsterUserCodeExecutionError): """Errors raised in a user process during the execution of a sensor (or its job)."""
class SensorExecutionError(DagsterUserCodeExecutionError): '''Errors raised in a user process during the execution of a sensor (or its job).''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
13
2
0
1
1
0
1
1
1
0
0
5
0
0
21,536
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/event_api.py
dagster._core.event_api.AssetRecordsFilter
from dagster._annotations import PublicAttr, public import dagster._check as check from typing import Callable, Literal, NamedTuple, Optional, Union from dagster._core.definitions.events import AssetKey, AssetMaterialization, AssetObservation from collections.abc import Mapping, Sequence from dagster._serdes import whi...
@whitelist_for_serdes class AssetRecordsFilter(NamedTuple('_AssetRecordsFilter', [('asset_key', PublicAttr[AssetKey]), ('asset_partitions', PublicAttr[Optional[Sequence[str]]]), ('after_timestamp', PublicAttr[Optional[float]]), ('before_timestamp', PublicAttr[Optional[float]]), ('after_storage_id', PublicAttr[Optional[...
6
1
18
0
17
0
2
0.28
1
8
1
0
3
4
3
3
91
5
67
36
38
19
14
7
10
5
1
1
7
21,537
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/event_api.py
dagster._core.event_api.EventLogCursor
import dagster._check as check import base64 from dagster_shared.seven import json from typing import Callable, Literal, NamedTuple, Optional, Union class EventLogCursor(NamedTuple): """Representation of an event record cursor, keeping track of the log query state.""" cursor_type: EventLogCursorType value:...
class EventLogCursor(NamedTuple): '''Representation of an event record cursor, keeping track of the log query state.''' def is_offset_cursor(self) -> bool: pass def is_id_cursor(self) -> bool: pass def offset(self) -> int: pass def storage_id(self) -> int: pass ...
13
1
2
0
2
0
1
0.04
1
5
1
0
6
0
9
9
39
10
28
15
15
1
25
12
15
1
1
0
9
21,538
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/event_api.py
dagster._core.event_api.EventLogCursorType
from enum import Enum class EventLogCursorType(Enum): OFFSET = 'OFFSET' STORAGE_ID = 'STORAGE_ID'
class EventLogCursorType(Enum): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
49
3
0
3
3
2
0
3
3
2
0
4
0
0
21,539
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/event_api.py
dagster._core.event_api.EventLogRecord
import dagster._check as check from dagster._core.events.log import EventLogEntry from dagster._annotations import PublicAttr, public from dagster._core.definitions.events import AssetKey, AssetMaterialization, AssetObservation from typing import Callable, Literal, NamedTuple, Optional, Union from dagster._serdes impor...
@whitelist_for_serdes @public class EventLogRecord(NamedTuple): '''Internal representation of an event record, as stored in a :py:class:`~dagster._core.storage.event_log.EventLogStorage`. Users should not instantiate this class directly. ''' @property def run_id(self) -> str: pass ...
19
1
3
0
3
0
1
0.11
1
2
0
0
8
0
8
8
52
12
36
19
19
4
25
11
16
2
1
1
10
21,540
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/event_api.py
dagster._core.event_api.EventRecordsFilter
from dagster._core.events import EVENT_TYPE_TO_PIPELINE_RUN_STATUS, DagsterEventType import dagster._check as check from dagster._serdes import whitelist_for_serdes from typing import Callable, Literal, NamedTuple, Optional, Union from dagster._core.definitions.events import AssetKey, AssetMaterialization, AssetObserva...
@whitelist_for_serdes @public class EventRecordsFilter(NamedTuple('_EventRecordsFilter', [('event_type', DagsterEventType), ('asset_key', Optional[AssetKey]), ('asset_partitions', Optional[Sequence[str]]), ('after_cursor', Optional[EventCursor]), ('before_cursor', Optional[EventCursor]), ('after_timestamp', Optional[fl...
8
1
15
1
14
0
2
0.38
1
10
2
0
2
0
3
3
86
6
58
35
26
22
16
7
12
5
1
1
7
21,541
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/event_api.py
dagster._core.event_api.EventRecordsResult
from typing import Callable, Literal, NamedTuple, Optional, Union from collections.abc import Mapping, Sequence class EventRecordsResult(NamedTuple): """Return value for a query fetching event records from the instance. Contains a list of event records, a cursor string, and a boolean indicating whether there ...
class EventRecordsResult(NamedTuple): '''Return value for a query fetching event records from the instance. Contains a list of event records, a cursor string, and a boolean indicating whether there are more records to fetch. ''' pass
1
1
0
0
0
0
0
0.75
1
0
0
0
0
0
0
0
8
1
4
1
3
3
4
1
3
0
1
0
0
21,542
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/event_api.py
dagster._core.event_api.RunShardedEventsCursor
from dagster._annotations import PublicAttr, public from datetime import datetime from typing import Callable, Literal, NamedTuple, Optional, Union @public class RunShardedEventsCursor(NamedTuple): """Pairs an id-based event log cursor with a timestamp-based run cursor, for improved performance on run-sharded ...
@public class RunShardedEventsCursor(NamedTuple): '''Pairs an id-based event log cursor with a timestamp-based run cursor, for improved performance on run-sharded event log storages (e.g. the default SqliteEventLogStorage). For run-sharded storages, the id field is ignored, since they may not be unique acro...
2
1
0
0
0
0
0
1.33
1
0
0
0
0
0
0
0
8
1
3
1
2
4
3
1
2
0
1
0
0
21,543
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/event_api.py
dagster._core.event_api.RunStatusChangeRecordsFilter
from collections.abc import Mapping, Sequence from dagster._serdes import whitelist_for_serdes import dagster._check as check from dagster._annotations import PublicAttr, public from dagster._core.events import EVENT_TYPE_TO_PIPELINE_RUN_STATUS, DagsterEventType from typing import Callable, Literal, NamedTuple, Optiona...
@whitelist_for_serdes class RunStatusChangeRecordsFilter(NamedTuple('_RunStatusChangeRecordsFilter', [('event_type', PublicAttr[RunStatusChangeEventType]), ('after_timestamp', PublicAttr[Optional[float]]), ('before_timestamp', PublicAttr[Optional[float]]), ('after_storage_id', PublicAttr[Optional[int]]), ('before_stora...
4
1
25
1
24
0
4
0.23
1
7
1
0
2
3
2
2
81
5
62
33
35
14
14
6
11
5
1
1
7
21,544
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.AssetMaterializationPlannedData
import dagster._check as check from dagster._core.errors import DagsterInvariantViolationError, HookExecutionError from dagster._core.definitions.partitions.subset import PartitionsSubset from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes from typing import TYPE_CHECKING, AbstractSet, Any, Dict, Nam...
@whitelist_for_serdes class AssetMaterializationPlannedData(NamedTuple('_AssetMaterializationPlannedData', [('asset_key', AssetKey), ('partition', Optional[str]), ('partitions_subset', Optional['PartitionsSubset'])])): def __new__(cls, asset_key: AssetKey, partition: Optional[str]=None, partitions_subset: Optional...
3
0
24
2
22
0
3
0
1
2
0
0
1
0
1
1
34
2
32
16
16
0
8
2
6
3
1
1
3
21,545
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.AssetObservationData
from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedTuple, Optional, Tuple, Union, cast from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes import dagster._check as check from dagster._core.definitions import AssetKey, AssetMaterialization, AssetObservation, ExpectationResult, HookDefiniti...
@whitelist_for_serdes class AssetObservationData(NamedTuple('_AssetObservation', [('asset_observation', AssetObservation)])): def __new__(cls, asset_observation: AssetObservation): pass
3
0
7
0
7
0
1
0
1
1
0
0
1
0
1
1
10
0
10
4
6
0
3
2
1
1
1
0
1
21,546
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.ComputeLogsCaptureData
from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedTuple, Optional, Tuple, Union, cast from collections.abc import Mapping, Sequence import dagster._check as check from dagster._core.storage.compute_log_manager import CapturedLogContext, LogRetrievalShellCommand from dagster._serdes import NamedTupleSeriali...
@whitelist_for_serdes(storage_field_names={'file_key': 'log_key'}) class ComputeLogsCaptureData(NamedTuple('_ComputeLogsCaptureData', [('file_key', str), ('step_keys', Sequence[str]), ('external_url', Optional[str]), ('external_stdout_url', Optional[str]), ('external_stderr_url', Optional[str]), ('shell_cmd', Optional[...
3
0
18
0
18
0
1
0.03
1
4
1
0
1
0
1
1
31
0
31
22
9
1
3
2
1
1
1
0
1
21,547
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.DagsterEvent
from dagster._core.execution.plan.handle import ResolvedFromDynamicStepHandle, StepHandle from dagster._core.execution.context.system import IPlanContext, IStepContext, StepExecutionContext from dagster._core.errors import DagsterInvariantViolationError, HookExecutionError from dagster._core.definitions.partitions.subs...
@whitelist_for_serdes(serializer=DagsterEventSerializer, storage_field_names={'node_handle': 'solid_handle', 'job_name': 'pipeline_name'}) @public class DagsterEvent(NamedTuple('_DagsterEvent', [('event_type_value', str), ('job_name', str), ('step_handle', Optional[Union[StepHandle, ResolvedFromDynamicStepHandle]]), ('...
210
24
10
0
10
0
1
0.05
1
29
22
0
49
0
85
85
1,101
114
940
349
596
48
258
114
170
6
1
1
118
21,548
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.DagsterEventBatchMetadata
from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedTuple, Optional, Tuple, Union, cast class DagsterEventBatchMetadata(NamedTuple): id: str is_end: bool
class DagsterEventBatchMetadata(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,549
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.DagsterEventSerializer
from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedTuple, Optional, Tuple, Union, cast from dagster_shared.serdes.serdes import EnumSerializer, UnpackContext, is_whitelisted_for_serdes_object from dagster._utils.error import SerializableErrorInfo, serializable_error_info_from_exc_info, truncate_event_error_...
class DagsterEventSerializer(NamedTupleSerializer['DagsterEvent']): def before_unpack(self, context, unpacked_dict: Any) -> dict[str, Any]: pass def handle_unpack_error(self, exc: Exception, context: UnpackContext, storage_dict: dict[str, Any]) -> 'DagsterEvent': pass
3
0
17
1
16
0
2
0
1
8
4
0
2
0
2
35
35
2
33
13
25
0
12
8
9
2
7
0
3
21,550
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.DagsterEventType
from enum import Enum from dagster._annotations import public @public class DagsterEventType(str, Enum): """The types of events that may be yielded by op and job execution.""" STEP_OUTPUT = 'STEP_OUTPUT' STEP_INPUT = 'STEP_INPUT' STEP_FAILURE = 'STEP_FAILURE' STEP_START = 'STEP_START' STEP_SUCC...
@public class DagsterEventType(str, Enum): '''The types of events that may be yielded by op and job execution.''' pass
2
1
0
0
0
0
0
0.29
2
0
0
0
0
0
0
115
71
12
48
48
47
14
48
48
47
0
4
0
0
21,551
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.EngineEventData
from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedTuple, Optional, Tuple, Union, cast from dagster._utils.error import SerializableErrorInfo, serializable_error_info_from_exc_info, truncate_event_error_info from dagster._core.definition...
@whitelist_for_serdes(storage_field_names={'metadata': 'metadata_entries'}, field_serializers={'metadata': MetadataFieldSerializer}) class EngineEventData(NamedTuple('_EngineEventData', [('metadata', Mapping[str, MetadataValue]), ('error', Optional[SerializableErrorInfo]), ('marker_start', Optional[str]), ('marker_end'...
11
0
10
0
10
0
1
0.06
1
7
2
0
1
0
5
5
71
4
63
30
33
4
11
6
5
2
1
0
7
21,552
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.HandledOutputData
from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedTuple, Optional, Tuple, Union, cast from dagster._core.definitions.metadata import MetadataFieldSerializer, MetadataValue, RawMetadataValue, normalize_metadata from collections.abc impor...
@whitelist_for_serdes(storage_field_names={'metadata': 'metadata_entries'}, field_serializers={'metadata': MetadataFieldSerializer}) class HandledOutputData(NamedTuple('_HandledOutputData', [('output_name', str), ('manager_key', str), ('metadata', Mapping[str, MetadataValue])])): def __new__(cls, output_name: str,...
3
0
14
0
14
0
1
0
1
3
0
0
1
0
1
1
24
0
24
16
8
0
3
2
1
1
1
0
1
21,553
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.HookErroredData
from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedTuple, Optional, Tuple, Union, cast from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes from dagster._utils.error import SerializableErrorInfo, serializable_error_info_from_exc_info, truncate_event_error_info import dagster._check as chec...
@whitelist_for_serdes class HookErroredData(NamedTuple('_HookErroredData', [('error', SerializableErrorInfo)])): def __new__(cls, error: SerializableErrorInfo): pass
3
0
2
0
2
0
1
0
1
2
1
0
1
0
1
1
10
0
10
9
1
0
3
2
1
1
1
0
1
21,554
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.JobCanceledData
from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedTuple, Optional, Tuple, Union, cast import dagster._check as check from dagster._utils.error import SerializableErrorInfo, serializable_error_info_from_exc_info, truncate_event_error_inf...
@whitelist_for_serdes(storage_name='PipelineCanceledData') class JobCanceledData(NamedTuple('_JobCanceledData', [('error', Optional[SerializableErrorInfo])])): def __new__(cls, error: Optional[SerializableErrorInfo]): pass
3
0
4
0
4
0
1
0
1
2
1
0
1
0
1
1
12
0
12
9
3
0
3
2
1
1
1
0
1
21,555
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.JobFailureData
from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedTuple, Optional, Tuple, Union, cast from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes import dagster._check as check from dagster._utils.error import SerializableErrorInfo, serializable_error_info_from_exc_info, truncate_event_error_inf...
@whitelist_for_serdes(storage_name='PipelineFailureData') class JobFailureData(NamedTuple('_JobFailureData', [('error', Optional[SerializableErrorInfo]), ('failure_reason', Optional[RunFailureReason]), ('first_step_failure_event', Optional['DagsterEvent'])])): def __new__(cls, error: Optional[SerializableErrorInfo...
3
0
14
0
14
0
1
0
1
4
3
0
1
0
1
1
24
0
24
16
8
0
3
2
1
1
1
0
1
21,556
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.LoadedInputData
from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedTuple, Optional, Tuple, Union, cast from dagster._core.definitions.metadata import MetadataFieldSerializer, MetadataValue, RawMetadataValue, normalize_metadata from collections.abc impor...
@whitelist_for_serdes(storage_field_names={'metadata': 'metadata_entries'}, field_serializers={'metadata': MetadataFieldSerializer}) class LoadedInputData(NamedTuple('_LoadedInputData', [('input_name', str), ('manager_key', str), ('upstream_output_name', Optional[str]), ('upstream_step_key', Optional[str]), ('metadata'...
3
0
18
0
18
0
1
0
1
3
0
0
1
0
1
1
30
0
30
20
10
0
3
2
1
1
1
0
1
21,557
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.ObjectStoreOperationResultData
from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes from dagster._core.definitions.events import AssetLineageInfo, AssetMaterializationFailure, AssetMaterializationFailureReason, AssetMaterializationFailureType, ObjectStoreOperationType from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedT...
@whitelist_for_serdes(storage_field_names={'metadata': 'metadata_entries'}, field_serializers={'metadata': MetadataFieldSerializer}) class ObjectStoreOperationResultData(NamedTuple('_ObjectStoreOperationResultData', [('op', ObjectStoreOperationType), ('value_name', Optional[str]), ('metadata', Mapping[str, MetadataValu...
3
0
20
0
20
0
1
0
1
3
0
0
1
0
1
1
33
0
33
22
11
0
3
2
1
1
1
0
1
21,558
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.RunFailureReason
from enum import Enum from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes @whitelist_for_serdes(serializer=RunFailureReasonSerializer) class RunFailureReason(Enum): UNEXPECTED_TERMINATION = 'UNEXPECTED_TERMINATION' RUN_EXCEPTION = 'RUN_EXCEPTION' STEP_FAILURE = 'STEP_FAILURE' JOB_INI...
@whitelist_for_serdes(serializer=RunFailureReasonSerializer) class RunFailureReason(Enum): pass
2
0
0
0
0
0
0
0
1
0
0
0
0
0
0
49
8
0
8
8
7
0
8
8
7
0
4
0
0
21,559
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.RunFailureReasonSerializer
from dagster_shared.serdes.serdes import EnumSerializer, UnpackContext, is_whitelisted_for_serdes_object class RunFailureReasonSerializer(EnumSerializer): def unpack(self, value: str): try: RunFailureReason(value) except ValueError: return RunFailureReason.UNKNOWN r...
class RunFailureReasonSerializer(EnumSerializer): def unpack(self, value: str): pass
2
0
7
1
6
0
2
0
1
4
1
0
1
0
1
27
8
1
7
2
5
0
7
2
5
2
6
1
2
21,560
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.StepExpectationResultData
from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedTuple, Optional, Tuple, Union, cast from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes from dagster._core.definitions import AssetKey, AssetMaterialization, AssetObservation, ExpectationResult, HookDefinition, NodeHandle import dagster._...
@whitelist_for_serdes class StepExpectationResultData(NamedTuple('_StepExpectationResultData', [('expectation_result', ExpectationResult)])): def __new__(cls, expectation_result: ExpectationResult): pass
3
0
7
0
7
0
1
0
1
1
0
0
1
0
1
1
15
0
15
9
6
0
3
2
1
1
1
0
1
21,561
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/__init__.py
dagster._core.events.StepMaterializationData
from dagster._serdes import NamedTupleSerializer, whitelist_for_serdes from dagster._core.definitions.events import AssetLineageInfo, AssetMaterializationFailure, AssetMaterializationFailureReason, AssetMaterializationFailureType, ObjectStoreOperationType from typing import TYPE_CHECKING, AbstractSet, Any, Dict, NamedT...
@whitelist_for_serdes class StepMaterializationData(NamedTuple('_StepMaterializationData', [('materialization', AssetMaterialization), ('asset_lineage', Sequence[AssetLineageInfo])])): def __new__(cls, materialization: AssetMaterialization, asset_lineage: Optional[Sequence[AssetLineageInfo]]=None): pass
3
0
14
0
14
0
1
0
1
2
0
0
1
0
1
1
23
0
23
14
9
0
3
2
1
1
1
0
1
21,562
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/events/log.py
dagster._core.events.log.EventLogEntry
from dagster._core.definitions.events import AssetMaterialization, AssetObservation from dagster._utils.error import SerializableErrorInfo from dagster._core.utils import coerce_valid_log_level from collections.abc import Mapping from dagster._core.definitions.asset_checks.asset_check_evaluation import AssetCheckEvalua...
@whitelist_for_serdes(old_storage_names={'DagsterEventRecord', 'LogMessageRecord', 'EventRecord'}, old_fields={'message': ''}, storage_field_names={'job_name': 'pipeline_name'}) @public class EventLogEntry(NamedTuple('_EventLogEntry', [('error_info', PublicAttr[Optional[SerializableErrorInfo]]), ('level', PublicAttr[Un...
26
5
8
1
7
1
2
0.25
1
5
1
0
10
0
11
11
150
20
104
51
56
26
47
18
35
3
1
2
23
21,563
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/api.py
dagster._core.execution.api.ExecuteRunWithPlanIterable
import dagster._check as check from dagster._core.events import DagsterEvent, EngineEventData, JobFailureData, RunFailureReason from dagster._core.execution.context_creation_job import ExecutionContextManager, PlanExecutionContextManager, PlanOrchestrationContextManager, orchestration_context_event_generator, scoped_jo...
class ExecuteRunWithPlanIterable: '''Utility class to consolidate execution logic. This is a class and not a function because, e.g., in constructing a `scoped_pipeline_context` for `JobExecutionResult`, we need to pull out the `pipeline_context` after we're done yielding events. This broadly follows a ...
3
1
19
1
15
4
3
0.45
0
4
1
0
2
4
2
2
48
4
31
14
23
14
20
9
17
5
0
4
6
21,564
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/api.py
dagster._core.execution.api.ReexecuteFromFailureOption
class ReexecuteFromFailureOption(ReexecutionOptions): """Marker subclass used to calculate reexecution information later."""
class ReexecuteFromFailureOption(ReexecutionOptions): '''Marker subclass used to calculate reexecution information later.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
2
0
1
1
0
1
1
1
0
0
2
0
0
21,565
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/api.py
dagster._core.execution.api.ReexecutionOptions
from dagster._core.instance import DagsterInstance, InstanceRef from typing import AbstractSet, Any, Callable, NamedTuple, Optional, Union, cast from collections.abc import Iterator, Mapping, Sequence from dagster._annotations import public @public class ReexecutionOptions(NamedTuple): """Reexecution options for p...
@public class ReexecutionOptions(NamedTuple): '''Reexecution options for python-based execution in Dagster. Args: parent_run_id (str): The run_id of the run to reexecute. step_selection (Sequence[str]): The list of step selections to reexecute. Must be a subset or match of the ...
4
2
11
2
2
7
1
3.33
1
2
1
1
0
0
1
1
32
6
6
4
3
20
5
3
3
1
1
0
1
21,566
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/asset_backfill.py
dagster._core.execution.asset_backfill.AssetBackfillData
from dagster._core.definitions.assets.graph.asset_graph_subset import AssetGraphSubset from dagster._core.definitions.partitions.partition_key_range import PartitionKeyRange from dagster._core.utils import make_new_run_id, toposort from dagster._core.errors import DagsterAssetBackfillDataLoadError, DagsterBackfillFaile...
@whitelist_for_serdes class AssetBackfillData(NamedTuple): '''Has custom serialization instead of standard Dagster NamedTuple serialization because the asset graph is required to build the AssetGraphSubset objects. ''' @property def backfill_start_timestamp(self) -> float: pass @property...
34
8
21
2
18
2
2
0.13
1
17
8
0
16
0
22
22
485
57
382
129
300
48
141
71
116
6
1
3
45
21,567
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/asset_backfill.py
dagster._core.execution.asset_backfill.AssetBackfillIterationResult
from dagster._core.definitions.run_request import RunRequest from collections.abc import Iterable, Mapping, Sequence from typing import TYPE_CHECKING, Any, NamedTuple, Optional, Union, cast class AssetBackfillIterationResult(NamedTuple): run_requests: Sequence[RunRequest] backfill_data: AssetBackfillData r...
class AssetBackfillIterationResult(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,568
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/asset_backfill.py
dagster._core.execution.asset_backfill.AssetBackfillStatus
from enum import Enum class AssetBackfillStatus(Enum): IN_PROGRESS = 'IN_PROGRESS' MATERIALIZED = 'MATERIALIZED' FAILED = 'FAILED'
class AssetBackfillStatus(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,569
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/asset_backfill.py
dagster._core.execution.asset_backfill.PartitionedAssetBackfillStatus
from dagster._core.definitions.events import AssetKey, AssetKeyPartitionKey import dagster._check as check from typing import TYPE_CHECKING, Any, NamedTuple, Optional, Union, cast from collections.abc import Iterable, Mapping, Sequence class PartitionedAssetBackfillStatus(NamedTuple('_PartitionedAssetBackfillStatus', ...
class PartitionedAssetBackfillStatus(NamedTuple('_PartitionedAssetBackfillStatus', [('asset_key', AssetKey), ('num_targeted_partitions', int), ('partitions_counts_by_status', Mapping[AssetBackfillStatus, int])])): def __new__(cls, asset_key: AssetKey, num_targeted_partitions: int, partitions_counts_by_status: Map...
2
0
17
0
17
0
1
0
1
4
1
0
1
0
1
1
27
0
27
16
11
0
3
2
1
1
1
0
1
21,570
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/asset_backfill.py
dagster._core.execution.asset_backfill.UnpartitionedAssetBackfillStatus
import dagster._check as check from typing import TYPE_CHECKING, Any, NamedTuple, Optional, Union, cast from dagster._core.definitions.events import AssetKey, AssetKeyPartitionKey class UnpartitionedAssetBackfillStatus(NamedTuple('_UnpartitionedAssetBackfillStatus', [('asset_key', AssetKey), ('backfill_status', Option...
class UnpartitionedAssetBackfillStatus(NamedTuple('_UnpartitionedAssetBackfillStatus', [('asset_key', AssetKey), ('backfill_status', Optional[AssetBackfillStatus])])): def __new__(cls, asset_key: AssetKey, asset_backfill_status: Optional[AssetBackfillStatus]): pass
2
0
8
0
8
0
1
0
1
2
1
0
1
0
1
1
14
0
14
7
7
0
3
2
1
1
1
0
1
21,571
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/backfill.py
dagster._core.execution.backfill.BulkActionStatus
from enum import Enum from dagster._serdes import whitelist_for_serdes @whitelist_for_serdes class BulkActionStatus(Enum): REQUESTED = 'REQUESTED' COMPLETED = 'COMPLETED' FAILED = 'FAILED' CANCELING = 'CANCELING' CANCELED = 'CANCELED' COMPLETED_SUCCESS = 'COMPLETED_SUCCESS' COMPLETED_FAILED...
@whitelist_for_serdes class BulkActionStatus(Enum): @staticmethod def from_graphql_input(graphql_str): pass
4
0
2
0
2
0
1
0.27
1
0
0
0
0
0
1
50
12
1
11
10
8
3
10
9
8
1
4
0
1
21,572
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/backfill.py
dagster._core.execution.backfill.BulkActionsFilter
from typing import TYPE_CHECKING, Any, NamedTuple, Optional, Union from dagster._record import record from collections.abc import Mapping, Sequence from datetime import datetime @record class BulkActionsFilter: """Filters to use when querying for bulk actions (i.e. backfills) from the BulkActionsTable. Each f...
@record class BulkActionsFilter: '''Filters to use when querying for bulk actions (i.e. backfills) from the BulkActionsTable. Each field of the BulkActionsFilter represents a logical AND with each other. For example, if you specify status and created_before, then you will receive only bulk actions with ...
2
1
0
0
0
0
0
2.29
0
0
0
0
0
0
0
0
26
3
7
7
6
16
7
7
6
0
0
0
0
21,573
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/backfill.py
dagster._core.execution.backfill.PartitionBackfill
from dagster._core.definitions.utils import check_valid_title from dagster._core.execution.asset_backfill import AssetBackfillData, PartitionedAssetBackfillStatus, UnpartitionedAssetBackfillStatus from dagster._core.remote_origin import RemotePartitionSetOrigin from dagster._core.definitions.run_request import RunReque...
@whitelist_for_serdes class PartitionBackfill(NamedTuple('_PartitionBackfill', [('backfill_id', str), ('status', BulkActionStatus), ('from_failure', bool), ('tags', Mapping[str, str]), ('backfill_timestamp', float), ('error', Optional[SerializableErrorInfo]), ('asset_selection', Optional[Sequence[AssetKey]]), ('title',...
38
3
14
1
13
1
2
0.04
1
14
6
0
23
0
26
26
435
46
373
147
244
16
141
45
114
5
1
2
60
21,574
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/bulk_actions.py
dagster._core.execution.bulk_actions.BulkActionType
from enum import Enum from dagster._serdes import whitelist_for_serdes @whitelist_for_serdes class BulkActionType(Enum): PARTITION_BACKFILL = 'PARTITION_BACKFILL' MULTI_RUN_ASSET_ACTION = 'MULTI_RUN_ASSET_ACTION'
@whitelist_for_serdes class BulkActionType(Enum): pass
2
0
0
0
0
0
0
0
1
0
0
0
0
0
0
49
3
0
3
3
2
0
3
3
2
0
4
0
0
21,575
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/asset_check_execution_context.py
dagster._core.execution.context.asset_check_execution_context.AssetCheckExecutionContext
from dagster._core.definitions.repository_definition.repository_definition import RepositoryDefinition from dagster._core.definitions.step_launcher import StepLauncher from dagster._core.definitions.job_definition import JobDefinition from dagster._core.storage.dagster_run import DagsterRun from dagster._core.execution...
@public class AssetCheckExecutionContext: def __init__(self, op_execution_context: OpExecutionContext) -> None: pass @staticmethod def get() -> 'AssetCheckExecutionContext': pass @property def op_execution_context(self) -> OpExecutionContext: pass @public @property ...
52
6
4
0
3
1
1
0.27
0
8
4
0
17
2
18
18
124
22
81
40
29
22
44
23
24
3
0
1
20
21,576
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/asset_execution_context.py
dagster._core.execution.context.asset_execution_context.AssetExecutionContext
from dagster._core.events import DagsterEvent from dagster._core.definitions.data_version import DataProvenance, DataVersion from dagster._core.log_manager import DagsterLogManager from dagster._core.definitions.events import AssetKey, CoercibleToAssetKey, UserEvent from dagster._core.definitions.job_definition import ...
@public class AssetExecutionContext: def __init__(self, op_execution_context: OpExecutionContext) -> None: pass @staticmethod def get() -> 'AssetExecutionContext': pass @property def op_execution_context(self) -> OpExecutionContext: pass @public @property def log...
223
6
4
0
3
1
1
0.25
0
14
7
1
65
2
66
66
514
100
331
155
90
84
141
72
72
3
0
1
68
21,577
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/data_version_cache.py
dagster._core.execution.context.data_version_cache.DataVersionCache
import os from dagster._core.definitions.events import AssetKey from dagster._core.definitions.data_version import DATA_VERSION_TAG, SKIP_PARTITION_DATA_VERSION_DEPENDENCY_THRESHOLD, extract_data_version_from_entry from typing import Optional import dagster._check as check from hashlib import sha256 from collections.ab...
class DataVersionCache: def __init__(self, context: 'StepExecutionContext'): pass def set_data_version(self, asset_key: AssetKey, data_version: 'DataVersion') -> None: pass def has_data_version(self, asset_key: AssetKey) -> bool: pass def get_data_version(self, asset_key: As...
13
0
12
1
10
1
2
0.16
0
10
3
0
12
4
12
12
158
19
121
50
99
19
83
44
67
5
0
4
29
21,578
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/data_version_cache.py
dagster._core.execution.context.data_version_cache.InputAssetVersionInfo
from typing import Optional from dataclasses import dataclass @dataclass class InputAssetVersionInfo: storage_id: int event_type: 'DagsterEventType' data_version: Optional['DataVersion'] run_id: str timestamp: float
@dataclass class InputAssetVersionInfo: pass
2
0
0
0
0
0
0
1.33
0
0
0
0
0
0
0
0
18
4
6
1
5
8
6
1
5
0
0
0
0
21,579
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/hook.py
dagster._core.execution.context.hook.BoundHookContext
from dagster._core.execution.plan.step import ExecutionStep from dagster._core.errors import DagsterInvalidPropertyError, DagsterInvariantViolationError from dagster._core.log_manager import DagsterLogManager from collections.abc import Mapping from typing import TYPE_CHECKING, AbstractSet, Any, Optional, Union from da...
class BoundHookContext(HookContext): def __init__(self, hook_def: HookDefinition, resources: Resources, op: Optional[Node], log_manager: DagsterLogManager, run_id: Optional[str], job_name: Optional[str], op_exception: Optional[Exception], instance: Optional['DagsterInstance']): pass @property def ...
30
2
5
0
4
1
1
0.14
1
4
0
0
15
8
15
29
100
17
73
48
33
10
40
24
24
2
1
1
16
21,580
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/hook.py
dagster._core.execution.context.hook.HookContext
from typing import TYPE_CHECKING, AbstractSet, Any, Optional, Union from dagster._core.execution.plan.utils import RetryRequestedFromPolicy import dagster._check as check from collections.abc import Mapping from dagster._core.log_manager import DagsterLogManager from dagster._core.definitions.hook_definition import Hoo...
@public class HookContext: '''The ``context`` object available to a hook function on an DagsterEvent.''' def __init__(self, step_execution_context: StepExecutionContext, hook_def: HookDefinition): pass @public @property def job_name(self) -> str: '''The name of the job where this ho...
41
14
8
1
5
2
2
0.27
0
6
1
2
14
4
14
14
150
24
99
44
55
27
56
27
41
5
0
3
24
21,581
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/hook.py
dagster._core.execution.context.hook.UnboundHookContext
from dagster._core.definitions.decorators.graph_decorator import graph from dagster._core.execution.plan.step import ExecutionStep from collections.abc import Mapping from typing import TYPE_CHECKING, AbstractSet, Any, Optional, Union from dagster._core.definitions.op_definition import OpDefinition from dagster._core.d...
class UnboundHookContext(HookContext): def __init__(self, resources: Mapping[str, Any], op: Optional[Union[OpDefinition, PendingNodeInvocation]], run_id: Optional[str], job_name: Optional[str], op_exception: Optional[Exception], instance: Optional['DagsterInstance']): pass @graph(name='hook_co...
35
2
6
1
4
1
1
0.11
1
6
0
0
18
11
18
32
136
27
98
59
50
11
59
33
37
2
1
1
23
21,582
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/init.py
dagster._core.execution.context.init.InitResourceContext
from dagster._annotations import deprecated, public import dagster._check as check from dagster._core.instance import DagsterInstance from collections.abc import Mapping import asyncio from typing import Any, Optional, Union from dagster._core.log_manager import DagsterLogManager from dagster._core.storage.dagster_run ...
@public class InitResourceContext: '''The context object available as the argument to the initialization function of a :py:class:`dagster.ResourceDefinition`. Users should not instantiate this object directly. To construct an `InitResourceContext` for testing purposes, use :py:func:`dagster.build_init_resource_...
35
10
5
0
4
1
1
0.37
0
4
1
1
11
7
11
11
100
15
62
37
25
23
29
19
17
2
0
0
12
21,583
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/init.py
dagster._core.execution.context.init.UnboundInitResourceContext
from dagster._core.log_manager import DagsterLogManager from dagster._core.instance import DagsterInstance from typing import Any, Optional, Union from dagster._core.definitions.resource_definition import IContainsGenerator, ResourceDefinition, Resources from collections.abc import Mapping from dagster._core.errors imp...
class UnboundInitResourceContext(InitResourceContext): '''Resource initialization context outputted by ``build_init_resource_context``. Represents a context whose config has not yet been validated against a resource definition, hence the inability to access the `resource_def` attribute. When an instance of...
20
2
7
0
6
0
1
0.14
1
5
1
0
12
7
12
23
114
18
84
38
53
12
47
23
31
3
1
1
17
21,584
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/input.py
dagster._core.execution.context.input.InputContext
from dagster._utils.warnings import normalize_renamed_param from dagster._core.errors import DagsterInvariantViolationError from dagster._core.definitions.partitions.subset import PartitionsSubset from collections.abc import Iterable, Iterator, Mapping, Sequence from dagster._core.definitions.events import AssetKey, As...
@deprecated_param(param='metadata', breaking_version='2.0', additional_warn_text='Use `definition_metadata` instead.') @public class InputContext: '''The ``context`` object available to the load_input method of :py:class:`InputManager`. Users should not instantiate this object directly. In order to construct ...
85
28
12
1
8
3
2
0.36
0
10
3
0
34
22
34
34
504
80
312
121
199
112
163
69
124
4
0
2
64
21,585
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/input.py
dagster._core.execution.context.input.KeyRangeNoPartitionsDefPartitionsSubset
from dagster._core.definitions.partitions.partition_key_range import PartitionKeyRange from datetime import datetime from collections.abc import Iterable, Iterator, Mapping, Sequence from dagster._core.definitions.partitions.subset import PartitionsSubset from typing import TYPE_CHECKING, Any, Optional, Union class Ke...
class KeyRangeNoPartitionsDefPartitionsSubset(PartitionsSubset): '''For build_input_context when no PartitionsDefinition has been provided.''' def __init__(self, key_range: PartitionKeyRange): pass def get_partition_keys_not_in_subset(self, partitions_def: 'PartitionsDefinition') -> Iterable[str]...
19
1
4
0
4
0
1
0.02
1
8
1
0
11
1
14
14
75
14
60
44
17
1
31
16
16
2
1
1
15
21,586
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/invocation.py
dagster._core.execution.context.invocation.BaseDirectExecutionContext
from abc import abstractmethod from dagster._core.types.dagster_type import DagsterType from dagster._core.definitions.assets.definition.assets_definition import AssetsDefinition from dagster._core.execution.context.system import StepExecutionContext, TypeCheckContext from typing import TYPE_CHECKING, AbstractSet, Any,...
class BaseDirectExecutionContext: '''Base class for any direct invocation execution contexts. Each type of execution context (ex. OpExecutionContext, AssetExecutionContext) needs to have a variant for direct invocation. Those direct invocation contexts have some methods that are not available until the con...
15
7
4
0
3
1
1
0.67
0
4
1
2
6
0
6
6
46
6
24
20
2
16
9
7
2
1
0
0
6
21,587
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/invocation.py
dagster._core.execution.context.invocation.DirectAssetExecutionContext
from typing import TYPE_CHECKING, AbstractSet, Any, NamedTuple, Optional, Union, cast from dagster._core.definitions.op_definition import OpDefinition from collections.abc import Mapping, Sequence from dagster._core.definitions.composition import PendingNodeInvocation from dagster._core.definitions.assets.definition.as...
class DirectAssetExecutionContext(AssetExecutionContext, BaseDirectExecutionContext): '''The ``context`` object available as the first argument to an asset's compute function when being invoked directly. Can also be used as a context manager. ''' def __init__(self, op_execution_context: DirectOpExecut...
18
1
4
0
4
0
1
0.14
2
8
4
0
13
1
13
85
75
15
57
26
32
8
34
15
20
3
1
1
16
21,588
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/invocation.py
dagster._core.execution.context.invocation.DirectExecutionProperties
from collections.abc import Mapping, Sequence from typing import TYPE_CHECKING, AbstractSet, Any, NamedTuple, Optional, Union, cast from dagster._core.definitions.events import AssetMaterialization, AssetObservation, ExpectationResult, UserEvent class DirectExecutionProperties: """Maintains information about the e...
class DirectExecutionProperties: '''Maintains information about the execution that can only be updated during execution (when the context is bound), but can be read after execution is complete. It needs to be cleared before the context is used for another execution. This is not implemented as a NamedTu...
2
1
6
0
6
0
1
0.86
0
7
0
0
1
5
1
1
15
2
7
7
5
6
7
7
5
1
0
0
1
21,589
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/invocation.py
dagster._core.execution.context.invocation.DirectOpExecutionContext
from dagster._core.types.dagster_type import DagsterType from dagster._utils.forked_pdb import ForkedPdb from typing import TYPE_CHECKING, AbstractSet, Any, NamedTuple, Optional, Union, cast from dagster._core.definitions.partitions.partition_key_range import PartitionKeyRange from dagster._core.definitions.op_definiti...
class DirectOpExecutionContext(OpExecutionContext, BaseDirectExecutionContext): '''The ``context`` object available as the first argument to an op's compute function when being invoked directly. Can also be used as a context manager. ''' def __init__(self, op_config: Any, resources_dict: Mapping[str, ...
87
8
10
1
7
2
2
0.21
2
18
9
0
53
16
53
153
599
102
410
152
298
88
231
97
174
13
6
3
91
21,590
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/invocation.py
dagster._core.execution.context.invocation.PerInvocationProperties
from dagster._core.definitions.resource_definition import IContainsGenerator, ResourceDefinition, Resources, ScopedResourcesBuilder from dagster._core.definitions.hook_definition import HookDefinition from dagster._core.definitions.assets.definition.assets_definition import AssetsDefinition from typing import TYPE_CHEC...
class PerInvocationProperties(NamedTuple('_PerInvocationProperties', [('op_def', OpDefinition), ('tags', Mapping[Any, Any]), ('hook_defs', Optional[AbstractSet[HookDefinition]]), ('alias', str), ('assets_def', Optional[AssetsDefinition]), ('resources', Resources), ('op_config', Any), ('step_description', str)])): ...
2
1
22
0
22
0
1
0.11
1
4
0
0
1
0
1
1
42
1
37
26
11
4
3
2
1
1
1
0
1
21,591
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/logger.py
dagster._core.execution.context.logger.InitLoggerContext
from dagster._core.definitions.logger_definition import LoggerDefinition from typing import Any, Optional from dagster._annotations import public from dagster._core.definitions.job_definition import JobDefinition import dagster._check as check @public class InitLoggerContext: """The context object available as the...
@public class InitLoggerContext: '''The context object available as the argument to the initialization function of a :py:class:`dagster.LoggerDefinition`. Users should not instantiate this object directly. To construct an `InitLoggerContext` for testing purposes, use :py:func:`dagster. build_init_logger...
14
5
5
0
4
1
1
0.63
0
3
1
1
5
4
5
5
54
10
27
20
8
17
14
10
8
1
0
0
5
21,592
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/logger.py
dagster._core.execution.context.logger.UnboundInitLoggerContext
from dagster._core.definitions.job_definition import JobDefinition from dagster._core.execution.context.output import RUN_ID_PLACEHOLDER from dagster._core.definitions.logger_definition import LoggerDefinition from dagster._core.errors import DagsterInvariantViolationError from typing import Any, Optional class Unboun...
class UnboundInitLoggerContext(InitLoggerContext): '''Logger initialization context outputted by ``build_init_logger_context``. Represents a context whose config has not yet been validated against a logger definition, hence the inability to access the `logger_def` attribute. When an instance of ``Unbou...
6
1
3
0
3
0
1
0.55
1
4
1
0
3
0
3
8
21
4
11
6
5
6
7
4
3
1
1
0
3
21,593
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/metadata_logging.py
dagster._core.execution.context.metadata_logging.AssetMetadataHandle
from dagster._core.definitions.asset_key import AssetKey from dagster._record import record from typing import Any, Optional, Union @record class AssetMetadataHandle: asset_key: AssetKey partition_key: Optional[str]
@record class AssetMetadataHandle: pass
2
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0
3
1
2
0
3
1
2
0
0
0
0
21,594
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/metadata_logging.py
dagster._core.execution.context.metadata_logging.OutputMetadataAccumulator
from dagster._utils.merger import merge_dicts from dagster._record import record from collections.abc import Mapping from typing import Any, Optional, Union from dagster._core.definitions.asset_key import AssetKey @record class OutputMetadataAccumulator: per_output_metadata: Mapping[Union[OutputMetadataHandle, Ass...
@record class OutputMetadataAccumulator: @staticmethod def empty() -> 'OutputMetadataAccumulator': pass def get_output_metadata(self, output_name: str, mapping_key: Optional[str]) -> Mapping[str, Any]: pass def get_asset_metadata(self, asset_key: AssetKey, partition_key: Optional[str]...
9
0
9
0
9
0
1
0
0
5
2
0
5
0
6
6
64
6
58
26
34
0
16
9
9
1
0
0
6
21,595
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/metadata_logging.py
dagster._core.execution.context.metadata_logging.OutputMetadataHandle
from dagster._record import record from typing import Any, Optional, Union @record class OutputMetadataHandle: output_name: str mapping_key: Optional[str]
@record class OutputMetadataHandle: pass
2
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0
3
1
2
0
3
1
2
0
0
0
0
21,596
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/op_execution_context.py
dagster._core.execution.context.op_execution_context.AbstractComputeExecutionContext
from dagster._core.storage.dagster_run import DagsterRun from dagster._core.definitions.op_definition import OpDefinition from dagster._core.log_manager import DagsterLogManager from abc import ABC, abstractmethod from typing import AbstractSet, Any, Optional, cast from dagster._core.definitions.job_definition import J...
class AbstractComputeExecutionContext(ABC): '''Base class for op context implemented by OpExecutionContext and DagstermillExecutionContext.''' @abstractmethod def has_tag(self, key: str) -> bool: '''Implement this method to check if a logging tag is set.''' pass @abstractmethod def ...
29
11
2
0
1
1
1
0.38
1
4
1
2
10
0
10
30
50
10
29
21
0
11
11
11
0
1
4
0
10
21,597
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/op_execution_context.py
dagster._core.execution.context.op_execution_context.OpExecutionContext
from dagster._core.errors import DagsterInvalidPropertyError, DagsterInvariantViolationError from dagster._core.instance import DagsterInstance from dagster._core.definitions.dependency import Node, NodeHandle from dagster._core.definitions.asset_checks.asset_check_evaluation import AssetCheckEvaluation from dagster._c...
@public class OpExecutionContext(AbstractComputeExecutionContext): '''The ``context`` object that can be made available as the first argument to the function used for computing an op or asset. This context object provides system information such as resources, config, and logging. To construct an executi...
156
58
16
3
4
9
1
1.81
1
15
5
1
63
4
64
94
1,172
263
323
150
161
586
180
85
114
4
5
1
81
21,598
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/output.py
dagster._core.execution.context.output.OutputContext
from dagster._core.definitions.partitions.partition_key_range import PartitionKeyRange from typing import TYPE_CHECKING, Any, ContextManager, Optional, Union, cast from dagster._core.definitions.assets.definition.asset_spec import AssetSpec from dagster._core.definitions.partitions.context import partition_loading_cont...
@public @deprecated_param(param='metadata', breaking_version='2.0', additional_warn_text='Use `definition_metadata` instead.') class OutputContext: '''The context object that is available to the `handle_output` method of an :py:class:`IOManager`. Users should not instantiate this object directly. To construct a...
102
35
13
2
9
3
2
0.31
0
11
3
0
42
1
42
42
698
111
449
122
317
138
235
64
187
5
0
2
80
21,599
dagster-io/dagster
dagster-io_dagster/python_modules/dagster/dagster/_core/execution/context/system.py
dagster._core.execution.context.system.DagsterTypeLoaderContext
from dagster._annotations import public @public class DagsterTypeLoaderContext(StepExecutionContext): """The context object provided to a :py:class:`@dagster_type_loader <dagster_type_loader>`-decorated function during execution. Users should not construct this object directly. """ @public @prope...
@public class DagsterTypeLoaderContext(StepExecutionContext): '''The context object provided to a :py:class:`@dagster_type_loader <dagster_type_loader>`-decorated function during execution. Users should not construct this object directly. ''' @public @property def resources(self) -> 'Resources':...
13
4
3
0
2
1
1
0.38
1
1
0
0
4
0
4
126
27
5
16
9
4
6
9
5
4
1
7
0
4