reserve • AI Agent SDK
reserve: Atomically claim “key“; “False“ if seen-or-in-flight.
reserve
Method
</div>
This is a method of the IdempotencyStoreProtocol class in the protocols module.
Atomically claim `key; False` if seen-or-in-flight.
Signature
def reserve(key: str) -> boolParameters
ParamField
strNo description available.
Returns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 2151