src/domain/requests.py
BeforeProposed
+1−1
1313 now = integer(command['now'], 'now')
1414 state['requests'][identifier] = {
1515 'id': command['id'], 'applicant': applicant, 'policy': deepcopy(policy),
16 'scopes': list(policy['scopes']), 'status': 'pending', 'decisions': {},
16 'scopes': sorted(set(scopes)), 'status': 'pending', 'decisions': {},
1717 'openedAt': now, 'expiresAt': None,
1818 }
1919 return {'id': command['id'], 'status': 'pending'}