naas-abi-core 1.0.0.dev8__py3-none-any.whl → 1.0.0.dev9__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.
@@ -228,12 +228,15 @@ 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
+
231
236
  if __name__ == "__main__":
232
237
  import sys
233
238
 
234
239
  if "--test-init" in sys.argv:
235
- logger.info("✅ API initialization completed successfully")
236
- print("API_INIT_TEST_PASSED")
240
+ test_init()
237
241
  else:
238
242
  api()
239
- api()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: naas-abi-core
3
- Version: 1.0.0.dev8
3
+ Version: 1.0.0.dev9
4
4
  Summary: Abi framework allowing you to build your AI system.
5
5
  Author-email: Maxime Jublou <maxime@naas.ai>
6
6
  Requires-Python: <4,>=3.10
@@ -1,5 +1,5 @@
1
1
  naas_abi_core/__init__.py,sha256=kR93ywABUBo8-tAWCHMbRcCDCJZjqq4hWwxMk3Cr9fI,56
2
- naas_abi_core/apps/api/api.py,sha256=6kibSy05MBD2ryp3Z7eytY9Cw-GbKTM1-va8xHYfa_8,6969
2
+ naas_abi_core/apps/api/api.py,sha256=2z495FbiwgIuPkrWgssAEYdN6AG2LcCYiLboy4oGI8U,6986
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
@@ -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.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,,
121
+ naas_abi_core-1.0.0.dev9.dist-info/METADATA,sha256=RFfQo33a5xEqOwAe2iHkgpt10N94Gw1p6-ejLDIU5Vw,3129
122
+ naas_abi_core-1.0.0.dev9.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
123
+ naas_abi_core-1.0.0.dev9.dist-info/entry_points.txt,sha256=R6N3E2Hh92nTrji34JIwBgc6c-wVpfBYBTwkU0xe64E,79
124
+ naas_abi_core-1.0.0.dev9.dist-info/RECORD,,