def lists(self):
     """Get web list collection"""
     if self.is_property_available('Lists'):
         return self.properties['Lists']
     else:
         return ListCollection(self.context,
                               ResourcePath("lists", self.resource_path))
Ejemplo n.º 2
0
 def lists(self):
     """The collection of lists under this site."""
     if self.is_property_available('lists'):
         return self.properties['lists']
     else:
         return ListCollection(
             self.context,
             ResourcePathEntity(self.context, self.resourcePath, "lists"))