Method
__init__
(self,
root='http://localhost:9000',
path='/publish/epoch/end/',
field='data',
headers=None,
send_as_json=False)
Source from the content-addressed store, hash-verified
| 1279 | """ |
| 1280 | |
| 1281 | def __init__(self, |
| 1282 | root='http://localhost:9000', |
| 1283 | path='/publish/epoch/end/', |
| 1284 | field='data', |
| 1285 | headers=None, |
| 1286 | send_as_json=False): |
| 1287 | super(RemoteMonitor, self).__init__() |
| 1288 | |
| 1289 | self.root = root |
| 1290 | self.path = path |
| 1291 | self.field = field |
| 1292 | self.headers = headers |
| 1293 | self.send_as_json = send_as_json |
| 1294 | |
| 1295 | def on_epoch_end(self, epoch, logs=None): |
| 1296 | if requests is None: |
Callers
nothing calls this directly
Tested by
no test coverage detected