Source code for nanome.util.simple_callbacks

import logging

from nanome.api.integration import Integration, IntegrationRequest


logger = logging.getLogger(__name__)


[docs]def simple_callback_arg_unpack(network, arg, request_id): network._call(request_id, *arg)
[docs]def simple_callback_arg(network, arg, request_id): network._call(request_id, arg)
[docs]def simple_callback_no_arg(network, arg, request_id): network._call(request_id)