Skip to content

Commit

Permalink
hide get_latest_version
Browse files Browse the repository at this point in the history
  • Loading branch information
rwegener2 committed Oct 17, 2023
1 parent 3561be8 commit d13ac33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions icepyx/core/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(
self.product = is2ref._validate_product(product)
# Check for valid version string
# If version is not specified by the user assume the most recent version
self.version = val.prod_version(self.get_latest_version(), version)
self.version = val.prod_version(self._get_latest_version(), version)
else:
raise TypeError('Either a filepath or a product need to be given as input arguments.')

Expand Down Expand Up @@ -659,7 +659,7 @@ def remove(self, all=False, var_list=None, beam_list=None, keyword_list=None):
pass

# DevNote: This is a modified function from the Query class.
def get_latest_version(self):
def _get_latest_version(self):
"""
Determine the most recent version available for the given product.
Expand Down

0 comments on commit d13ac33

Please sign in to comment.