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
6 merge requests!262[WIP] compatibility with koma solver import/export,!261[WIP] compatibility with koma solver import/export,!260[WIP] import/export merge,!259Add view to clear schedule,!237Draft: add tests on json export,!235Merge fork for interoperability of KoMa solver
......@@ -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.
Please register or to comment