Source code for jubakit.dumb

# -*- coding: utf-8 -*-"""*Dumb* Service is a kind of temporary implementations of Services.They are defined just for convenience.Unlike *Real* Services (Classifier, Anomaly, ...) which are definedin each file (classifier.py, anomaly.py, ...), Dumb Services cannothandle Datasets and Schemas.Each service has a field called ``CONFIG``, which provides a defaultconfig data structure for the service. So you can use jubakit to starta Jubatus server processe, then directly use the raw Client class tomake RPC calls. >>> from jubakit.dumb import Stat >>> service = Stat.run(Stat.CONFIG) >>> client = service._client() >>> client.push('x', 12)"""from__future__importabsolute_import,division,print_function,unicode_literalsfromjubakit.baseimportBaseServiceimportjubatusimportjubatus.embedded