In the class DriveItemPermission the variable granted_to only has the display_name value. I want to access the id also . how culd I do?
self.granted_to = granted_to.get('user', {}).get(
self._cc('displayName')) or granted_to.get('application', {}).get(
self._cc('displayName'))
self.share_id = cloud_data.get(self._cc('shareId'), None)
In the class DriveItemPermission the variable granted_to only has the display_name value. I want to access the id also . how culd I do? self.granted_to = granted_to.get('user', {}).get( self._cc('displayName')) or granted_to.get('application', {}).get( self._cc('displayName')) self.share_id = cloud_data.get(self._cc('shareId'), None)