Why you incomplete, Python 3.6?

pull/21954/head
Richard Belleville 5 years ago
parent 67a492c946
commit ff3088979a
  1. 6
      src/python/grpcio/grpc/_simple_stubs.py

@ -18,8 +18,8 @@ import datetime
import os import os
import logging import logging
import threading import threading
from typing import (Any, AnyStr, Callable, Iterator, OrderedDict, Optional, from typing import (Any, AnyStr, Callable, Dict, Iterator, Optional, Sequence,
Sequence, Tuple, TypeVar, Union) Tuple, TypeVar, Union)
import grpc import grpc
@ -77,7 +77,7 @@ class ChannelCache:
_condition: threading.Condition = threading.Condition(lock=_lock) _condition: threading.Condition = threading.Condition(lock=_lock)
_eviction_ready: threading.Event = threading.Event() _eviction_ready: threading.Event = threading.Event()
_mapping: OrderedDict[CacheKey, Tuple[grpc.Channel, datetime.datetime]] _mapping: Dict[CacheKey, Tuple[grpc.Channel, datetime.datetime]]
_eviction_thread: threading.Thread _eviction_thread: threading.Thread
def __init__(self): def __init__(self):

Loading…
Cancel
Save