Skip to content

Commit 8589749

Browse files
committed
comments
1 parent 2d907dd commit 8589749

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

src/mas/devops/users.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@
1919
import time
2020
import re
2121

22-
'''
23-
TODO:
24-
MVI / other apps?
25-
unit tests
26-
27-
how to cope with users that have been soft-deleted? tolerate / skip - ensure they are removed from secret so
28-
we don't get caught in an infinite loop?
29-
30-
'''
31-
3222

3323
class MASUserUtils():
3424
'''
@@ -324,7 +314,7 @@ def link_user_to_local_idp(self, user_id, email_password=False):
324314
"emailPassword": email_password
325315
}
326316
payload = {
327-
"idpUserId": user_id
317+
"idpUserId": user_id,
328318
}
329319
headers = {
330320
"Content-Type": "application/json",
@@ -506,10 +496,6 @@ def create_or_get_manage_api_key_for_user(self, user_id, temporary=False):
506496
"lean": 1,
507497
}
508498

509-
# TODO: is this just a temporary API Key for this script?
510-
# if so, add cleanup logic (atext) and perhaps set an expiration date in case cleanup fails
511-
512-
#
513499
payload = {
514500
"expiration": -1,
515501
"userid": user_id

0 commit comments

Comments
 (0)