+
     h  c                   s    R t ^ RIHt ^ RIHtHtHt ^ RIHtH	t	H
t
HtHtHtHt ^ RIHt ^ RIHtHtHtHtHt ^ RIHt RtRP5                  ]! ]]4      4      t. ROtR R	 ltR
 R lt R# )zThis file provides quick access to all SecretStorage API. Please
refer to documentation of individual modules for API details.
)message_bus)DBusConnectionProxyopen_dbus_connection)
Collectioncreate_collectionget_all_collectionsget_default_collectionget_any_collectionget_collection_by_aliassearch_items)Item)SecretStorageException"SecretServiceNotAvailableExceptionLockedExceptionItemNotFoundExceptionPromptDismissedException)add_match_rulesZ.c                s$    V ^8  d   QhR\         /# )   return)r   Zformat   ";/usr/lib/python3.14/site-packages/secretstorage/__init__.py__annotate__r   ,   s     %B %B> %B    c                 s     \        4       p \        V 4       V #   \         d)   pRTP                  ^ ,           R2p\	        T4      ThRp?i\
        \        3 d   p\	        \        T4      4      ThRp?ii ; i)a  Returns a new connection to the session bus, instance of
jeepney's :class:`DBusConnection` class. This connection can
then be passed to various SecretStorage functions, such as
:func:`~secretstorage.collection.get_default_collection`.

.. warning::
   The D-Bus socket will not be closed automatically. You can
   close it manually using the :meth:`DBusConnection.close` method,
   or you can use the :class:`contextlib.closing` context manager:

   .. code-block:: python

      from contextlib import closing
      with closing(dbus_init()) as conn:
          collection = secretstorage.get_default_collection(conn)
          items = collection.search_items({'application': 'myapp'})

   However, you will not be able to call any methods on the objects
   created within the context after you leave it.

.. versionchanged:: 3.0
   Before the port to Jeepney, this function returned an
   instance of :class:`dbus.SessionBus` class.

.. versionchanged:: 3.1
   This function no longer accepts any arguments.
zEnvironment variable z	 is unsetN)r   r   ZKeyErrorZargsr   ZConnectionErrorZ
ValueErrorstr)
connectionZexZreasons      r   	dbus_initr   ,   ss    8	B)+

# A(I>08b@Z( B0R9rABs&    A5#AA5A5A00A5c                s0    V ^8  d   QhR\         R\        /# )r   r   r   )r   Zboolr   r   r   r   r   T   s     	< 	<> 	<d 	<r   c                s    ^ RI Hp \        \        V 4      pVP	                  V4      ^ ,          ^8H  ;'       g    WP                  4       ^ ,          9   # )zReturns True if the Secret Service daemon is either running or
available for activation via D-Bus, False otherwise.

.. versionadded:: 3.2
)BUS_NAME)secretstorage.utilr   r   r    ZNameHasOwnerZListActivatableNames)r   r   Zproxys   &  r   check_service_availabilityr   T   sN     ,+z*Ex(+q0 ; ;557::<r   N)   r   r   )r   r   r   r   r   r   r   r   r   r   r   r   r	   r   r
   )!Z__doc__Zjeepney.bus_messagesr    Zjeepney.io.blockingr   r   r   Zsecretstorage.collectionr   r   r   r   r   r	   r
   Zsecretstorage.itemr   Zsecretstorage.exceptionsr   r   r   r   r   r   r   Z__version_tuple__ZjoinZmapr   Z__version__Z__all__r   r   ) r   r   <module>r       sg    - K K' ' ' $1 1 / hhs3 123&%BP	<r   