pixelarraythirdparty 1.1.6__tar.gz → 1.1.7__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.
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/PKG-INFO +1 -1
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/__init__.py +1 -1
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/cron/cron.py +1 -34
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty.egg-info/PKG-INFO +1 -1
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pyproject.toml +1 -1
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/LICENSE +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/MANIFEST.in +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/client.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/cron/__init__.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/feedback/__init__.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/feedback/feedback.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/order/__init__.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/order/order.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/product/__init__.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/product/product.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/project/__init__.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/project/project.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/unified_login/__init__.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/unified_login/unified_login.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/user/__init__.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/user/user.py +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty.egg-info/SOURCES.txt +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty.egg-info/dependency_links.txt +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty.egg-info/requires.txt +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty.egg-info/top_level.txt +0 -0
- {pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/setup.cfg +0 -0
|
@@ -2,40 +2,7 @@ from pixelarraythirdparty.client import AsyncClient
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
class CronManagerAsync(AsyncClient):
|
|
5
|
-
async def
|
|
6
|
-
"""
|
|
7
|
-
description:
|
|
8
|
-
获取Cron服务状态,包括已注册的任务、工作节点状态等。
|
|
9
|
-
return:
|
|
10
|
-
data(dict): Cron服务状态信息
|
|
11
|
-
- registered_tasks(dict): 已注册的任务列表,按工作节点分组
|
|
12
|
-
- worker_stats(dict): 工作节点统计信息
|
|
13
|
-
- scheduled_task_count(int): 定时任务数量
|
|
14
|
-
- timestamp(str): 状态获取时间
|
|
15
|
-
success(bool): 操作是否成功
|
|
16
|
-
"""
|
|
17
|
-
data, success = await self._request("GET", "/api/cron/status")
|
|
18
|
-
if not success:
|
|
19
|
-
return {}, False
|
|
20
|
-
return data, True
|
|
21
|
-
|
|
22
|
-
async def get_cron_tasks(self):
|
|
23
|
-
"""
|
|
24
|
-
description:
|
|
25
|
-
获取所有已注册的Cron任务列表。
|
|
26
|
-
return:
|
|
27
|
-
data(dict): 任务列表信息
|
|
28
|
-
- tasks(list): 已注册的任务名称列表
|
|
29
|
-
- count(int): 任务数量
|
|
30
|
-
- timestamp(str): 获取时间
|
|
31
|
-
success(bool): 操作是否成功
|
|
32
|
-
"""
|
|
33
|
-
data, success = await self._request("GET", "/api/cron/tasks")
|
|
34
|
-
if not success:
|
|
35
|
-
return {}, False
|
|
36
|
-
return data, True
|
|
37
|
-
|
|
38
|
-
async def get_cron_tasks_scheduled(self):
|
|
5
|
+
async def list_cron_task(self):
|
|
39
6
|
"""
|
|
40
7
|
description:
|
|
41
8
|
获取所有配置的定时任务列表,包括任务详情、执行时间、状态等。
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/cron/__init__.py
RENAMED
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/feedback/__init__.py
RENAMED
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/feedback/feedback.py
RENAMED
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/order/__init__.py
RENAMED
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/order/order.py
RENAMED
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/product/__init__.py
RENAMED
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/product/product.py
RENAMED
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/project/__init__.py
RENAMED
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/project/project.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty/user/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{pixelarraythirdparty-1.1.6 → pixelarraythirdparty-1.1.7}/pixelarraythirdparty.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|