Client SDK
Python SDK for HTTPActionServer.
HTTPActionClient(base_url, *, shared_secret=None) wraps a single
requests.Session and exposes execute(actions) which POSTs the JSON
action list to <base_url>/actions. The client is intentionally thin:
it handles auth header assembly, response-code checking, and error
translation, but makes no attempt to mirror ActionExecutor’s API
surface — callers pass the same action-list shape they would pass to
execute_action.
- class automation_file.client.http_client.HTTPActionClient(base_url, *, shared_secret=None, timeout=30.0, verify_loopback=False)[source]
Bases:
objectSynchronous SDK for a running
HTTPActionServer.
- exception automation_file.client.http_client.HTTPActionClientException[source]
Bases:
FileAutomationExceptionRaised when the server rejects a request or the response is malformed.