Пример #1
0
    def list_resource_types(self, cnxt, support_status=None):
        """
        Get a list of supported resource types.

        :param cnxt: RPC context.
        """
        return resource.get_types(support_status)
Пример #2
0
    def list_resource_types(self, cnxt):
        """
        Get a list of supported resource types.

        :param cnxt: RPC context.
        """
        return list(resource.get_types())
Пример #3
0
    def list_resource_types(self, cnxt, support_status=None):
        """
        Get a list of supported resource types.

        :param cnxt: RPC context.
        """
        return resource.get_types(support_status)
Пример #4
0
    def list_resource_types(self, cnxt):
        """
        Get a list of supported resource types.

        :param cnxt: RPC context.
        """
        return list(resource.get_types())
Пример #5
0
 def list_resource_types(self, context):
     """
     Get a list of supported resource types.
     arg1 -> RPC context.
     """
     return list(resource.get_types())