FlightRadarAPI 1.3.3__tar.gz → 1.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/FlightRadar24/__init__.py +1 -1
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/FlightRadar24/request.py +4 -4
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/FlightRadarAPI.egg-info/PKG-INFO +1 -1
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/PKG-INFO +1 -1
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/FlightRadar24/api.py +0 -0
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/FlightRadar24/core.py +0 -0
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/FlightRadar24/errors.py +0 -0
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/FlightRadar24/flight.py +0 -0
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/FlightRadarAPI.egg-info/SOURCES.txt +0 -0
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/FlightRadarAPI.egg-info/dependency_links.txt +0 -0
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/FlightRadarAPI.egg-info/requires.txt +0 -0
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/FlightRadarAPI.egg-info/top_level.txt +0 -0
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/LICENSE +0 -0
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/README.md +0 -0
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/setup.cfg +0 -0
- {FlightRadarAPI-1.3.3 → FlightRadarAPI-1.3.4}/setup.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
|
|
3
|
-
from requests.models import Response
|
|
4
|
-
from requests.structures import CaseInsensitiveDict
|
|
5
3
|
from typing import Dict, Optional, Union
|
|
6
4
|
|
|
7
5
|
import brotli
|
|
8
6
|
import json
|
|
9
7
|
import gzip
|
|
8
|
+
|
|
10
9
|
import requests
|
|
10
|
+
import requests.structures
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class APIRequest(object):
|
|
@@ -76,13 +76,13 @@ class APIRequest(object):
|
|
|
76
76
|
"""
|
|
77
77
|
return self.__response.cookies.get_dict()
|
|
78
78
|
|
|
79
|
-
def get_headers(self) -> CaseInsensitiveDict:
|
|
79
|
+
def get_headers(self) -> requests.structures.CaseInsensitiveDict:
|
|
80
80
|
"""
|
|
81
81
|
Return the headers of the response.
|
|
82
82
|
"""
|
|
83
83
|
return self.__response.headers
|
|
84
84
|
|
|
85
|
-
def get_response_object(self) -> Response:
|
|
85
|
+
def get_response_object(self) -> requests.models.Response:
|
|
86
86
|
"""
|
|
87
87
|
Return the received response object.
|
|
88
88
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|