Skip to content

Commit

Permalink
fix remove all imp
Browse files Browse the repository at this point in the history
  • Loading branch information
bolexs committed Jul 17, 2024
1 parent a223002 commit a117f43
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 712 deletions.
36 changes: 0 additions & 36 deletions api/core/dependencies/user.py

This file was deleted.

9 changes: 0 additions & 9 deletions api/utils/dict.py
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@

def clone_object(obj: dict, unwanted_fields=[]):
new_obj = {}
for k in list(obj.keys()):
if k in unwanted_fields:
continue

new_obj[k] = obj[k]
return new_obj
7 changes: 0 additions & 7 deletions api/utils/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,7 +0,0 @@
from fastapi import HTTPException

class CustomException(HTTPException):

@staticmethod
def PermissionError():
raise HTTPException(status_code=403, detail="User has no permission to perform this action")
47 changes: 0 additions & 47 deletions api/utils/paginator.py

This file was deleted.

16 changes: 0 additions & 16 deletions api/utils/string.py

This file was deleted.

13 changes: 0 additions & 13 deletions api/utils/utils.py

This file was deleted.

28 changes: 0 additions & 28 deletions api/v1/models/auth.py

This file was deleted.

Loading

0 comments on commit a117f43

Please sign in to comment.