We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f3feed commit 7698c69Copy full SHA for 7698c69
docs/build_docs.py
@@ -26,16 +26,21 @@
26
import textwrap
27
import typing
28
29
-# For showing the conditional imports and types in `content_types.py`
30
-typing.TYPE_CHECKING = True
31
32
from absl import app
33
from absl import flags
34
35
import google
36
-from google import generativeai as palm
37
from google.ai import generativelanguage as glm
38
+import grpc
+# For showing the conditional imports and types in `content_types.py`
+# grpc must be imported first.
39
+typing.TYPE_CHECKING = True
40
+from google import generativeai as palm
41
+
42
43
44
from tensorflow_docs.api_generator import generate_lib
45
from tensorflow_docs.api_generator import public_api
46
0 commit comments