ucscsdk/ucsccoreutils.py
def write_object(mo_or_list):
    """
    This prints the managed object on the standard output.
    """

    from . import ucscmethod
    from . import ucscmo

    if isinstance(mo_or_list, ucscmethod.ExternalMethod):
        if hasattr(mo_or_list, "out_configs"):
            for child in mo_or_list.out_configs.child:
                if isinstance(child, ucscmo.ManagedObject):
                    write_object(child)
    elif isinstance(mo_or_list, list) and len(mo_or_list) > 0:
        for mo in mo_or_list:
            if (isinstance(mo, ucscmo.ManagedObject) or
                    isinstance(mo, ucscmo.GenericMo)):
                print(mo)
    elif (isinstance(mo_or_list, ucscmo.ManagedObject) or
            isinstance(mo_or_list, ucscmo.GenericMo)):
        print(mo_or_list)

    This prints the managed object on the standard output.
    
This prints the managed object on the standard output.
This prints the managed object on the standard output .
def write_object(mo_or_list):
    from . import ucscmethod
    from . import ucscmo
    if isinstance(mo_or_list, ucscmethod.ExternalMethod):
        if hasattr(mo_or_list, "out_configs"):
            for child in mo_or_list.out_configs.child:
                if isinstance(child, ucscmo.ManagedObject):
                    write_object(child)
    elif isinstance(mo_or_list, list) and len(mo_or_list) > 0:
        for mo in mo_or_list:
            if (isinstance(mo, ucscmo.ManagedObject) or
                    isinstance(mo, ucscmo.GenericMo)):
                print(mo)
    elif (isinstance(mo_or_list, ucscmo.ManagedObject) or
            isinstance(mo_or_list, ucscmo.GenericMo)):
        print(mo_or_list)
def write_object ( mo_or_list ) : from . import ucscmethod from . import ucscmo if isinstance ( mo_or_list , ucscmethod . ExternalMethod ) : if hasattr ( mo_or_list , "out_configs" ) : for child in mo_or_list . out_configs . child : if isinstance ( child , ucscmo . ManagedObject ) : write_object ( child ) elif isinstance ( mo_or_list , list ) and len ( mo_or_list ) > 0 : for mo in mo_or_list : if ( isinstance ( mo , ucscmo . ManagedObject ) or isinstance ( mo , ucscmo . GenericMo ) ) : print ( mo ) elif ( isinstance ( mo_or_list , ucscmo . ManagedObject ) or isinstance ( mo_or_list , ucscmo . GenericMo ) ) : print ( mo_or_list )
This prints the managed object on the standard output.
This prints the managed object on the standard output .
"""
    This prints the managed object on the standard output.
    """
mo_or_list