@property
    def labels(self):
        if self._labels is None:
            labels = {'resource_type': self.resource.type}
            labels.update(self.resource.labels)
            labels.update(self.metric.labels)
            self._labels = labels

        return self._labels
Don't touch underscores in code blocks.
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/monitoring/timeseries.py/TimeSeries.labels--crossover with--dataset/ETHPy150Open hasgeek/coaster/tests/test_gfm.py/TestMarkdown.test_underscores_code_blocks