ServiceRemoteFunctionPool

class dsviper.ServiceRemoteFunctionPool

Bases: object

A pool whose functions take only the parameters they declare.

Its name, uuid, documentation, and the functions it declares.

Note: Not directly instantiable.

check(func_name: str) → ServiceRemoteFunctionPoolFunction

Return the declaration of the 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[ServiceRemoteFunctionPoolFunction]

Return the list of function declarations.

name() → str

Return the pool name as declared.

query(func_name: str) → ServiceRemoteFunctionPoolFunction | None

Return the declaration of the function named func_name, or None if the pool has none.

uuid() → ValueUUId

Return the uuid the pool is registered under.