linting
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m9s
Run linting on the backend code / Build (pull_request) Successful in 34s
Run testing on the backend code / Build (pull_request) Failing after 1m56s
Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 17s

This commit is contained in:
2025-01-10 15:59:44 +01:00
parent c6cebd0fdf
commit 73373e0fc3
9 changed files with 21 additions and 21 deletions

View File

@@ -136,7 +136,9 @@ class Toilets(BaseModel) :
str: A formatted string with the toilets location.
"""
return f'Toilets @{self.location}'
class Config:
# This allows us to easily convert the model to and from dictionaries
from_attributes = True
"""
This allows us to easily convert the model to and from dictionaries
"""
from_attributes = True