def files(self): """Get a file collection""" if self.is_property_available('Files'): return self.properties["Files"] else: from office365.sharepoint.file_collection import FileCollection return FileCollection(self.context, ResourcePath("Files", self.resource_path))
def files(self): """Get a file collection""" if self.is_property_available('Files'): return self.properties["Files"] else: return FileCollection( self.context, ResourcePathEntry(self.context, self.resource_path, "Files"))