You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To store the GroupCollectionAccessgroup_name field for a collection, we need to perform an additional API request to retrieve the group_name (/public/groups/<group_id>) because the collection API response only gives the group_id.
This request is made for every groups that are assigned to a collection. The same group may be assigned to several collections which means that this API request is redundant.
We could create an dictionary of groups before calling the function get_collection() and lookup the dict to avoid redundant API requests.
The text was updated successfully, but these errors were encountered:
To store the
GroupCollectionAccess
group_name
field for a collection, we need to perform an additional API request to retrieve thegroup_name
(/public/groups/<group_id>
) because thecollection
API response only gives thegroup_id
.This request is made for every groups that are assigned to a collection. The same group may be assigned to several collections which means that this API request is redundant.
We could create an dictionary of groups before calling the function
get_collection()
and lookup the dict to avoid redundant API requests.The text was updated successfully, but these errors were encountered: