(cls)
| 190 | |
| 191 | @classmethod |
| 192 | def _async_clients(cls) -> Dict[IOLoop, "AsyncHTTPClient"]: |
| 193 | attr_name = "_async_client_dict_" + cls.__name__ |
| 194 | if not hasattr(cls, attr_name): |
| 195 | setattr(cls, attr_name, weakref.WeakKeyDictionary()) |
| 196 | return getattr(cls, attr_name) |
| 197 | |
| 198 | def __new__(cls, force_instance: bool = False, **kwargs: Any) -> "AsyncHTTPClient": |
| 199 | io_loop = IOLoop.current() |