def get_rpc_client(**kwargs):
 target = oslo_messaging.Target(**kwargs)
 serializer = RequestContextSerializer(JsonPayloadSerializer())
 return oslo_messaging.RPCClient(TRANSPORT, target, serializer=serializer)

def get_rpc_client ( ** kwargs ) : target = oslo_messaging . Target ( ** kwargs ) serializer = RequestContextSerializer ( JsonPayloadSerializer ( ) ) return oslo_messaging . RPCClient ( TRANSPORT , target , serializer = serializer )
return a configured oslo_messaging rpcclient .