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/lib64/python3.10/site-packages/tweepy/__pycache__/place.cpython-310.pyc
o

+we�	�@s.ddlmZmZgd�ZGdd�dee�ZdS)�)�DataMapping�
HashableID)�contained_within�country�country_code�	full_name�geo�id�name�
place_typec@s,eZdZdZdZdd�Zdd�Zdd�Zd	S)
�Placea�The place tagged in a Tweet is not a primary object on any endpoint, but
    can be found and expanded in the Tweet resource. 

    The object is available for expansion with ``?expansions=geo.place_id`` to
    get the condensed object with only default fields. Use the expansion with
    the field parameter: ``place.fields`` when requesting additional fields to
    complete the object.

    .. versionadded:: 4.0

    Attributes
    ----------
    data : dict
        The JSON data representing the place.
    full_name : str
        A longer-form detailed place name.
    id : str
        The unique identifier of the expanded place, if this is a point of
        interest tagged in the Tweet.
    contained_within : list
        Returns the identifiers of known places that contain the referenced
        place.
    country : str | None
        The full-length name of the country this place belongs to.
    country_code : str | None
        The ISO Alpha-2 country code this place belongs to.
    geo : dict | None
        Contains place details in GeoJSON format.
    name : str | None
        The short name of this place.
    place_type : str | None
        Specified the particular type of information represented by this place
        information, such as a city name, or a point of interest.

    References
    ----------
    https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/place
    )	�datarr	rrrrr
rcCsh||_|d|_|d|_|�dg�|_|�d�|_|�d�|_|�d�|_|�d�|_|�d�|_	dS)	Nrr	rrrrr
r)
r
rr	�getrrrrr
r)�selfr
�r�E/home/arjun/projects/env/lib/python3.10/site-packages/tweepy/place.py�__init__Bs

zPlace.__init__cCsd|j�d|j�d�S)Nz
<Place id=z full_name=�>)r	r�rrrr�__repr__NszPlace.__repr__cCs|jS)N)rrrrr�__str__Qsz
Place.__str__N)�__name__�
__module__�__qualname__�__doc__�	__slots__rrrrrrrrs'rN)�
tweepy.mixinsrr�PLACE_FIELDSrrrrr�<module>s