sdk-python icon indicating copy to clipboard operation
sdk-python copied to clipboard

[Feature Request] Allow workflow logger to opt-out of sandboxing

Open cretz opened this issue 11 months ago • 0 comments

Describe the solution you'd like

Some users have advanced logger handlers that cannot work in sandbox mode. I think we can add a temporalio.workflow.logger.unsafe_disable_sandbox() call on the logger and if set, the process call can be wrapped in with temporalio.workflow.unsafe.sandbox_unrestricted() and workflow.unsafe.imports_passed_through().

cretz avatar Mar 12 '24 17:03 cretz