ServiceRemoteAttachmentFunctionPool¶
- class dsviper.ServiceRemoteAttachmentFunctionPool¶
Bases:
objectA pool whose functions take an AttachmentMutating as their first argument.
The caller supplies that state on every call; the pool holds none.
Note: Not directly instantiable.
- check(func_name: str) ServiceRemoteAttachmentFunctionPoolFunction¶
Return the declaration of the attachment function named func_name, or raise if the pool has none.
- documentation() str¶
Return the documentation the service gives the pool, empty when it gives none.
- functions() list[ServiceRemoteAttachmentFunctionPoolFunction]¶
Return the list of function declarations.
- name() str¶
Return the pool name as declared.
- query(func_name: str) ServiceRemoteAttachmentFunctionPoolFunction | None¶
Return the declaration of the attachment function named func_name, or None if the pool has none.