acquire • AI Agent SDK

acquire: API reference for LocalTurnLock.acquire

acquire

Async

Method

</div>

This is a method of the LocalTurnLock class in the protocols module.

Signature

python
async def acquire(key: str) -> TurnLeaseToken

Parameters

ParamField str

No description available.

Returns

ResponseField TurnLeaseToken

The result of the operation.

Uses

  • lock.acquire
  • TurnLeaseToken

Used By

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 7440