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,)
def recipient_cache_items(items_for_remote_cache, recipient): items_for_remote_cache[get_recipient_cache_key(recipient.type, recipient.type_id)] = (recipient,)
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,)
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, )
def recipient_cache_items(items_for_memcached, recipient): items_for_memcached[get_recipient_cache_key(recipient.type, recipient.type_id)] = (recipient,)
def recipient_cache_items(items_for_remote_cache, recipient): items_for_remote_cache[get_recipient_cache_key( recipient.type, recipient.type_id)] = (recipient, )