def listItem(self): """For drives in SharePoint, the associated document library list item.""" if self.is_property_available('listItem'): return self.properties['listItem'] else: return ListItem( self.context, ResourcePathEntity(self.context, self.resourcePath, "listItem"))
def listItem(self): """For drives in SharePoint, the associated document library list item.""" return self.properties.get( 'listItem', ListItem(self.context, ResourcePath("listItem", self.resource_path)))
def listItem(self): """Used to access the underlying listItem""" return self.properties.get('listItem', ListItem(self.context, ResourcePath("listItem", self.resource_path)))