code: def get_local_versions(self, local_name) -> typing.List[str]:
      if os.path.isdir(local_name):
          return self.versioning.sort_versions(
              version_list=[
                  d
                  for d in os.listdir(local_name)
                  if self.versioning.is_version_valid(d)
              ]
          )
      else:
          return []
  
file_path: modelkit/modelkit/assets/settings.py
imports: import os
  import re
  import typing
  from modelkit.assets import errors
  from modelkit.assets.versioning.major_minor import MajorMinorAssetsVersioningSystem
  from modelkit.assets.versioning.simple_date import SimpleDateAssetsVersioningSystem
  from modelkit.assets.versioning.versioning import AssetsVersioningSystem
label_desc: Use image node_id 5 for calling the AssetSpec obj's underlying member method code with example usage: obj.get_local_versions(local_name) and returns: self, list