Skip to content

Commit d294c0d

Browse files
committed
Correct Indentation and Docstring Typo
1 parent 2544be0 commit d294c0d

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

ciscosparkapi/api/memberships.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def list(self, roomId=None, personId=None, personEmail=None, max=None,
137137
138138
This method supports Cisco Spark's implementation of RFC5988 Web
139139
Linking to provide pagination support. It returns a generator
140-
container that incrementally yield all memberships returned by the
140+
container that incrementally yields all memberships returned by the
141141
query. The generator will automatically request additional 'pages' of
142142
responses from Spark as needed until all responses have been returned.
143143
The container makes the generator safe for reuse. A new API call will
@@ -170,11 +170,11 @@ def list(self, roomId=None, personId=None, personEmail=None, max=None,
170170
check_type(max, int)
171171

172172
params = dict_from_items_with_values(
173-
request_parameters,
174-
roomId=roomId,
175-
personId=personId,
176-
personEmail=personEmail,
177-
max=max,
173+
request_parameters,
174+
roomId=roomId,
175+
personId=personId,
176+
personEmail=personEmail,
177+
max=max,
178178
)
179179

180180
# API request - get items

ciscosparkapi/api/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def list(self, roomId, mentionedPeople=None, before=None,
144144
145145
This method supports Cisco Spark's implementation of RFC5988 Web
146146
Linking to provide pagination support. It returns a generator
147-
container that incrementally yield all messages returned by the
147+
container that incrementally yields all messages returned by the
148148
query. The generator will automatically request additional 'pages' of
149149
responses from Spark as needed until all responses have been returned.
150150
The container makes the generator safe for reuse. A new API call will

ciscosparkapi/api/people.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@ def list(self, email=None, displayName=None, id=None, orgId=None, max=None,
198198
check_type(max, int)
199199

200200
params = dict_from_items_with_values(
201-
request_parameters,
202-
id=id,
203-
email=email,
204-
displayName=displayName,
205-
orgId=orgId,
206-
max=max,
201+
request_parameters,
202+
id=id,
203+
email=email,
204+
displayName=displayName,
205+
orgId=orgId,
206+
max=max,
207207
)
208208

209209
# API request - get items

ciscosparkapi/api/rooms.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def list(self, teamId=None, type=None, sortBy=None, max=None,
124124
125125
This method supports Cisco Spark's implementation of RFC5988 Web
126126
Linking to provide pagination support. It returns a generator
127-
container that incrementally yield all rooms returned by the
127+
container that incrementally yields all rooms returned by the
128128
query. The generator will automatically request additional 'pages' of
129129
responses from Spark as needed until all responses have been returned.
130130
The container makes the generator safe for reuse. A new API call will
@@ -161,11 +161,11 @@ def list(self, teamId=None, type=None, sortBy=None, max=None,
161161
check_type(max, int)
162162

163163
params = dict_from_items_with_values(
164-
request_parameters,
165-
teamId=teamId,
166-
type=type,
167-
sortBy=sortBy,
168-
max=max,
164+
request_parameters,
165+
teamId=teamId,
166+
type=type,
167+
sortBy=sortBy,
168+
max=max,
169169
)
170170

171171
# API request - get items

0 commit comments

Comments
 (0)