intellif-aihub 0.1.17__py3-none-any.whl → 0.1.18__py3-none-any.whl
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.
Potentially problematic release.
This version of intellif-aihub might be problematic. Click here for more details.
- aihub/__init__.py +1 -1
- aihub/models/task_center.py +3 -0
- aihub/services/task_center.py +2 -0
- {intellif_aihub-0.1.17.dist-info → intellif_aihub-0.1.18.dist-info}/METADATA +1 -1
- {intellif_aihub-0.1.17.dist-info → intellif_aihub-0.1.18.dist-info}/RECORD +8 -8
- {intellif_aihub-0.1.17.dist-info → intellif_aihub-0.1.18.dist-info}/WHEEL +0 -0
- {intellif_aihub-0.1.17.dist-info → intellif_aihub-0.1.18.dist-info}/licenses/LICENSE +0 -0
- {intellif_aihub-0.1.17.dist-info → intellif_aihub-0.1.18.dist-info}/top_level.txt +0 -0
aihub/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.18"
|
aihub/models/task_center.py
CHANGED
|
@@ -135,8 +135,11 @@ class LabelValidateStage(Enum):
|
|
|
135
135
|
"""任务验收阶段"""
|
|
136
136
|
|
|
137
137
|
TEN_PERCENT = "标注阶段(10%)"
|
|
138
|
+
"""10%阶段"""
|
|
138
139
|
FIFTY_PERCENT = "标注阶段(50%)"
|
|
140
|
+
"""50%阶段"""
|
|
139
141
|
HUNDRED_PERCENT = "标注阶段(100%)"
|
|
142
|
+
"""100%阶段(已交付)"""
|
|
140
143
|
|
|
141
144
|
|
|
142
145
|
class LabelValidateReq(BaseModel):
|
aihub/services/task_center.py
CHANGED
|
@@ -13,6 +13,7 @@ from __future__ import annotations
|
|
|
13
13
|
import datetime
|
|
14
14
|
|
|
15
15
|
import httpx
|
|
16
|
+
from loguru import logger
|
|
16
17
|
|
|
17
18
|
from .tag_resource_management import TagResourceManagementService
|
|
18
19
|
from .user_system import UserSystemService
|
|
@@ -200,6 +201,7 @@ task_priority="low", estimated_delivery_at= "2025-08-01")
|
|
|
200
201
|
stage=stage,
|
|
201
202
|
)
|
|
202
203
|
self.task_center.validate_label_project(task_id=task_id, payload=req)
|
|
204
|
+
logger.info(f"标注项目: {label_project_name} 完成了: {stage}, 验收结果: {passed}")
|
|
203
205
|
|
|
204
206
|
|
|
205
207
|
class _TaskCenter:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
aihub/__init__.py,sha256=
|
|
1
|
+
aihub/__init__.py,sha256=6BiuMUkhwQp6bzUZSF8np8F1NwCltEtK0sPBF__tepU,23
|
|
2
2
|
aihub/client.py,sha256=Fu3jlEy21T4nJDV5EXTDujy1_B3Pf6CSTyPwkj3PPuE,5574
|
|
3
3
|
aihub/exceptions.py,sha256=l2cMAvipTqQOio3o11fXsCCSCevbuK4PTsxofkobFjk,500
|
|
4
4
|
aihub/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -13,7 +13,7 @@ aihub/models/model_center.py,sha256=DNMchrN0pYDcTMHApWNNVMrARF_i9Ng5xlAwHX5isYw,
|
|
|
13
13
|
aihub/models/model_training_platform.py,sha256=2zir5i-XvuxKKVYr4wuNYUC7nwMzetdtCRoysZ1W_Tc,11725
|
|
14
14
|
aihub/models/quota_schedule_management.py,sha256=LdXwKkpJd0jUFSHtTHUlFLlH-NUSmgywWtxwFg57CNk,12368
|
|
15
15
|
aihub/models/tag_resource_management.py,sha256=-FgiKyDIG7bZagzVRf-8rXWuqH9GyciDadxz5W2f3I8,2195
|
|
16
|
-
aihub/models/task_center.py,sha256=
|
|
16
|
+
aihub/models/task_center.py,sha256=uxGZ5t2KM4aAu7Z93Zard-gbiDPwJCiezMRgIGd9Rtk,6149
|
|
17
17
|
aihub/models/user_system.py,sha256=58f4w5g_SHUhX4vvJK6RXChCr6IDjX4i957suWYaxg8,12249
|
|
18
18
|
aihub/models/workflow_center.py,sha256=4xtI1WZ38ceXJ8gwDBj-QNjOiRlLO_8kGiQybdudJPY,20121
|
|
19
19
|
aihub/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -28,7 +28,7 @@ aihub/services/model_training_platform.py,sha256=38o6HJnyi3htFzpX7qj6UhzdqTchcXL
|
|
|
28
28
|
aihub/services/quota_schedule_management.py,sha256=UYOMwjXxJTgkpN6Rv5GzlcejtpZfu23PXlSKr0WihTY,9586
|
|
29
29
|
aihub/services/reporter.py,sha256=ot93SmhxgwDJOzlHSCwlxDOuSydTWUEUQ-Ctp97wJBQ,669
|
|
30
30
|
aihub/services/tag_resource_management.py,sha256=Bm_inSIzZbTc-e4LU9kvwtsPpM_yLwm8xzdrALjb6uY,2666
|
|
31
|
-
aihub/services/task_center.py,sha256=
|
|
31
|
+
aihub/services/task_center.py,sha256=ljy4lhyqVe2lnytp1h72mliqXUbSvEELT9KmxxPKdKc,8003
|
|
32
32
|
aihub/services/user_system.py,sha256=IqWL4bnsKyyzuGT5l6adnw0qNXlH9PSo1-C_pFyOSzA,18868
|
|
33
33
|
aihub/services/workflow_center.py,sha256=caKxOlba0J1s1RUK6RUm1ndJSwAcZXEakRanu3sGKPU,17468
|
|
34
34
|
aihub/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -36,8 +36,8 @@ aihub/utils/di.py,sha256=vFUzno5WbRKu6-pj8Hnz9IqT7xb9UDZQ4qpOFH1YAtM,11812
|
|
|
36
36
|
aihub/utils/download.py,sha256=ZZVbcC-PnN3PumV7ZiJ_-srkt4HPPovu2F6Faa2RrPE,1830
|
|
37
37
|
aihub/utils/http.py,sha256=AmfHHNjptuuSFx2T1twWCnerR_hLN_gd0lUs8z36ERA,547
|
|
38
38
|
aihub/utils/s3.py,sha256=ISIBP-XdBPkURpXnN56ZnIWokOOg2SRUh_qvxJk-G1Q,2187
|
|
39
|
-
intellif_aihub-0.1.
|
|
40
|
-
intellif_aihub-0.1.
|
|
41
|
-
intellif_aihub-0.1.
|
|
42
|
-
intellif_aihub-0.1.
|
|
43
|
-
intellif_aihub-0.1.
|
|
39
|
+
intellif_aihub-0.1.18.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
40
|
+
intellif_aihub-0.1.18.dist-info/METADATA,sha256=XQqYqji6SA8pj_BondfV-zZLv5JjqgMqAJjc1l5FOuU,2949
|
|
41
|
+
intellif_aihub-0.1.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
42
|
+
intellif_aihub-0.1.18.dist-info/top_level.txt,sha256=vIvTtSIN73xv46BpYM-ctVGnyOiUQ9EWP_6ngvdIlvw,6
|
|
43
|
+
intellif_aihub-0.1.18.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|