juju/client/facade.py
def as_validation(self):
        """
        as_validation returns a series of validation statements for every item
        in the the Args.
        """
        parts = []
        for item in self:
            var_name = name_to_py(item[0])
            var_type, var_sub_type, ok = kind_to_py(item[1])
            if ok:
                parts.append(buildValidation(var_name, var_type, var_sub_type))
        return '\n'.join(parts)

        as_validation returns a series of validation statements for every item
        in the the Args.
        
as_validation returns a series of validation statements for every item
in the the Args.
as_validation returns a series of validation statements for every item in the the Args .
def as_validation(self):
        parts = []
        for item in self:
            var_name = name_to_py(item[0])
            var_type, var_sub_type, ok = kind_to_py(item[1])
            if ok:
                parts.append(buildValidation(var_name, var_type, var_sub_type))
        return '\n'.join(parts)
def as_validation ( self ) : parts = [ ] for item in self : var_name = name_to_py ( item [ 0 ] ) var_type , var_sub_type , ok = kind_to_py ( item [ 1 ] ) if ok : parts . append ( buildValidation ( var_name , var_type , var_sub_type ) ) return '\n' . join ( parts )
as_validation returns a series of validation statements for every item
in the the Args.
as_validation returns a series of validation statements for every item in the the Args .
"""
        as_validation returns a series of validation statements for every item
        in the the Args.
        """
self