File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 110.17.5
22 - fix: error handling when connection to server fails on download (#75)
33 - enh: add `CKANAPI.hostname`
4+ - ref: replace `user_list` with `user_autocomplete`
450.17.4
56 - fix: correctly handle dataset IDs and names in `DBExtract`
67 - fix: `get_datasets_user_shared` failed when many circles/collections exist
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ def __init__(self,
8787 self .req_ses = requests_cache .CachedSession (urls_expire_after = {
8888 # API calls without parameters; seconds cached
8989 self .api_url + "user_show" : 5 ,
90+ self .api_url + "user_autocomplete" : 30 ,
9091 self .api_url + "group_list" : 10 ,
9192 self .api_url + "user_list" : 30 ,
9293 self .api_url + "status_show" : 60 ,
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def get_datasets_user_shared(self):
103103
104104 def get_users (self , ret_fullnames = False ):
105105 """Return the list of DCOR users"""
106- data = self .api .get ("user_list " )
106+ data = self .api .get ("user_autocomplete" , q = " " )
107107 user_list = []
108108 full_list = []
109109 for dd in data :
You can’t perform that action at this time.
0 commit comments