示例#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,)
示例#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,)
示例#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,)
示例#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, )
示例#5
0
def recipient_cache_items(items_for_memcached, recipient):
    items_for_memcached[get_recipient_cache_key(recipient.type, recipient.type_id)] = (recipient,)
示例#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, )