We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59d23dc commit 6757affCopy full SHA for 6757aff
backend/api/schedule/types/slot.py
@@ -1,15 +1,11 @@
1
from enum import Enum
2
-from typing import TYPE_CHECKING, Annotated
3
from django.utils import timezone
4
from datetime import datetime, time, timedelta
5
from api.schedule.types.schedule_item import ScheduleItem
6
7
8
import strawberry
9
10
-if TYPE_CHECKING:
11
- from api.schedule.types.day import Day
12
-
13
14
@strawberry.enum
15
class ScheduleSlotType(Enum):
@@ -24,7 +20,6 @@ class ScheduleSlot:
24
20
hour: time
25
21
duration: int
26
22
type: ScheduleSlotType
27
- day: Annotated["Day", strawberry.lazy("api.schedule.types.day")]
28
23
29
@strawberry.field
30
def is_live(self) -> bool:
0 commit comments