hltv-async-api 0.4.0__tar.gz → 0.4.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hltv_async_api
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Hltv-aio An unofficial asynchronous HLTV API Wrapper for Python
5
5
  Home-page: https://github.com/akimerslys/aiohltv
6
6
  Author: akimerslys
@@ -6,4 +6,4 @@
6
6
  from .aiohltv import Hltv
7
7
 
8
8
  __author__ = 'akimerslys'
9
- __version__ = '0.4.0'
9
+ __version__ = '0.4.1'
@@ -74,12 +74,13 @@ class Hltv:
74
74
  max_retries: int | None = None,
75
75
  proxy_protocol: str | None = None,
76
76
  proxy_one_time: bool | None = None,
77
+ true_session: bool | None = None,
77
78
  ):
78
79
  if max_delay:
79
80
  self.MAX_DELAY = max_delay
80
81
  if timeout:
81
82
  self.timeout = timeout
82
- if use_proxy:
83
+ if use_proxy is not None:
83
84
  self.USE_PROXY = use_proxy
84
85
  if proxy_list:
85
86
  self.PROXY_LIST = proxy_list
@@ -87,9 +88,11 @@ class Hltv:
87
88
  self.max_retries = max_retries
88
89
  if proxy_protocol:
89
90
  self.PROXY_PROTOCOL = proxy_protocol
90
- if proxy_one_time:
91
+ if proxy_one_time is not None:
91
92
  self.PROXY_ONCE = proxy_one_time
92
- if debug:
93
+ if true_session is not None:
94
+ self.TRUE_SESSION = true_session
95
+ if debug is not None:
93
96
  self.DEBUG = debug
94
97
  self._configure_logging()
95
98
  if proxy_file_path:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hltv_async_api
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Hltv-aio An unofficial asynchronous HLTV API Wrapper for Python
5
5
  Home-page: https://github.com/akimerslys/aiohltv
6
6
  Author: akimerslys
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hltv_async_api"
3
- version = "0.4.0"
3
+ version = "0.4.1"
4
4
  authors = [
5
5
  { name="Akim Slys", email="akimslys2003@gmail.com" },
6
6
  ]
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='hltv_async_api',
5
- version='0.4.0',
5
+ version='0.4.1',
6
6
  author='akimerslys',
7
7
  author_email='akimslys2003@gmail.com',
8
8
  description='Hltv-aio: An unofficial asynchronous HLTV API Wrapper for Python',
File without changes
File without changes
File without changes