module documentation

Restrictions for workflow sandbox.

Warning

This API for this module is considered unstable and may change in future.

Class RestrictedModule Module that is restricted.
Class RestrictionContext Context passed around restrictions.
Constant LOG_TRACE Undocumented
Variable logger Undocumented
Class _RestrictedProxy Undocumented
Class _RestrictedProxyIOp Undocumented
Class _RestrictedProxyLookup No class docstring; 0/5 instance variable, 1/5 method documented
Class _RestrictionState Undocumented
Function _is_restrictable Undocumented
Function _l_to_r_op Swap the argument order to turn an l-op into an r-op.
Function _public_callables Undocumented
Function _trace Undocumented
Type Variable _OpF Undocumented
Variable _stdlib_module_names Undocumented
LOG_TRACE: bool = (source)

Undocumented

Value
False

Undocumented

def _is_restrictable(v: Any) -> bool: (source)

Undocumented

def _l_to_r_op(op: _OpF) -> _OpF: (source)

Swap the argument order to turn an l-op into an r-op.

def _public_callables(parent: Any, *, exclude: Set[str] = set()) -> Set[str]: (source)

Undocumented

def _trace(message: object, *args: object): (source)

Undocumented

Undocumented

Value
TypeVar('_OpF',
        bound=Callable[..., Any])
_stdlib_module_names: str = (source)

Undocumented