Bases: BlueprintFunctionLibrary
Utility class for acquiring and releasing TDS accounts.
C++ Source:
-
classmethod acquire_tds_account(template_host, template_name, client_id='') → str
Acquires a TDS account and sets the exchange code to be used for authentication.
- Parameters:
template_host (str) – Address of the TDS service
template_name (str) – Template name of the TDS account
client_id (str) – Service application ID to target. Set to empty to use the default
- Returns:
Accound ID of acquired TDS account.
- Return type:
str
-
classmethod release_tds_account(template_host, account_id) → bool
Releases the account back to the pool.
- Parameters:
-
- Returns:
True if account was released, false otherwise
- Return type:
bool