We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77df995 commit b06f49bCopy full SHA for b06f49b
graph.py
@@ -302,7 +302,7 @@ def to_display_graph(graph: Graph) -> DisplayGraph:
302
@contextmanager
303
def persisted_graph(
304
path: str | Path, flush: bool = False, persist: bool = True
305
-) -> Generator[Graph, None, None]:
+) -> Generator[Graph]:
306
if not flush:
307
try:
308
graph = Graph.load(path)
@@ -330,7 +330,7 @@ def persisted_graph(
330
async def RateLimitedSession(
331
config: Config,
332
auth: str | None = None,
333
-) -> AsyncGenerator[ClientSession, None]:
+) -> AsyncGenerator[ClientSession]:
334
auth = auth or config.notion_key
335
headers = {
336
'Authorization': f'Bearer {auth}',
0 commit comments