Skip to content

Commit

Permalink
Ignore missing stubs import of grpc.aio
Browse files Browse the repository at this point in the history
Required since stubs for grpc.aio are not yet available

See shabbyrobe/grpc-stubs#22 (comment)
  • Loading branch information
Shon Feder committed Jul 25, 2022
1 parent 3145f9f commit fd2510b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion chai/chai.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
#
from __future__ import annotations
from collections.abc import Awaitable
# TODO remove ignore when stubs are availabe for grpc.aio
# See https://github.com/shabbyrobe/grpc-stubs/issues/22
import grpc.aio as aio # type: ignore

from typing import Optional, TypeVar
from grpc import ChannelConnectivity, aio
from grpc import ChannelConnectivity
import grpc.aio as aio
import chai.transExplorer_pb2 as msg
import chai.transExplorer_pb2_grpc as service
from contextlib import asynccontextmanager
Expand Down

0 comments on commit fd2510b

Please sign in to comment.