[REF] Refactor
This commit is contained in:
7
app/api/cruds/path/delete.py
Normal file
7
app/api/cruds/path/delete.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
from ....schema.library.path import Path
|
||||
|
||||
def delete(session:Session, path:Path):
|
||||
session.delete(path)
|
||||
session.commit()
|
||||
Reference in New Issue
Block a user