
    -ji                        S SK Jr  S SKJr  S SKJr  S SKJr  \(       a  S SKJr  S SK	J
r
  \R                  " \5      r " S S5      rg	)
    )annotations)Any)TYPE_CHECKING)logging)Sequence)StudyDirectionc                      \ rS rSrSrSS.           SS jjrSS jrSS jrSS jr\	SS	 j5       r
\	SS
 j5       rSrg)FrozenStudy   a  Basic attributes of a :class:`~optuna.study.Study`.

This class is private and not referenced by Optuna users.

Attributes:
    study_name:
        Name of the :class:`~optuna.study.Study`.
    direction:
        :class:`~optuna.study.StudyDirection` of the :class:`~optuna.study.Study`.

        .. note::
            This attribute is only available during single-objective optimization.
    directions:
        A list of :class:`~optuna.study.StudyDirection` objects.
    user_attrs:
        Dictionary that contains the attributes of the :class:`~optuna.study.Study` set with
        :func:`optuna.study.Study.set_user_attr`.
    system_attrs:
        Dictionary that contains the attributes of the :class:`~optuna.study.Study` internally
        set by Optuna.

N)
directionsc                   Xl         Uc  Uc  [        S5      eUb  [        U5      U l        OUb	  U/U l        O[        S5      eX0l        X@l        XPl        g )Nz,Specify one of `direction` and `directions`.z1Specify only one of `direction` and `directions`.)
study_name
ValueErrorlist_directions
user_attrssystem_attrs	_study_id)selfr   	directionr   r   study_idr   s          N/home/james-whalen/.local/lib/python3.13/site-packages/optuna/study/_frozen.py__init__FrozenStudy.__init__*   s_     %!3KLL##J/D" ){DPQQ$(!    c                j    [        U[        5      (       d  [        $ UR                  U R                  :H  $ N)
isinstancer
   NotImplemented__dict__r   others     r   __eq__FrozenStudy.__eq__A   s(    %--!!~~..r   c                j    [        U[        5      (       d  [        $ U R                  UR                  :  $ r   r   r
   r   r   r!   s     r   __lt__FrozenStudy.__lt__G   s(    %--!!~~//r   c                j    [        U[        5      (       d  [        $ U R                  UR                  :*  $ r   r&   r!   s     r   __le__FrozenStudy.__le__M   s(    %--!!~~00r   c                h    [        U R                  5      S:  a  [        S5      eU R                  S   $ )N   zDThis attribute is not available during multi-objective optimization.r   )lenr   RuntimeErrorr   s    r   r   FrozenStudy.directionS   s8    t 1$V  ""r   c                    U R                   $ r   )r   r0   s    r   r   FrozenStudy.directions\   s    r   )r   r   r   r   r   )r   strr   zStudyDirection | Noner   dict[str, Any]r   r5   r   intr   zSequence[StudyDirection] | None)r"   r   returnbool)r7   r   )r7   zlist[StudyDirection])__name__
__module____qualname____firstlineno____doc__r   r#   r'   r*   propertyr   r   __static_attributes__ r   r   r
   r
      s    > 7;"" )" #	"
 %" " 4"./01 # #    r   r
   N)
__future__r   typingr   r   optunar   collections.abcr   optuna.study._study_directionr   
get_loggerr9   _loggerr
   r@   r   r   <module>rH      s:    "     (< 

X
&L  L r   