hold • AI Agent SDK
hold: API reference for LocalTurnLock.hold
hold
Method
</div>
This is a method of the LocalTurnLock class in the protocols module.
Signature
def hold(key: str) -> 'AbstractAsyncContextManager[TurnLeaseToken]'Parameters
ParamField
strNo description available.
Returns
ResponseField
'AbstractAsyncContextManager[TurnLeaseToken]'The result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 7459