19 lines
359 B
Python
19 lines
359 B
Python
from __future__ import annotations
|
|
|
|
from typing import Protocol,runtime_checkable
|
|
|
|
from src.application.domain.entities import SessionEntity,UserEntity
|
|
|
|
|
|
@runtime_checkable
|
|
class IUserRepository(Protocol):
|
|
...
|
|
|
|
|
|
@runtime_checkable
|
|
class ISessionRepository(Protocol):
|
|
...
|
|
|
|
|
|
__all__=['IUserRepository','ISessionRepository','UserEntity','SessionEntity']
|