chore(deps): update dependency ruff to ^0.12.0 (#5568)

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
Michael Genson
2025-06-24 02:46:49 -05:00
committed by GitHub
parent c965d12bf1
commit cea3ddc883
13 changed files with 67 additions and 93 deletions

View File

@@ -1,6 +1,5 @@
import abc
from datetime import UTC, datetime, timedelta
from typing import Generic, TypeVar
import jwt
from sqlalchemy.orm.session import Session
@@ -13,10 +12,8 @@ ALGORITHM = "HS256"
ISS = "mealie"
remember_me_duration = timedelta(days=14)
T = TypeVar("T")
class AuthProvider(Generic[T], metaclass=abc.ABCMeta):
class AuthProvider[T](metaclass=abc.ABCMeta):
"""Base Authentication Provider interface"""
def __init__(self, session: Session, data: T) -> None: