Skip to content

Commit

Permalink
Deprecate "public" and "dotted" version aliases
Browse files Browse the repository at this point in the history
"public" and "dotted" aliases were equal to the "lts" alias for quite some time. They are deprecated now and will be removed with the next major vSphere release.
  • Loading branch information
ddraganov committed Feb 8, 2024
1 parent 2ee06f8 commit 14b5ed2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyVmomi/VmomiSupport.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (c) 2005-2023 VMware, Inc.
# Copyright (c) 2005-2024 Broadcom. All Rights Reserved.
# The term "Broadcom" refers to Broadcom Inc.
# and/or its subsidiaries.
"""VMOMI support code
This module contains support for VMOMI abstractions such as VMODL types,
Expand Down Expand Up @@ -1610,11 +1612,12 @@ def EnumerateWireIds(self):

newestVersions = _MaturitySet()
ltsVersions = _MaturitySet()
dottedVersions = _MaturitySet()
oldestVersions = _MaturitySet()

# Deprecated
# Alias for backward compatibility. Required until VMC M11 is phased out.
publicVersions = ltsVersions
dottedVersions = ltsVersions

# AddVersion is not used in this module however it is imported from it in the
# generated bindings so removing it will break the world.
Expand Down

0 comments on commit 14b5ed2

Please sign in to comment.