andreahlert opened a new pull request, #794:
URL: https://github.com/apache/burr/pull/794

   This change introduces a configurable allowlist for pydantic deserialization 
to give users more control over which modules can be dynamically loaded during 
state restoration.
   
   Changes:
   - `set_allowlist([...])` for global configuration
   - Per-call `allowlist=` kwarg in `State.deserialize()`
   - Backward-compatible: without an allowlist, behavior is unchanged with a 
runtime warning
   - Rejects unauthorized modules with a clear `ValueError`
   
   Includes tests for allowlist acceptance, rejection, and global configuration.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to