-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db957c3
commit 8b6fbfc
Showing
36 changed files
with
479 additions
and
465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
plugins/noauth/fps_noauth/models.py → jupyverse_api/jupyverse_api/auth/models.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
from typing import Optional | ||
from __future__ import annotations | ||
from abc import ABC, abstractmethod | ||
from pathlib import Path | ||
|
||
from jupyverse_api import Router, Config | ||
|
||
|
||
class Kernels(Router): | ||
class Kernels(Router, ABC): | ||
@abstractmethod | ||
async def watch_connection_files(self, path: Path) -> None: | ||
raise RuntimeError("Not implemented") | ||
... | ||
|
||
|
||
class KernelsConfig(Config): | ||
default_kernel: str = "python3" | ||
connection_path: Optional[str] = None | ||
connection_path: str | None = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
from abc import ABC, abstractmethod | ||
from pathlib import Path | ||
from typing import Any, Dict, List, Tuple | ||
|
||
from fastapi import APIRouter | ||
from jupyverse_api import Router | ||
|
||
|
||
class Lab(Router): | ||
class Lab(Router, ABC): | ||
@abstractmethod | ||
def init_router( | ||
self, router: APIRouter, redirect_after_root: str | ||
) -> Tuple[Path, List[Dict[str, Any]]]: | ||
raise RuntimeError("Not implemented") | ||
... | ||
|
||
@abstractmethod | ||
def get_federated_extensions(self, extensions_dir: Path) -> Tuple[List, List]: | ||
raise RuntimeError("Not implemented") | ||
... |
Oops, something went wrong.