コード例 #1
0
 def _call_api(self):
     """
     Override so we can handle the incomplete read error generated
     by Boundary API that creates a measurement.
     Handle here instead of ApiCli since we do not want to mask errors
     to other API calls.
     """
     try:
         ApiCli._call_api(self)
     except requests.exceptions.ChunkedEncodingError:
         pass