code: async def AddMetricBatches(self, batches):
          '''
          batches : typing.Sequence[~MetricBatchParam]
          Returns -> typing.Sequence[~ErrorResult]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='MetricsAdder',
                     request='AddMetricBatches',
                     version=2,
                     params=_params)
          _params['batches'] = batches
          reply = await self.rpc(msg)
          return replync def AddMetricBatches(self, batches):
          '''
          batches : typing.Sequence[~MetricBatchParam]
          Returns -> typing.Sequence[~ErrorResult]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='MetricsAdder',
                     request='AddMetricBatches',
                     version=2,
                     params=_params)
          _params['batches'] = batches
          reply = await self.rpc(msg)
          return reply
docs: batches : typing.Sequence[~MetricBatchParam]
          Returns -> typing.Sequence[~ErrorResult]