mirror of
https://github.com/cssgunc/compass.git
synced 2025-04-03 19:40:16 -04:00
10 lines
219 B
Python
10 lines
219 B
Python
from fastapi import Depends
|
|
from ..database import db_session
|
|
from sqlalchemy.orm import Session
|
|
|
|
|
|
class ResourceService:
|
|
|
|
def __init__(self, session: Session = Depends(db_session)):
|
|
self._session = session
|