-
Notifications
You must be signed in to change notification settings - Fork 32
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
#157385680 view room occupants #40
Conversation
api/room/schema.py
Outdated
@@ -50,10 +56,15 @@ def mutate(self, info, room_id, **kwargs): | |||
|
|||
class Query(graphene.ObjectType): | |||
all_rooms = graphene.List(Room) | |||
get_room_by_id = graphene.Field( | |||
Room, | |||
get_room_by_id = graphene.List( |
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.
I see you still have old work, please can you rebase with develop to have the current changes.
ac70d81
to
5c5b342
Compare
Pull Request Test Coverage Report for Build 463
💛 - Coveralls |
aa1a7c0
to
f42da14
Compare
be68557
to
e2981e6
Compare
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.
@JoyLubega has this been rebased with the current changes in develop. I'm having trouble pulling the branch to test. Kindly check and confirm
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.
LGTM, except for the fact that your PR is behind. Do ensure you pull and rebase accordingly.
21fff3b
to
5531303
Compare
14433ea
to
f0419f2
Compare
helpers/calendar/events.py
Outdated
r"(^[a-zA-Z0-9_.+-]+@andela+\.com+$)", attendees) | ||
if match: | ||
all_attendees.append(attendee.get('email')) | ||
print(all_attendees) |
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.
This print statement should be removed.
tests/test_rooms/test_query_rooms.py
Outdated
@@ -18,6 +18,7 @@ def test_query_rooms(self): | |||
|
|||
def test_query_room_with_id(self): | |||
query = self.client.execute(room_query_by_id) | |||
print(room_query_by_id_response) |
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.
Same as above
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.
Working on it now
api/room/models.py
Outdated
@@ -28,3 +29,4 @@ def __init__(self, **kwargs): | |||
self.image_url = kwargs['image_url'] | |||
self.calendar_id = kwargs['calendar_id'] | |||
self.floor_id = kwargs['floor_id'] | |||
self.calendar_id = kwargs['calendar_id'] |
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.
calendar_id field is defined twice in the models
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.
I have Fixed it
What does this PR do?
Views all occupants in a given meeting room
screenshots
Description
N/A
Pivotal tracker story
#157385680