load • AI Agent SDK

load: API reference for PermissionAllowlist.load

load

Method

</div>

This is a method of the PermissionAllowlist class in the approval module.

Signature

python
def load(filepath: str) -> 'PermissionAllowlist'

Parameters

ParamField str

No description available.

Returns

ResponseField 'PermissionAllowlist'

The result of the operation.

Uses

  • cls
  • exists
  • json.load
  • quarantine_corrupt_file
  • logger.warning
  • allowlist.add_tool

Used By

Source

View on GitHub

praisonaiagents/approval/__init__.py at line 344