-
Notifications
You must be signed in to change notification settings - Fork 28
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 9483f60
Showing
25 changed files
with
413 additions
and
413 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
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.