Source code for appstoreserverlibrary.models.Environment
# Copyright (c) 2023 Apple Inc. Licensed under MIT License.
from enum import Enum
from .LibraryUtility import AppStoreServerLibraryEnumMeta
[docs]
class Environment(str, Enum, metaclass=AppStoreServerLibraryEnumMeta):
"""
The server environment, either sandbox or production.
https://developer.apple.com/documentation/appstoreserverapi/environment
"""
SANDBOX = "Sandbox"
PRODUCTION = "Production"
XCODE = "Xcode"
LOCAL_TESTING = "LocalTesting" # Used for unit testing