Skip to content

Commit b1cf4ae

Browse files
committed
📝 Update doctest
1 parent 03b28c7 commit b1cf4ae

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

redcap/methods/users.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,16 @@ def export_users(
3131
3232
Examples:
3333
>>> proj.export_users()
34-
[{'username': ..., 'email': ..., 'expiration': '', 'data_access_group': '',
35-
'data_access_group_id': '', 'design': 1, 'alerts': 1, 'user_rights': 1,
36-
'data_access_groups': 1, 'reports': 1, ...}]
34+
[{'username': '...', 'email': '...', 'firstname': '...', 'lastname': '...',
35+
'expiration': '', 'data_access_group': '', 'data_access_group_id': '',
36+
'data_access_group_label': '', 'design': 1, 'alerts': 1, 'user_rights': 1,
37+
'data_access_groups': 1, 'reports': 1, 'stats_and_charts': 1,
38+
'manage_survey_participants': 1, 'calendar': 1, 'data_import_tool': 1,
39+
'data_comparison_tool': 1, 'logging': 1, 'email_logging': 0, 'file_repository': 1,
40+
'data_quality_create': 1, 'data_quality_execute': 1, 'api_export': 1, 'api_import': 1,
41+
'api_modules': 1, 'mobile_app': 1, 'mobile_app_download_data': 0, 'record_create': 1,
42+
'record_rename': 1, 'record_delete': 1, 'lock_records_all_forms': 1, 'lock_records': 1,
43+
'lock_records_customization': 0, 'forms': {'form_1': 1}, 'forms_export': {'form_1': 1}}]
3744
"""
3845
payload = self._initialize_payload(content="user", format_type=format_type)
3946
return_type = self._lookup_return_type(format_type, request_type="export")

0 commit comments

Comments
 (0)