File: //opt/alt/python38/lib/python3.8/site-packages/geoip2/__pycache__/webservice.cpython-38.opt-1.pyc
U
_�_�C � @ s d Z ddlZddlZddlmZmZmZmZmZm Z m
Z
ddlZddlZddl
Z
ddlZ
ddlZddlZddlmZmZmZmZmZmZmZ ddlmZmZmZ ddlmZ dej� dejj � �Z!dej� de
j"�#� � �Z$G d d
� d
�Z%G dd� de%�Z&G d
d� de%�Z'dS )a{
============================
WebServices Client API
============================
This class provides a client API for all the GeoIP2 Precision web service end
points. The end points are Country, City, and Insights. Each end point returns
a different set of data about an IP address, with Country returning the least
data and Insights the most.
Each web service end point is represented by a different model class, and
these model classes in turn contain multiple record classes. The record
classes have attributes which contain data about the IP address.
If the web service does not return a particular piece of data for an IP
address, the associated attribute is not populated.
The web service may not return any information for an entire record, in which
case all of the attributes for that record class will be empty.
SSL
---
Requests to the web service are always made with SSL.
� N)�Any�Dict�cast�List�Optional�Type�Union)�AddressNotFoundError�AuthenticationError�GeoIP2Error� HTTPError�InvalidRequestError�OutOfQueriesError�PermissionRequiredError)�City�Country�Insights)� IPAddresszGeoIP2-Python-Client/� c @ s e Zd ZU eed<