def backend_and_api_args_from_configuration(configuration):
 configuration = freeze(configuration)
 backend_name = configuration['backend'].decode('ascii')
 backend = backend_loader.get(backend_name)
 api_args = configuration.remove('backend')
 return (backend, api_args)

def backend_and_api_args_from_configuration ( configuration ) : configuration = freeze ( configuration ) backend_name = configuration [ 'backend' ] . decode ( 'ascii' ) backend = backend_loader . get ( backend_name ) api_args = configuration . remove ( 'backend' ) return ( backend , api_args )
parse the dataset section of agent .