equal
deleted
inserted
replaced
161 |
161 |
162 Args: |
162 Args: |
163 fields: the dict from which to extract the key values |
163 fields: the dict from which to extract the key values |
164 """ |
164 """ |
165 |
165 |
166 if not all( (i in fields for i in ['scope_path', 'link_id']) ): |
166 if ('scope_path' not in fields) or ('link_id' not in fields): |
167 raise InvalidArgumentError |
167 raise InvalidArgumentError |
168 |
168 |
169 return [fields['scope_path'], fields['link_id']] |
169 return [fields['scope_path'], fields['link_id']] |
170 |
170 |
171 def getKeyFieldNames(self): |
171 def getKeyFieldNames(self): |