KeyValueStoreClient
Index
Methods
__init__
Parameters
optionalkeyword-onlyapify_key_value_store_client: KeyValueStoreClientAsync
optionalkeyword-onlyapi_public_base_url: str
Returns None
delete
Returns None
delete_record
Parameters
optionalkeyword-onlykey: str
Returns None
get
Returns KeyValueStoreMetadata | None
get_public_url
Get a URL for the given key that may be used to publicly access the value in the remote key-value store.
Parameters
optionalkeyword-onlykey: str
The key for which the URL should be generated.
Returns str
get_record
Parameters
optionalkeyword-onlykey: str
Returns KeyValueStoreRecord | None
get_record_as_bytes
Parameters
optionalkeyword-onlykey: str
Returns KeyValueStoreRecord | None
list_keys
Parameters
optionalkeyword-onlylimit: int = 1000
optionalkeyword-onlyexclusive_start_key: str | None = None
Returns KeyValueStoreListKeysPage
set_record
Parameters
optionalkeyword-onlykey: str
optionalkeyword-onlyvalue: Any
optionalkeyword-onlycontent_type: str | None = None
Returns None
stream_record
Parameters
optionalkeyword-onlykey: str
Returns AbstractAsyncContextManager[KeyValueStoreRecord[Response] | None]
update
Parameters
optionalkeyword-onlyname: str | None = None
Returns KeyValueStoreMetadata
Key-value store resource client implementation based on the Apify platform storage.