def parse_single_version_ish(catalog, bundle_name, version_string):

    if version_string in client.SymbolicSingleBundleVersions or \
            version_string.startswith(client.BundleVersionDistroPrefix):
        bundle_version = version_string

    else:
        bundle_version = int(version_string)

    return bundle_version
dataset/ETHPy150Open mindsnacks/Zinc/src/zinc/cli.py/parse_single_version_ish/original