@utils.immutable
    def precision(self, precision):

        if isinstance(precision, int):
            precision = self.PRECISION_LEVELS[precision]

        if precision not in self.PRECISION_LEVELS:
            levels = ", ".join(self.PRECISION_LEVELS)
            raise ValueError("Precision should be one of: " + levels)

        if precision != 'DEFAULT':
            self.raw.update({'samplingLevel': precision})

        return self
Mark this UploadWorkItem as sucessfully-sent to the server.
dataset/ETHPy150Open debrouwere/google-analytics/googleanalytics/query.py/CoreQuery.precision--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/bulkloader.py/UploadWorkItem.MarkAsTransferred