Skip to content

Commit

Permalink
replace StrEnum with Enum as StrEnum is only supported in python >= 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
5ila5 committed Dec 24, 2024
1 parent e2f1f06 commit 3e8f7a9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
import urllib.parse
from datetime import date, datetime, timedelta
from enum import StrEnum
from enum import Enum

import requests
from waste_collection_schedule import Collection
Expand Down Expand Up @@ -179,7 +179,7 @@
]


class DayNames(StrEnum):
class DayNames(Enum):
MONDAY = "LUNDI"
TUESDAY = "MARDI"
WEDNESDAY = "MERCREDI"
Expand Down

0 comments on commit 3e8f7a9

Please sign in to comment.