
    ^j                     6    d dl mZ ddlmZ dZ G d de      Zy)    )Optional   )SupportsCapabilitiesplatformVersionc                   V    e Zd Zedee   fd       Zej                  deddfd       Zy)PlatformVersionOptionreturnc                 ,    | j                  t              S )z
        The platform version of an emulator or a real device.
        This capability is used for device autodetection if udid is not provided.
        )get_capabilityPLATFORM_VERSION)selfs    a/home/ubuntu/.local/lib/python3.12/site-packages/appium/options/common/platform_version_option.pyplatform_versionz&PlatformVersionOption.platform_version   s     ""#344    valueNc                 0    | j                  t        |       y)z
        Set the platform version of an emulator or a real device.
        This capability is used for device autodetection if udid is not provided.
        N)set_capabilityr   )r   r   s     r   r   z&PlatformVersionOption.platform_version"   s     	,e4r   )__name__
__module____qualname__propertyr   strr   setter r   r   r   r      sG    5(3- 5 5 5c 5d 5 5r   r   N)typingr   supports_capabilitiesr   r   r   r   r   r   <module>r      s    $  7$ 50 5r   