Skip to content

Commit b06f49b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 77df995 commit b06f49b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graph.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def to_display_graph(graph: Graph) -> DisplayGraph:
302302
@contextmanager
303303
def persisted_graph(
304304
path: str | Path, flush: bool = False, persist: bool = True
305-
) -> Generator[Graph, None, None]:
305+
) -> Generator[Graph]:
306306
if not flush:
307307
try:
308308
graph = Graph.load(path)
@@ -330,7 +330,7 @@ def persisted_graph(
330330
async def RateLimitedSession(
331331
config: Config,
332332
auth: str | None = None,
333-
) -> AsyncGenerator[ClientSession, None]:
333+
) -> AsyncGenerator[ClientSession]:
334334
auth = auth or config.notion_key
335335
headers = {
336336
'Authorization': f'Bearer {auth}',

0 commit comments

Comments
 (0)