GitHub

RequestsForAddress

API reference for RequestsForAddress.

A storage (StorageBase or EncodedStorage) that can list the requests saved for an address. Every storage pyfect ships is one. On a storage that is not, a shared child workflow on a cluster wakes only the parent that started it.

Functions

requests_for_address

requests_for_address(*, address, tag) -> Effect[list[PartialRequestEncoded], PersistenceError]

Every request saved for address under the RPC tag, processed or not, in no particular order (Effect's requestsForAddress). The entity type, entity id and tag match exactly, including case; the shard is ignored, so requests saved before a shard reassignment are included.

ParameterTypeDescription
addressEntityAddress
tagstr

Returns Effect[list[PartialRequestEncoded], PersistenceError]

def requests_for_address(
    self, *, address: EntityAddress, tag: str
) -> Effect[list[PartialRequestEncoded], PersistenceError]:
    """Every request saved for ``address`` under the RPC ``tag``,
    processed or not, in no particular order (Effect's
    ``requestsForAddress``). The entity type, entity id and tag match
    exactly, including case; the shard is ignored, so requests saved
    before a shard reassignment are included."""
    ...