Skip to content
Snippets Groups Projects
Commit 53dfe886 authored by Felix Blanke's avatar Felix Blanke
Browse files

Fix docstr placement

parent 1661b359
No related branches found
No related tags found
1 merge request!5Refactor main
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment