Skip to content
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

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

omrizhaki
Copy link

No description provided.

@omrizhaki omrizhaki changed the base branch from main to develop January 30, 2021 01:39
@@ -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:
Copy link
Contributor

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):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

זה דבר נהוג להכניס פונקציות לModels ולא להוציא את זה לקבצים בinternal?
בדקת את זה לפני?

שואל באמת כי זה פעם ראשונה שאני רואה

@yammesicka
Copy link
Member

This is a good start :) Keep going

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants