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 d182dde commit 2f4e743Copy full SHA for 2f4e743
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