Skip to content

Commit

Permalink
Bugfix: KerykeionPointModel
Browse files Browse the repository at this point in the history
The bug prevented the creation of a model from the JSON
  • Loading branch information
g-battaglia committed Jul 18, 2024
1 parent f584ad1 commit 04f2b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kerykeion/kr_types/kr_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from typing import Union, Optional
from pydantic import BaseModel

from kerykeion.kr_types import LunarPhaseEmoji, LunarPhaseName, Planet, Houses, Quality, Element, Sign, ZodiacType, SignNumbers, HouseNumbers, PointType, SiderealMode, HousesSystemIdentifier
from kerykeion.kr_types import LunarPhaseEmoji, LunarPhaseName, Planet, Houses, Quality, Element, Sign, ZodiacType, SignNumbers, HouseNumbers, PointType, SiderealMode, HousesSystemIdentifier, Houses

class SubscriptableBaseModel(BaseModel):
"""
Expand Down Expand Up @@ -47,7 +47,7 @@ class KerykeionPointModel(SubscriptableBaseModel):
abs_pos: float
emoji: str
point_type: PointType
house: Optional[HouseNumbers] = None
house: Optional[Houses] = None
retrograde: Optional[bool] = None


Expand Down

0 comments on commit 04f2b95

Please sign in to comment.