Skip to content

Commit

Permalink
Return val is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Dec 13, 2023
1 parent a7ac4f1 commit df35823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fontra/core/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class ProjectManager(Protocol):
async def close(self) -> None:
...

async def authorize(self, request: web.Request) -> str:
async def authorize(self, request: web.Request) -> str | None:
...

async def projectAvailable(self, path: str, token: str) -> bool:
Expand Down

0 comments on commit df35823

Please sign in to comment.