def __DeviceProxy__write_attributes_asynch(self, attr_values, cb=None):
    """
    write_attributes_asynch( self, values) -> int

            Write asynchronously (polling model) the specified attributes.

        Parameters :
                - values : (any) See write_attributes.
        Return     : An asynchronous call identifier which is needed to get the
                    server reply

        Throws     : ConnectionFailed

        New in PyTango 7.0.0

    write_attributes_asynch( self, values, callback) -> None

            Write asynchronously (callback model) a single attribute.

        Parameters :
                - values   : (any) See write_attributes.
                - callback : (callable) This callback object should be an instance of a user
                            class with an attr_written() method . It can also be any
                            callable object.
        Return     : None

        Throws     : ConnectionFailed

        New in PyTango 7.0.0

    .. important::
        by default, TANGO is initialized with the **polling** model. If you want
        to use the **push** model (the one with the callback parameter), you
        need to change the global TANGO model to PUSH_CALLBACK.
        You can do this with the :meth:`tango.ApiUtil.set_asynch_cb_sub_model`
    """
    if cb is None:
        return self.__write_attributes_asynch(attr_values)

    cb2 = __CallBackAutoDie()
    if isinstance(cb, collections_abc.Callable):
        cb2.attr_write = cb
    else:
        cb2.attr_write = cb.attr_write
    return self.__write_attributes_asynch(attr_values, cb2)
def __DeviceProxy__write_attributes_asynch ( self , attr_values , cb = None ) : if cb is None : return self . __write_attributes_asynch ( attr_values ) cb2 = __CallBackAutoDie ( ) if isinstance ( cb , collections_abc . Callable ) : cb2 . attr_write = cb else : cb2 . attr_write = cb . attr_write return self . __write_attributes_asynch ( attr_values , cb2 )
write_attributes_asynch( self, values) -> int

            Write asynchronously (polling model) the specified attributes.

        Parameters :
                - values : (any) See write_attributes.
        Return     : An asynchronous call identifier which is needed to get the
                    server reply

        Throws     : ConnectionFailed

        New in PyTango 7.0.0

    write_attributes_asynch( self, values, callback) -> None

            Write asynchronously (callback model) a single attribute.

        Parameters :
                - values   : (any) See write_attributes.
                - callback : (callable) This callback object should be an instance of a user
                            class with an attr_written() method . It can also be any
                            callable object.
        Return     : None

        Throws     : ConnectionFailed

        New in PyTango 7.0.0

    .. important::
        by default, TANGO is initialized with the **polling** model. If you want
        to use the **push** model (the one with the callback parameter), you
        need to change the global TANGO model to PUSH_CALLBACK.
        You can do this with the :meth:`tango.ApiUtil.set_asynch_cb_sub_model`