-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP SpeedyMeetings2 #157
base: develop
Are you sure you want to change the base?
WIP SpeedyMeetings2 #157
Conversation
@@ -37,17 +37,26 @@ class User(Base): | |||
|
|||
events = relationship("UserEvent", back_populates="participants") | |||
|
|||
speedy_meetings_enabled = Column(Boolean, default=False) | |||
|
|||
def has_speedy_meetings_enabled(self) -> bool: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
מה המטרה שך הפנציה הזאת? למה לקרוא לה ולא פשוט לא user.speedy_meetings_enabled?
@@ -57,6 +66,14 @@ class Event(Base): | |||
|
|||
participants = relationship("UserEvent", back_populates="events") | |||
|
|||
def get_event_duration(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
זה דבר נהוג להכניס פונקציות לModels ולא להוציא את זה לקבצים בinternal?
בדקת את זה לפני?
שואל באמת כי זה פעם ראשונה שאני רואה
This is a good start :) Keep going |
No description provided.