Ejemplo n.º 1
0
def recipient_cache_items(items_for_remote_cache, recipient):
    # type: (Dict[text_type, Tuple[Recipient]], Recipient) -> None
    items_for_remote_cache[get_recipient_cache_key(recipient.type, recipient.type_id)] = (recipient,)
Ejemplo n.º 2
0
def recipient_cache_items(items_for_remote_cache, recipient):
    items_for_remote_cache[get_recipient_cache_key(recipient.type, recipient.type_id)] = (recipient,)
Ejemplo n.º 3
0
def recipient_cache_items(items_for_remote_cache: Dict[Text, Tuple[Recipient]],
                          recipient: Recipient) -> None:
    items_for_remote_cache[get_recipient_cache_key(recipient.type, recipient.type_id)] = (recipient,)
Ejemplo n.º 4
0
def recipient_cache_items(items_for_remote_cache: Dict[str, Tuple[Recipient]],
                          recipient: Recipient) -> None:
    items_for_remote_cache[get_recipient_cache_key(
        recipient.type, recipient.type_id)] = (recipient, )
Ejemplo n.º 5
0
def recipient_cache_items(items_for_memcached, recipient):
    items_for_memcached[get_recipient_cache_key(recipient.type, recipient.type_id)] = (recipient,)
Ejemplo n.º 6
0
def recipient_cache_items(items_for_remote_cache, recipient):
    items_for_remote_cache[get_recipient_cache_key(
        recipient.type, recipient.type_id)] = (recipient, )