o
    ȷe                     @   s8   d dl mZ d dlmZ d dlmZ dd Zdd ZdS )	    )SDBRegionInfo)get_regions)connectc                   C   s   t dtdS )z
    Get all available regions for the SDB service.

    :rtype: list
    :return: A list of :class:`boto.sdb.regioninfo.RegionInfo` instances
    sdb)
region_cls)r   r    r   r   H/var/www/ideatree/venv/lib/python3.10/site-packages/boto/sdb/__init__.pyregions   s   r	   c                 K   s   t d| fdti|S )aV  
    Given a valid region name, return a
    :class:`boto.sdb.connection.SDBConnection`.

    :type: str
    :param region_name: The name of the region to connect to.

    :rtype: :class:`boto.sdb.connection.SDBConnection` or ``None``
    :return: A connection to the given region, or None if an invalid region
             name is given
    r   r   )r   r   )region_name	kw_paramsr   r   r   connect_to_region)   s   r   N)boto.sdb.regioninfor   boto.regioninfor   r   r	   r   r   r   r   r   <module>   s
   