Skip to content

Commit 53fad07

Browse files
committed
add KVS record_exists not implemented
1 parent 8dfaffb commit 53fad07

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies = [
3737
"apify-client>=1.11.0",
3838
"apify-shared>=1.3.0",
3939
"cachetools>=5.5.0",
40-
"crawlee@git+https://github.com/apify/crawlee-python.git@new-storage-clients",
40+
"crawlee@git+https://github.com/apify/crawlee-python.git@bc50990dd09eb5c2b66783b2fa62a8bc689a7737",
4141
"cryptography>=42.0.0",
4242
"httpx>=0.27.0",
4343
# TODO: ensure compatibility with the latest version of lazy-object-proxy

src/apify/storage_clients/_apify/_key_value_store_client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,12 @@ async def iterate_keys(
199199

200200
await self._update_metadata()
201201

202+
@override
203+
async def record_exists(self, key: str) -> bool:
204+
raise NotImplementedError(
205+
'Checking if a record exists is currently not supported in the Apify storage client. '
206+
)
207+
202208
async def get_public_url(self, key: str) -> str:
203209
"""Get a URL for the given key that may be used to publicly access the value in the remote key-value store.
204210

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)