HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/env/lib/python3.10/site-packages/boto3/__pycache__/__init__.cpython-310.pyc
o

/we[
�@s�ddlZddlmZddlmZdZdZdadd�Zdej	dfd	d
�Z
dd�Zd
d�Zdd�Z
Gdd�dej�Ze�d��e��dS)�N)�_warn_deprecated_python)�SessionzAmazon Web Servicesz1.29.7cKstdi|��adS)z�
    Set up a default session, passing through any parameters to the session
    constructor. There is no need to call this unless you wish to pass custom
    parameters, because a default session will be created for you.
    N�)r�DEFAULT_SESSION)�kwargsrr�G/home/arjun/projects/env/lib/python3.10/site-packages/boto3/__init__.py�setup_default_sessionsr�boto3cCsT|durd}t�|�}|�|�t��}|�|�t�|�}|�|�|�|�dS)a
    Add a stream handler for the given name and level to the logging module.
    By default, this logs all boto3 messages to ``stdout``.

        >>> import boto3
        >>> boto3.set_stream_logger('boto3.resources', logging.INFO)

    For debugging purposes a good choice is to set the stream logger to ``''``
    which is equivalent to saying "log everything".

    .. WARNING::
       Be aware that when logging anything from ``'botocore'`` the full wire
       trace will appear in your logs. If your payloads contain sensitive data
       this should not be used in production.

    :type name: string
    :param name: Log name
    :type level: int
    :param level: Logging level, e.g. ``logging.INFO``
    :type format_string: str
    :param format_string: Log message format
    Nz0%(asctime)s %(name)s [%(levelname)s] %(message)s)�logging�	getLogger�setLevel�
StreamHandler�	Formatter�setFormatter�
addHandler)�name�level�
format_string�logger�handler�	formatterrrr�set_stream_logger%s




rcCstdurt�t�tS)z�
    Get the default session, creating one if needed.

    :rtype: :py:class:`~boto3.session.Session`
    :return: The default session
    N)rrrrrrr�_get_default_sessionHsrcO�t�j|i|��S)z�
    Create a low-level service client by name using the default session.

    See :py:meth:`boto3.session.Session.client`.
    )r�client��argsrrrrrV�rcOr)z�
    Create a resource service client by name using the default session.

    See :py:meth:`boto3.session.Session.resource`.
    )r�resourcerrrrr_rrc@seZdZdd�ZdS)�NullHandlercCsdS)Nr)�self�recordrrr�emitkszNullHandler.emitN)�__name__�
__module__�__qualname__r"rrrrrjsr)r
�boto3.compatr�
boto3.sessionr�
__author__�__version__rr�DEBUGrrrr�Handlerrrrrrrr�<module>s

#