Skip to content

Commit b974fa2

Browse files
authored
Typo (#20)
* Typo * and scrub staticmethods from async clients.
1 parent c3c99d3 commit b974fa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/build_docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
)
121121

122122
_CODE_URL_PREFIX = flags.DEFINE_string(
123-
'code_url_prefix", "https://github.com/google/generative-ai-python/blob/master/google/generativeai",
123+
"code_url_prefix", "https://github.com/google/generative-ai-python/blob/master/google/generativeai",
124124
"where to find the project code")
125125

126126
class MyFilter:
@@ -143,7 +143,7 @@ def __call__(self, path, parent, children):
143143
)
144144

145145
if any("generativelanguage" in part for part in path):
146-
if "ServiceClient" in path[-1]:
146+
if "ServiceClient" in path[-1] or "ServiceAsyncClient" in path[-1]:
147147
children = list(self.drop_staticmethods(parent, children))
148148

149149
return children

0 commit comments

Comments
 (0)