(self, resources=None)
return all_resources
Return all the resource classes.
Return all the resource classes.
Return all the resource classes .
def ResourceClasses(self, resources=None):
    """Return all the resource classes."""
    if resources is None:
      resources = self.values['resources']

    all_resources = sorted(resources,
                           key=lambda resource: resource.values['className'])

    for resource in resources:
      all_resources.extend(self.ResourceClasses(resource.values['resources']))

    return all_resources
def ResourceClasses ( self , resources = None ) : if resources is None : resources = self . values [ 'resources' ] all_resources = sorted ( resources , key = lambda resource : resource . values [ 'className' ] ) for resource in resources : all_resources . extend ( self . ResourceClasses ( resource . values [ 'resources' ] ) ) return all_resources