Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pycrdt >=0.8.2 #379

Merged
merged 2 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions jupyverse_api/jupyverse_api/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from fastapi import Request, Response
from typing import cast

from fastapi import Request
from fastapi.responses import RedirectResponse


Expand All @@ -7,5 +9,6 @@ def __init__(self, redirect_to: str):
self.redirect_to = redirect_to


async def _redirect_exception_handler(request: Request, exc: RedirectException) -> Response:
async def _redirect_exception_handler(request: Request, exc: Exception) -> RedirectResponse:
exc = cast(RedirectException, exc)
return RedirectResponse(url=exc.redirect_to)
2 changes: 1 addition & 1 deletion plugins/yjs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description = "An FPS plugin for the Yjs API"
keywords = [ "jupyter", "server", "fastapi", "plugins" ]
requires-python = ">=3.8"
dependencies = [
"pycrdt >=0.7.2,<0.8.0",
"pycrdt >=0.8.2,<0.9.0",
"jupyverse-api >=0.1.2,<1",
]
dynamic = [ "version",]
Expand Down
Loading