From 53dfe886b832a20b06e994db3db2883631d5f44c Mon Sep 17 00:00:00 2001 From: Felix Blanke <info@fblanke.de> Date: Sat, 28 Dec 2024 01:32:39 +0100 Subject: [PATCH] Fix docstr placement --- AKModel/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AKModel/models.py b/AKModel/models.py index 3b6eb600..d30912d3 100644 --- a/AKModel/models.py +++ b/AKModel/models.py @@ -19,14 +19,14 @@ from timezone_field import TimeZoneField class OptimizerTimeslot: """Class describing a discrete timeslot. Used to interface with an optimizer.""" - """The availability object corresponding to this timeslot.""" avail: "Availability" + """The availability object corresponding to this timeslot.""" - """The unique index of this optimizer timeslot.""" idx: int + """The unique index of this optimizer timeslot.""" - """The set of time constraints fulfilled by this object.""" constraints: set[str] + """The set of time constraints fulfilled by this object.""" def merge(self, other: "OptimizerTimeslot") -> "OptimizerTimeslot": """Merge with other OptimizerTimeslot. -- GitLab