class documentation

class SandboxImportNotificationPolicy(Flag): (source)

View In Hierarchy

Defines the behavior taken when modules are imported into the sandbox after the workflow is initially loaded or unintentionally missing from the passthrough list.

Constant RAISE_ON_UNINTENTIONAL_PASSTHROUGH Raise an error when an import is triggered in the sandbox that was unintentionally passed through.
Constant SILENT Allow imports that do not violate sandbox restrictions and no warnings are generated.
Constant WARN_ON_DYNAMIC_IMPORT Allows dynamic imports that do not violate sandbox restrictions but issues a warning when an import is triggered in the sandbox after initial workflow load.
Constant WARN_ON_UNINTENTIONAL_PASSTHROUGH Allows imports that do not violate sandbox restrictions but issues a warning when an import is triggered in the sandbox that was unintentionally passed through.
RAISE_ON_UNINTENTIONAL_PASSTHROUGH = (source)

Raise an error when an import is triggered in the sandbox that was unintentionally passed through.

Value
auto()

Allow imports that do not violate sandbox restrictions and no warnings are generated.

Value
auto()
WARN_ON_DYNAMIC_IMPORT = (source)

Allows dynamic imports that do not violate sandbox restrictions but issues a warning when an import is triggered in the sandbox after initial workflow load.

Value
auto()
WARN_ON_UNINTENTIONAL_PASSTHROUGH = (source)

Allows imports that do not violate sandbox restrictions but issues a warning when an import is triggered in the sandbox that was unintentionally passed through.

Value
auto()