Skip to content

Commit 11585de

Browse files
updated comment block for get_entity_accessibility to reflect changes
1 parent 260cbc9 commit 11585de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/dataset_helper_object.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ def verify_dataset_title_info(self, dataset_uuid: str, user_token: str) -> array
121121

122122
return rslt
123123

124-
# entity_id - UUID or HM_ID
125-
# user_token - The authorization token for the user, which is used to generate an appropriate
126-
# description of the user's access to the entity.
124+
# neo4j_driver - The driver instance for neo4j
125+
# json_payload - A list of ids (HM_ID or UUID)
127126
# user_data_access_level - Data access level information for the user, notably including
128127
# Globus Group membership information.
129128
#
130-
# Returns a JSON Object containing accessibility information for the entity.
131-
#
129+
# Returns a Dict of Dicts where each of the dicts inside is keyed by its original id given
130+
# in the json_payload and contains information about the accessibility of that directory
131+
# including its globus url.
132132
def get_entity_accessibility(self, neo4j_driver, json_payload, user_data_access_level: dict = None) -> dict:
133133
supported_entity_type_list = ['Dataset', 'Upload']
134134
accessibility_dicts = {}

0 commit comments

Comments
 (0)