def fullVersion(partial):
 if (partial in ('', 'latest', None)):
  return latestVersion()
 for tag in availableVersions(local=False):
  if tag.startswith(partial):
   return tag
 return ''

def fullVersion ( partial ) : if ( partial in ( '' , 'latest' , None ) ) : return latestVersion ( ) for tag in availableVersions ( local = False ) : if tag . startswith ( partial ) : return tag return ''
expands a special name or a partial tag to the highest patch level in that series .