Skip to content

Commit 5998848

Browse files
Merge pull request #43 from extrawest/bugfix/mandatory-regular-hours-issue
[bugfix] mandatory regular hours issue
2 parents 537f5be + 46b2de8 commit 5998848

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

py_ocpi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Python Implementation of OCPI"""
22

3-
__version__ = "2025.6.25"
3+
__version__ = "2025.7.16"
44

55
from .core import enums, data_types
66
from .main import get_application

py_ocpi/modules/locations/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Hours(BaseModel):
6666
"""
6767

6868
twentyfourseven: bool
69-
regular_hours: List[RegularHours]
69+
regular_hours: List[RegularHours] = []
7070
exceptional_openings: List[ExceptionalPeriod] = []
7171
exceptional_closings: List[ExceptionalPeriod] = []
7272

0 commit comments

Comments
 (0)