Ejemplo n.º 1
0
 def files(self):
     """Get a file collection"""
     if self.is_property_available('Files'):
         return self.properties["Files"]
     else:
         from office365.sharepoint.files.file_collection import FileCollection
         return FileCollection(self.context, ResourcePath("Files", self.resource_path))
Ejemplo n.º 2
0
 def files(self):
     """Get a file collection"""
     from office365.sharepoint.files.file_collection import FileCollection
     return self.properties.get(
         "Files",
         FileCollection(self.context,
                        ResourcePath("Files", self.resource_path)))