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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Keymaker Features</title> | |
<!-- Import Lato font from Google Fonts --> | |
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap" rel="stylesheet"> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
from pydantic import BaseModel, ValidationError, validator, Field | |
from typing import Dict, List, Union, Type, Literal, Optional | |
class BaseParam(BaseModel): | |
type: Literal["string"] | Literal["integer"] | Literal["boolean"] | List["BaseParam"] | |
name: Optional[str] = None | |
options: Optional[ | |
List[str] | List[int] | List[bool] | |
] = None # options is only valid if none of the lengths are set and if the type is one of the literals |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
class NodeSimilarity(SQLModel): | |
""" | |
A similairty score between two node queries | |
""" | |
node: Tuple[Node, Node] | |
similarity: float | |
@router.get("/nodes/{node1_name}/{node2_name}", response_model=NodeSimilarity) | |
def node_similarity( |
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
watchdog | │ 72 │ │ │ │ │ with_traceback │ | |
watchdog | │ 73 │ │ │ │ ) │ | |
watchdog | │ │ | |
watchdog | │ /usr/local/lib/python3.10/site-packages/s │ | |
watchdog | │ qlalchemy/util/compat.py:207 in raise_ │ | |
watchdog | │ │ | |
watchdog | │ 204 │ │ │ exception.__cause__ = r │ | |
watchdog | │ 205 │ │ │ | |
watchdog | │ 206 │ │ try: │ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder