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.
@@ -13,7 +13,7 @@ https://www.flightradar24.com/terms-and-conditions
13
13
  """
14
14
 
15
15
  __author__ = "Jean Loui Bernard Silva de Jesus"
16
- __version__ = "1.3.3"
16
+ __version__ = "1.3.4"
17
17
 
18
18
  from .api import FlightRadar24API, FlightTrackerConfig
19
19
  from .flight import Flight
@@ -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
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: FlightRadarAPI
3
- Version: 1.3.3
3
+ Version: 1.3.4
4
4
  Summary: API for FlightRadar24
5
5
  Home-page: https://github.com/JeanExtreme002/FlightRadarAPI
6
6
  Author: Jean Loui Bernard Silva de Jesus
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: FlightRadarAPI
3
- Version: 1.3.3
3
+ Version: 1.3.4
4
4
  Summary: API for FlightRadar24
5
5
  Home-page: https://github.com/JeanExtreme002/FlightRadarAPI
6
6
  Author: Jean Loui Bernard Silva de Jesus
File without changes
File without changes
File without changes
File without changes