PycordViews 1.2.3__tar.gz → 1.2.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.
- {pycordviews-1.2.3 → pycordviews-1.2.4}/PKG-INFO +1 -1
- {pycordviews-1.2.3 → pycordviews-1.2.4}/PycordViews.egg-info/PKG-INFO +1 -1
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/multibot/multibot.py +6 -6
- {pycordviews-1.2.3 → pycordviews-1.2.4}/setup.py +1 -1
- {pycordviews-1.2.3 → pycordviews-1.2.4}/LICENSE +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/PycordViews.egg-info/SOURCES.txt +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/PycordViews.egg-info/dependency_links.txt +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/PycordViews.egg-info/requires.txt +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/PycordViews.egg-info/top_level.txt +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/README.md +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/__init__.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/menu/__init__.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/menu/errors.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/menu/menu.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/menu/selectMenu.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/multibot/__init__.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/multibot/bot.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/multibot/errors.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/multibot/process.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/pagination/__init__.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/pagination/errors.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/pagination/pagination_view.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/views/__init__.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/views/easy_modified_view.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pycordViews/views/errors.py +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/pyproject.toml +0 -0
- {pycordviews-1.2.3 → pycordviews-1.2.4}/setup.cfg +0 -0
@@ -24,15 +24,15 @@ class Multibot:
|
|
24
24
|
|
25
25
|
self.global_timeout = global_timeout
|
26
26
|
|
27
|
-
def __get_data_queue(self) -> Union[list[dict], dict
|
27
|
+
def __get_data_queue(self) -> Union[list[dict], dict]:
|
28
28
|
"""
|
29
29
|
Récupère les données dans la queue processus
|
30
30
|
"""
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
31
|
+
try:
|
32
|
+
result = self.__process_queue.get(timeout=self.global_timeout)
|
33
|
+
return result
|
34
|
+
except :
|
35
|
+
return {'status': 'error', 'message': 'timeout request exceeded'}
|
36
36
|
|
37
37
|
def _start_process(self):
|
38
38
|
"""
|
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
|
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
|