Source code for azure.search.documents._api_versions

# ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------

from enum import Enum
from azure.core import CaseInsensitiveEnumMeta

[docs]class ApiVersion(str, Enum, metaclass=CaseInsensitiveEnumMeta): #: this is the default version V2020_06_30 = "2020-06-30" V2021_04_30_PREVIEW = "2021-04-30-Preview"
DEFAULT_VERSION = ApiVersion.V2021_04_30_PREVIEW