mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +00:00
Merge pull request #35 from senju1337/fix/OPS-69
fix: remove foobar functions which was only used to test if sphinx works
This commit is contained in:
commit
30228afa0c
3 changed files with 0 additions and 21 deletions
|
|
@ -10,13 +10,6 @@ AI_BASE_URL: str = "http://ollama:11434/api"
|
||||||
AI_GEN_ENDPOINT: str = "/generate"
|
AI_GEN_ENDPOINT: str = "/generate"
|
||||||
|
|
||||||
|
|
||||||
def foobar():
|
|
||||||
"""WE KNOW"""
|
|
||||||
a = 3
|
|
||||||
b = 3
|
|
||||||
return a + b
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Haiku:
|
class Haiku:
|
||||||
lines: list[str]
|
lines: list[str]
|
||||||
|
|
|
||||||
|
|
@ -15,13 +15,6 @@ app = Flask(__name__)
|
||||||
store = StoreManager(Path("/tmp/store.db"))
|
store = StoreManager(Path("/tmp/store.db"))
|
||||||
|
|
||||||
|
|
||||||
def foobar():
|
|
||||||
"""WE KNOW"""
|
|
||||||
a = 3
|
|
||||||
b = 3
|
|
||||||
return a + b
|
|
||||||
|
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def index_view():
|
def index_view():
|
||||||
return render_template("index.html", title="Senju")
|
return render_template("index.html", title="Senju")
|
||||||
|
|
|
||||||
|
|
@ -12,13 +12,6 @@ from senju.haiku import Haiku
|
||||||
DEFAULT_DB_PATH: Path = Path("/var/lib/senju.json")
|
DEFAULT_DB_PATH: Path = Path("/var/lib/senju.json")
|
||||||
|
|
||||||
|
|
||||||
def foobar():
|
|
||||||
"""WE KNOW"""
|
|
||||||
a = 3
|
|
||||||
b = 3
|
|
||||||
return a + b
|
|
||||||
|
|
||||||
|
|
||||||
class StoreManager:
|
class StoreManager:
|
||||||
__slots__ = "_db", "logger"
|
__slots__ = "_db", "logger"
|
||||||
_db: TinyDB
|
_db: TinyDB
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue