Beispiel #1
0
def stream_cache_items(items_for_remote_cache, stream):
    # type: (Dict[text_type, Tuple[Stream]], Stream) -> None
    items_for_remote_cache[get_stream_cache_key(stream.name, stream.realm_id)] = (stream,)
Beispiel #2
0
def stream_cache_items(items_for_remote_cache, stream):
    items_for_remote_cache[get_stream_cache_key(stream.name, stream.realm_id)] = (stream,)
Beispiel #3
0
def stream_cache_items(items_for_remote_cache: Dict[str, Tuple[Stream]],
                       stream: Stream) -> None:
    items_for_remote_cache[get_stream_cache_key(stream.name,
                                                stream.realm_id)] = (stream, )
Beispiel #4
0
def stream_cache_items(items_for_remote_cache: Dict[Text, Tuple[Stream]],
                       stream: Stream) -> None:
    items_for_remote_cache[get_stream_cache_key(stream.name, stream.realm_id)] = (stream,)
Beispiel #5
0
def stream_cache_items(items_for_memcached, stream):
    items_for_memcached[get_stream_cache_key(stream.name, stream.realm_id)] = (stream,)
Beispiel #6
0
def stream_cache_items(items_for_remote_cache, stream):
    items_for_remote_cache[get_stream_cache_key(stream.name,
                                                stream.realm_id)] = (stream, )