Skip to content

KeyValueStore: Method to check key-value store record exists #178

@drobnikj

Description

@drobnikj

It is impossible to check if a key-value record exists, and users use kvs.getRecord instead, which is inefficient.

The implementation is simple: to check if a record exists, you can use an HTTP request with the method HEAD get Record API URL.

Method:
keyValueStoreClient.exists(key: str): bool
which returns true or false based on the record.

Metadata

Metadata

Assignees

Labels

backendIssues related to the platform backend.low priorityLow priority issues to be done eventually.product roadmapIssues synchronized to product roadmap.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions