class documentation
class unsafe: (source)
Contains static methods that should not normally be called during workflow execution except in advanced cases.
Static Method | imports |
Context manager to mark all imports that occur within it as passed through (meaning not reloaded by the sandbox). |
Static Method | in |
Whether the code is executing on a sandboxed thread. |
Static Method | is |
Whether the current block of code is in imports_passed_through. |
Static Method | is |
Whether the workflow is currently replaying. |
Static Method | is |
Whether the current block of code is not restricted via sandbox. |
Static Method | sandbox |
A context manager to run code without sandbox restrictions. |
Method | __init__ |
Undocumented |
Static Method | _set |
Undocumented |
Context manager to mark all imports that occur within it as passed through (meaning not reloaded by the sandbox).
Whether the code is executing on a sandboxed thread.
Returns | |
bool | True if the code is executing in the sandbox thread. |
Whether the current block of code is in imports_passed_through.
Returns | |
bool | True if the current code's imports will be passed through |
Whether the current block of code is not restricted via sandbox.
Returns | |
bool | True if the current code is not restricted in the sandbox. |