Skip to content

Commit

Permalink
Rename getter methods to private
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Feb 13, 2024
1 parent 479e28e commit ce20dd0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ def _common_configuration(

MetricExporter.__init__(
self,
preferred_temporality=self.get_temporality(preferred_temporality),
preferred_aggregation=self.get_aggregation(preferred_aggregation),
preferred_temporality=self._get_temporality(preferred_temporality),
preferred_aggregation=self._get_aggregation(preferred_aggregation),
)

def get_temporality(
def _get_temporality(
self, preferred_temporality: Dict[type, AggregationTemporality]
) -> Dict[type, AggregationTemporality]:

Expand Down Expand Up @@ -131,7 +131,7 @@ def get_temporality(

return instrument_class_temporality

def get_aggregation(
def _get_aggregation(
self,
preferred_aggregation: Dict[type, Aggregation],
) -> Dict[type, Aggregation]:
Expand Down

0 comments on commit ce20dd0

Please sign in to comment.