naas-abi-core 1.0.0__py3-none-any.whl → 1.0.0.dev8__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.
- naas_abi_core/apps/api/api.py +3 -6
- naas_abi_core/engine/engine_configuration/EngineConfiguration.py +7 -0
- {naas_abi_core-1.0.0.dist-info → naas_abi_core-1.0.0.dev8.dist-info}/METADATA +2 -2
- {naas_abi_core-1.0.0.dist-info → naas_abi_core-1.0.0.dev8.dist-info}/RECORD +6 -6
- {naas_abi_core-1.0.0.dist-info → naas_abi_core-1.0.0.dev8.dist-info}/WHEEL +0 -0
- {naas_abi_core-1.0.0.dist-info → naas_abi_core-1.0.0.dev8.dist-info}/entry_points.txt +0 -0
naas_abi_core/apps/api/api.py
CHANGED
|
@@ -228,15 +228,12 @@ def api():
|
|
|
228
228
|
uvicorn.run(app, host="0.0.0.0", port=9879)
|
|
229
229
|
|
|
230
230
|
|
|
231
|
-
def test_init():
|
|
232
|
-
logger.info("✅ API initialization completed successfully")
|
|
233
|
-
print("API_INIT_TEST_PASSED")
|
|
234
|
-
|
|
235
|
-
|
|
236
231
|
if __name__ == "__main__":
|
|
237
232
|
import sys
|
|
238
233
|
|
|
239
234
|
if "--test-init" in sys.argv:
|
|
240
|
-
|
|
235
|
+
logger.info("✅ API initialization completed successfully")
|
|
236
|
+
print("API_INIT_TEST_PASSED")
|
|
241
237
|
else:
|
|
242
238
|
api()
|
|
239
|
+
api()
|
|
@@ -79,6 +79,13 @@ class GlobalConfig(BaseModel):
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
class EngineConfiguration(BaseModel):
|
|
82
|
+
workspace_id: str
|
|
83
|
+
storage_name: str
|
|
84
|
+
github_repository: str
|
|
85
|
+
github_project_id: int
|
|
86
|
+
triple_store_path: str
|
|
87
|
+
space_name: str
|
|
88
|
+
|
|
82
89
|
api: ApiConfiguration
|
|
83
90
|
|
|
84
91
|
services: ServicesConfiguration
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: naas-abi-core
|
|
3
|
-
Version: 1.0.0
|
|
3
|
+
Version: 1.0.0.dev8
|
|
4
4
|
Summary: Abi framework allowing you to build your AI system.
|
|
5
|
-
Author-email: Maxime Jublou <maxime@naas.ai
|
|
5
|
+
Author-email: Maxime Jublou <maxime@naas.ai>
|
|
6
6
|
Requires-Python: <4,>=3.10
|
|
7
7
|
Requires-Dist: boto3<2,>=1.38.19
|
|
8
8
|
Requires-Dist: click<8.2,>=8.1.1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
naas_abi_core/__init__.py,sha256=kR93ywABUBo8-tAWCHMbRcCDCJZjqq4hWwxMk3Cr9fI,56
|
|
2
|
-
naas_abi_core/apps/api/api.py,sha256=
|
|
2
|
+
naas_abi_core/apps/api/api.py,sha256=6kibSy05MBD2ryp3Z7eytY9Cw-GbKTM1-va8xHYfa_8,6969
|
|
3
3
|
naas_abi_core/apps/api/api_test.py,sha256=7H_VgnbsGqu6oGY-apAHjJr_yjIcGHY0heaEThWBsUk,10537
|
|
4
4
|
naas_abi_core/apps/api/openapi_doc.py,sha256=JbwzcmSP-Yl1rbN0QvUwOSmOFf-yKXECZ-2ptI7fWoU,11834
|
|
5
5
|
naas_abi_core/apps/mcp/mcp_server.py,sha256=U-wDl8rswMk4nefGg2SUByw4x8CM10M59FfLHxIKC-o,8391
|
|
@@ -19,7 +19,7 @@ naas_abi_core/engine/EngineProxy.py,sha256=o-D8LlP-PjQ_Yct4JWrDZw7mA7yporxb2XrJF
|
|
|
19
19
|
naas_abi_core/engine/Engine_test.py,sha256=8eLZEnkL0IR4VAr6LF8fJ_fxZzi9s1mXCLgTVOIsR3E,161
|
|
20
20
|
naas_abi_core/engine/IEngine.py,sha256=u-m-Qrvt3SP3gYKWPFPVjV8rs05D6NGnzO3XA0FInnw,2865
|
|
21
21
|
naas_abi_core/engine/conftest.py,sha256=Al-SRVLrEdbTrX8sxQ3bBK4w1bbzE4GoBkzoBK-aXlg,932
|
|
22
|
-
naas_abi_core/engine/engine_configuration/EngineConfiguration.py,sha256=
|
|
22
|
+
naas_abi_core/engine/engine_configuration/EngineConfiguration.py,sha256=sJrthXK5_U1syUDn6zAZ0vLpRbsb6nozW1kjBLAgmd8,5524
|
|
23
23
|
naas_abi_core/engine/engine_configuration/EngineConfiguration_GenericLoader.py,sha256=KK2TQx6cNmoqFcwr9En00NKrX4ckkZl4ecv9QCUwPyc,1995
|
|
24
24
|
naas_abi_core/engine/engine_configuration/EngineConfiguration_ObjectStorageService.py,sha256=cPZBs5-2dqX-piIZ7KTqiOce6O6GbnDDwjPGcfDN_U4,4736
|
|
25
25
|
naas_abi_core/engine/engine_configuration/EngineConfiguration_ObjectStorageService_test.py,sha256=h1PdIbMTJWi_lG83YgpI6zg8gRo0WEWvGSE6R4uKQp4,1063
|
|
@@ -118,7 +118,7 @@ naas_abi_core/utils/onto2py/onto2py.py,sha256=_wn9qrrsWd8gO-BY4_jQJVfY87e9MJ2Er2
|
|
|
118
118
|
naas_abi_core/utils/onto2py/tests/ttl2py_test.py,sha256=5OZqSxPffjJYiX9T4rT1mV0PT1Qhf6goqEYT_mAPnaI,8055
|
|
119
119
|
naas_abi_core/workflow/__init__.py,sha256=hZD58mCB1PApxITqftP_xgjxL7NeLvOfI-rJENg1ENs,250
|
|
120
120
|
naas_abi_core/workflow/workflow.py,sha256=ZufSS073JztVl0OQRTqNyK7FepFvv7gXlc4j5FAEZCI,1216
|
|
121
|
-
naas_abi_core-1.0.0.dist-info/METADATA,sha256=
|
|
122
|
-
naas_abi_core-1.0.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
123
|
-
naas_abi_core-1.0.0.dist-info/entry_points.txt,sha256=R6N3E2Hh92nTrji34JIwBgc6c-wVpfBYBTwkU0xe64E,79
|
|
124
|
-
naas_abi_core-1.0.0.dist-info/RECORD,,
|
|
121
|
+
naas_abi_core-1.0.0.dev8.dist-info/METADATA,sha256=fUQYWpH5v5cmO_qeUUEWNf5Bg1OyUNTN-0V23c55ilc,3129
|
|
122
|
+
naas_abi_core-1.0.0.dev8.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
123
|
+
naas_abi_core-1.0.0.dev8.dist-info/entry_points.txt,sha256=R6N3E2Hh92nTrji34JIwBgc6c-wVpfBYBTwkU0xe64E,79
|
|
124
|
+
naas_abi_core-1.0.0.dev8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|