RB
Size: a a a
RB
а
💭П
💭П
💭П
💭П
а
💭П
bash -c "du -sb test"
56599438 test
bash -c "du -sb test"
34505931 test
bash -c "du -sb test"
31706527 test
💭П
fastapi + uvicorn
легче (((💭П
БС
class ApiError():
xxxx
class NotFound(ApiError):
status = 404
message = "xxx"
class NotFoundFile(ApiError):
...
def __init__(filename):
yyy
БС
RB
class ApiError():
xxxx
class NotFound(ApiError):
status = 404
message = "xxx"
class NotFoundFile(ApiError):
...
def __init__(filename):
yyy
БС
if exc in exceptions:
...
БС
if что то плохое:
raise HttpException(status_code=404, details="file not found")
а
if что то плохое:
raise HttpException(status_code=404, details="file not found")
БС