mirror of
https://github.com/creyD/apilog.git
synced 2026-04-12 19:30:29 +02:00
Compare commits
30 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68f64d5e96 | ||
|
|
b6eaa7c1e7 | ||
|
|
38f7c9234d | ||
|
|
ca6a2a3eaa | ||
|
|
055b8af28a | ||
|
|
abe103dc0f | ||
|
|
8da0f31b16 | ||
| d5907074c9 | |||
|
|
06e5a3af30 | ||
|
|
f42ce7abe1 | ||
|
|
a743969689 | ||
|
|
6fc6117400 | ||
|
|
d8057db909 | ||
|
|
c8872ca437 | ||
|
|
e4a903cd61 | ||
|
|
de7ad24b49 | ||
|
|
da4ebd0a8b | ||
|
|
9f3a7f55db | ||
|
|
f315369ff8 | ||
|
|
86c8e4fc4e | ||
|
|
1c3c2347ee | ||
|
|
d28507ca15 | ||
|
|
191268af6a | ||
|
|
96afee2cf4 | ||
|
|
995bdc0600 | ||
|
|
f2f572ec9a | ||
|
|
61bc957a2c | ||
|
|
235c07466e | ||
|
|
2f70ab2dcf | ||
|
|
076267ec3a |
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -91,7 +91,7 @@ jobs:
|
||||
git config --local user.name "creyD"
|
||||
|
||||
- name: Git Version
|
||||
uses: codacy/git-version@2.8.0
|
||||
uses: codacy/git-version@2.8.3
|
||||
id: git_version
|
||||
with:
|
||||
minor-identifier: "feat:"
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
from sqlalchemy_utils import create_database, database_exists
|
||||
|
||||
|
||||
def create_if_not_exists(db_name: str):
|
||||
from creyPY.fastapi.db.session import SQLALCHEMY_DATABASE_URL
|
||||
|
||||
if not database_exists(SQLALCHEMY_DATABASE_URL + db_name):
|
||||
create_database(SQLALCHEMY_DATABASE_URL + db_name)
|
||||
@@ -2,6 +2,7 @@ import os
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
from apscheduler.schedulers.background import BackgroundScheduler
|
||||
from creyPY.fastapi.db.helpers import create_if_not_exists
|
||||
from creyPY.fastapi.db.session import SQLALCHEMY_DATABASE_URL, get_db, name
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
@@ -9,7 +10,6 @@ from alembic import command
|
||||
from alembic.config import Config
|
||||
from app.models.app import Application
|
||||
from app.models.entry import LogEntry
|
||||
from app.services.db.session import create_if_not_exists
|
||||
|
||||
|
||||
def delete_old_logs(sess: Session | None = None):
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
annotated-types==0.7.0
|
||||
anyio==4.9.0
|
||||
certifi==2025.4.26
|
||||
certifi==2025.7.14
|
||||
creyPY[postgres]==3.0.0
|
||||
fastapi==0.115.12
|
||||
fastapi-pagination==0.13.1
|
||||
fastapi==0.116.1
|
||||
fastapi-pagination==0.13.3
|
||||
h11==0.14.0
|
||||
httpcore==1.0.8
|
||||
httpx==0.28.1
|
||||
@@ -13,25 +13,25 @@ psycopg-binary==3.2.9
|
||||
psycopg-pool==3.2.6
|
||||
pydantic==2.9.2
|
||||
pydantic_core==2.23.4
|
||||
python-dotenv==1.1.0
|
||||
python-dotenv==1.1.1
|
||||
sniffio==1.3.1
|
||||
SQLAlchemy==2.0.41
|
||||
starlette==0.46.2
|
||||
typing_extensions==4.13.2
|
||||
SQLAlchemy==2.0.42
|
||||
starlette==0.47.2
|
||||
typing_extensions==4.14.1
|
||||
|
||||
Mako==1.3.10 # Alembic
|
||||
MarkupSafe==3.0.1 # Alembic
|
||||
alembic==1.15.2 # Alembic
|
||||
alembic==1.16.4 # Alembic
|
||||
|
||||
SQLAlchemy-Utils==0.41.2 # SQLAlchemy
|
||||
|
||||
click==8.2.0 # Uvicorn
|
||||
uvicorn==0.34.2 # Uvicorn
|
||||
click==8.2.1 # Uvicorn
|
||||
uvicorn==0.35.0 # Uvicorn
|
||||
|
||||
iniconfig==2.1.0 # pytest
|
||||
packaging==25.0 # pytest
|
||||
pluggy==1.5.0 # pytest
|
||||
pytest==8.3.5 # pytest
|
||||
pluggy==1.6.0 # pytest
|
||||
pytest==8.4.1 # pytest
|
||||
|
||||
fastapi-filters==0.3.0 # Filters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user