コード例 #1
0
 def callAPI(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.callAPI(self)
     except requests.exceptions.ChunkedEncodingError:
         None