asteroid-odyssey 1.0.3__py3-none-any.whl → 1.2.0__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.
Files changed (77) hide show
  1. asteroid_odyssey/__init__.py +10 -2
  2. asteroid_odyssey/agents_v1_gen/__init__.py +87 -0
  3. asteroid_odyssey/agents_v1_gen/api/__init__.py +7 -0
  4. asteroid_odyssey/agents_v1_gen/api/agent_profile_api.py +1696 -0
  5. asteroid_odyssey/{openapi_client → agents_v1_gen}/api/api_api.py +4 -4
  6. asteroid_odyssey/{openapi_client/api/sdk_api.py → agents_v1_gen/api/execution_api.py} +314 -14
  7. asteroid_odyssey/{openapi_client → agents_v1_gen}/api_client.py +6 -6
  8. asteroid_odyssey/{openapi_client → agents_v1_gen}/configuration.py +2 -2
  9. asteroid_odyssey/agents_v1_gen/models/__init__.py +34 -0
  10. asteroid_odyssey/agents_v1_gen/models/agent_profile.py +118 -0
  11. asteroid_odyssey/agents_v1_gen/models/country_code.py +44 -0
  12. asteroid_odyssey/agents_v1_gen/models/create_agent_profile_request.py +112 -0
  13. asteroid_odyssey/agents_v1_gen/models/credential.py +95 -0
  14. asteroid_odyssey/agents_v1_gen/models/delete_agent_profile200_response.py +87 -0
  15. asteroid_odyssey/{openapi_client → agents_v1_gen}/models/execution_result_response.py +2 -2
  16. asteroid_odyssey/{openapi_client → agents_v1_gen}/models/execution_status_response.py +1 -1
  17. asteroid_odyssey/agents_v1_gen/models/proxy_type.py +37 -0
  18. asteroid_odyssey/agents_v1_gen/models/update_agent_profile_request.py +112 -0
  19. asteroid_odyssey/{openapi_client → agents_v1_gen}/rest.py +1 -1
  20. asteroid_odyssey/agents_v2_gen/__init__.py +99 -0
  21. asteroid_odyssey/agents_v2_gen/api/__init__.py +5 -0
  22. asteroid_odyssey/agents_v2_gen/api/execution_api.py +625 -0
  23. asteroid_odyssey/agents_v2_gen/api_client.py +801 -0
  24. asteroid_odyssey/agents_v2_gen/api_response.py +21 -0
  25. asteroid_odyssey/agents_v2_gen/configuration.py +612 -0
  26. asteroid_odyssey/agents_v2_gen/exceptions.py +216 -0
  27. asteroid_odyssey/agents_v2_gen/models/__init__.py +42 -0
  28. asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_completed.py +100 -0
  29. asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_failed.py +100 -0
  30. asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_started.py +100 -0
  31. asteroid_odyssey/agents_v2_gen/models/activity_payload_union_generic.py +100 -0
  32. asteroid_odyssey/agents_v2_gen/models/activity_payload_union_status_changed.py +100 -0
  33. asteroid_odyssey/agents_v2_gen/models/activity_payload_union_step_completed.py +100 -0
  34. asteroid_odyssey/agents_v2_gen/models/activity_payload_union_step_started.py +100 -0
  35. asteroid_odyssey/agents_v2_gen/models/activity_payload_union_terminal.py +100 -0
  36. asteroid_odyssey/agents_v2_gen/models/activity_payload_union_transitioned_node.py +100 -0
  37. asteroid_odyssey/agents_v2_gen/models/activity_payload_union_user_message_received.py +100 -0
  38. asteroid_odyssey/agents_v2_gen/models/error.py +89 -0
  39. asteroid_odyssey/agents_v2_gen/models/execution_activity.py +98 -0
  40. asteroid_odyssey/agents_v2_gen/models/execution_activity_action_completed_payload.py +87 -0
  41. asteroid_odyssey/agents_v2_gen/models/execution_activity_action_failed_payload.py +87 -0
  42. asteroid_odyssey/agents_v2_gen/models/execution_activity_action_started_payload.py +87 -0
  43. asteroid_odyssey/agents_v2_gen/models/execution_activity_generic_payload.py +87 -0
  44. asteroid_odyssey/agents_v2_gen/models/execution_activity_payload_union.py +252 -0
  45. asteroid_odyssey/agents_v2_gen/models/execution_activity_status_changed_payload.py +88 -0
  46. asteroid_odyssey/agents_v2_gen/models/execution_activity_step_completed_payload.py +87 -0
  47. asteroid_odyssey/agents_v2_gen/models/execution_activity_step_started_payload.py +87 -0
  48. asteroid_odyssey/agents_v2_gen/models/execution_activity_transitioned_node_payload.py +89 -0
  49. asteroid_odyssey/agents_v2_gen/models/execution_activity_user_message_received_payload.py +89 -0
  50. asteroid_odyssey/agents_v2_gen/models/execution_status.py +43 -0
  51. asteroid_odyssey/agents_v2_gen/models/execution_terminal_payload.py +96 -0
  52. asteroid_odyssey/agents_v2_gen/models/execution_user_messages_add_text_body.py +87 -0
  53. asteroid_odyssey/agents_v2_gen/models/versions.py +37 -0
  54. asteroid_odyssey/agents_v2_gen/py.typed +0 -0
  55. asteroid_odyssey/agents_v2_gen/rest.py +258 -0
  56. asteroid_odyssey/client.py +640 -131
  57. {asteroid_odyssey-1.0.3.dist-info → asteroid_odyssey-1.2.0.dist-info}/METADATA +2 -1
  58. asteroid_odyssey-1.2.0.dist-info/RECORD +72 -0
  59. asteroid_odyssey/openapi_client/__init__.py +0 -73
  60. asteroid_odyssey/openapi_client/api/__init__.py +0 -7
  61. asteroid_odyssey/openapi_client/api/execution_api.py +0 -335
  62. asteroid_odyssey/openapi_client/models/__init__.py +0 -27
  63. asteroid_odyssey-1.0.3.dist-info/RECORD +0 -29
  64. /asteroid_odyssey/{openapi_client → agents_v1_gen}/api_response.py +0 -0
  65. /asteroid_odyssey/{openapi_client → agents_v1_gen}/exceptions.py +0 -0
  66. /asteroid_odyssey/{openapi_client → agents_v1_gen}/models/browser_session_recording_response.py +0 -0
  67. /asteroid_odyssey/{openapi_client → agents_v1_gen}/models/error_response.py +0 -0
  68. /asteroid_odyssey/{openapi_client → agents_v1_gen}/models/execution_response.py +0 -0
  69. /asteroid_odyssey/{openapi_client → agents_v1_gen}/models/execution_result.py +0 -0
  70. /asteroid_odyssey/{openapi_client → agents_v1_gen}/models/health_check200_response.py +0 -0
  71. /asteroid_odyssey/{openapi_client → agents_v1_gen}/models/health_check500_response.py +0 -0
  72. /asteroid_odyssey/{openapi_client → agents_v1_gen}/models/status.py +0 -0
  73. /asteroid_odyssey/{openapi_client → agents_v1_gen}/models/structured_agent_execution_request.py +0 -0
  74. /asteroid_odyssey/{openapi_client → agents_v1_gen}/models/upload_execution_files200_response.py +0 -0
  75. /asteroid_odyssey/{openapi_client → agents_v1_gen}/py.typed +0 -0
  76. {asteroid_odyssey-1.0.3.dist-info → asteroid_odyssey-1.2.0.dist-info}/WHEEL +0 -0
  77. {asteroid_odyssey-1.0.3.dist-info → asteroid_odyssey-1.2.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asteroid-odyssey
3
- Version: 1.0.3
3
+ Version: 1.2.0
4
4
  Summary: A Python SDK for browser automation using Asteroid platform.
5
5
  Author-email: David Mlcoch <founders@asteroid.com>
6
6
  License-Expression: MIT
@@ -21,6 +21,7 @@ Requires-Dist: python-dateutil>=2.8.2
21
21
  Requires-Dist: pydantic>=2
22
22
  Requires-Dist: typing-extensions>=4.7.1
23
23
  Requires-Dist: requests>=2.28.0
24
+ Requires-Dist: cryptography>=41.0.0
24
25
  Provides-Extra: dev
25
26
  Requires-Dist: pytest>=7.2.1; extra == "dev"
26
27
  Requires-Dist: pytest-cov>=2.8.1; extra == "dev"
@@ -0,0 +1,72 @@
1
+ asteroid_odyssey/__init__.py,sha256=UEWVMA46rvvJFAP0eAnfY84sh2EImKMLuMLF2pFhrXw,653
2
+ asteroid_odyssey/client.py,sha256=etlUKFJsaUB59ifsHQKGJSHpvsJck0oSKt3EK-f4y94,35896
3
+ asteroid_odyssey/agents_v1_gen/__init__.py,sha256=TJdnk__jClVyed4Wvpkm6g2CwCtQeLy7aY5kMYSNJwI,4298
4
+ asteroid_odyssey/agents_v1_gen/api_client.py,sha256=Fq7Uh5yc9Mwza9NgCE1A0g2zrJ_hl5qQ_WFkACeHxWw,27747
5
+ asteroid_odyssey/agents_v1_gen/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
6
+ asteroid_odyssey/agents_v1_gen/configuration.py,sha256=Q5iAuaxcXVhsirre6lzbDLNP6okMLJacsp9UxNvt-5I,19060
7
+ asteroid_odyssey/agents_v1_gen/exceptions.py,sha256=xauMukb96TkgN7Rx5c_d_XWOJb7ldCY5SuTmybyKTr8,6414
8
+ asteroid_odyssey/agents_v1_gen/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ asteroid_odyssey/agents_v1_gen/rest.py,sha256=WJRyCYuQaJij3dz1-1tH0Gd9XHZ8msE7xRfT2hIzfxk,9427
10
+ asteroid_odyssey/agents_v1_gen/api/__init__.py,sha256=oj1pzgrbo8C6FrpBVC7IvfUu-uplU4JQjfE_jZE0Mz4,265
11
+ asteroid_odyssey/agents_v1_gen/api/agent_profile_api.py,sha256=uOgyH3VN8LseS5Mq2uFxAbZM5iH88O0YEmXFTMc8bQ0,66369
12
+ asteroid_odyssey/agents_v1_gen/api/api_api.py,sha256=vqZ7wQEQGOpa1D6U1QLL27XK-0DY5_v9tdQJNt_lpsM,19217
13
+ asteroid_odyssey/agents_v1_gen/api/execution_api.py,sha256=RXYDwX_VKMfM44IrKRb-c5D3FXnAPw8QQcpqDoGpL3Q,67849
14
+ asteroid_odyssey/agents_v1_gen/models/__init__.py,sha256=xBLsQJ8YhBrZy8S153OH0mJAzsGwwvT-ylegSOKLNAI,1989
15
+ asteroid_odyssey/agents_v1_gen/models/agent_profile.py,sha256=L121f_DtK0zIGm9NEuoG9KMWuq-zGX8b9iGaKaaNQCc,4718
16
+ asteroid_odyssey/agents_v1_gen/models/browser_session_recording_response.py,sha256=OgYXsMiADk5IIDKkWJTy0RfnnBO3Zbaq9mEUyaxTaH0,2590
17
+ asteroid_odyssey/agents_v1_gen/models/country_code.py,sha256=pYFM0OC_maaGfUsFTTnKtSJxXKQiNS0pU3O0LLFz_Uo,802
18
+ asteroid_odyssey/agents_v1_gen/models/create_agent_profile_request.py,sha256=3GpU72vT31ntV_qMRyCp2ejN6BbBxXv5eFPVahrFE68,4567
19
+ asteroid_odyssey/agents_v1_gen/models/credential.py,sha256=MSzwgGLjNiH_fclHpZpYKKDWn-498etD1CLS_EfmA7k,3033
20
+ asteroid_odyssey/agents_v1_gen/models/delete_agent_profile200_response.py,sha256=y6gaG8VLeC2muBcw-i6KG64i-xrHq1v-8A7T8ViwBwk,2514
21
+ asteroid_odyssey/agents_v1_gen/models/error_response.py,sha256=njnDeKZeMPiteuX4l3MsWTHkG4qEiv8sbIUTv0Z8yQY,2459
22
+ asteroid_odyssey/agents_v1_gen/models/execution_response.py,sha256=c4PJNQDsWlQwumSonH1Sxqcb1q521FhNGgZugoinZNA,2513
23
+ asteroid_odyssey/agents_v1_gen/models/execution_result.py,sha256=o6V8oHt9QR7vfRcCrnHwk8exwALUollWBfShze_lzBM,3354
24
+ asteroid_odyssey/agents_v1_gen/models/execution_result_response.py,sha256=zBGBV9FOtCOFE9vDwfWEJkcKMkXYOHluo2ycJlW_S2A,3603
25
+ asteroid_odyssey/agents_v1_gen/models/execution_status_response.py,sha256=ykdr-9kRFmIs3FnmsYWrlX4s-096wlMy3BQX6CCdiBc,3050
26
+ asteroid_odyssey/agents_v1_gen/models/health_check200_response.py,sha256=x_6F6rhTvqpuMUFtD5ynLrUFY4vuVdkWfDRkTx2hVp0,2548
27
+ asteroid_odyssey/agents_v1_gen/models/health_check500_response.py,sha256=b6pG-pqUKkQ5oqmWWyakdr7YYjnTYYeZjoVHkcU-TSY,2533
28
+ asteroid_odyssey/agents_v1_gen/models/proxy_type.py,sha256=5AUJvncQEl77V3QLJCIidk-WQRU1BlhMJo9ARUUdo1Y,704
29
+ asteroid_odyssey/agents_v1_gen/models/status.py,sha256=tnt_4jdoMzcjo6J0vttf2QKLNK0FC9XcjZKbGC3sbz0,889
30
+ asteroid_odyssey/agents_v1_gen/models/structured_agent_execution_request.py,sha256=VZyW85pVz9T27aiG4ZlGywnnxTOaJCAjHSDz8D2YxY8,2913
31
+ asteroid_odyssey/agents_v1_gen/models/update_agent_profile_request.py,sha256=pIk46Eb5wk-JbxOM_C8TOuUsE-LEJq7zSdL0WRSrlx8,4709
32
+ asteroid_odyssey/agents_v1_gen/models/upload_execution_files200_response.py,sha256=u85oEP2bEuhszonE78VcrB_keT0UZpv16CTGvfse_v4,2735
33
+ asteroid_odyssey/agents_v2_gen/__init__.py,sha256=m5xswSgtY2acRs-Ezgm1sbBK0HG_nUbzYyekVJdxqhw,6464
34
+ asteroid_odyssey/agents_v2_gen/api_client.py,sha256=KxpVoMofYD5Uwdg7-TXy6TdWgGdtQtaD3UunO3T75MY,27807
35
+ asteroid_odyssey/agents_v2_gen/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
36
+ asteroid_odyssey/agents_v2_gen/configuration.py,sha256=Anb7lKRriv-3p5j16Oj72gj1yvYx_KxH9ngkMiGXTBk,19319
37
+ asteroid_odyssey/agents_v2_gen/exceptions.py,sha256=hBo-qUqJrW250S_xxUORV_LZU3YWE1-EhXXTxX5-P3k,6474
38
+ asteroid_odyssey/agents_v2_gen/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
+ asteroid_odyssey/agents_v2_gen/rest.py,sha256=QUgg1ahRFOoPjd6F0BU4uZ0MxdrxqGQartE6QMMziTI,9487
40
+ asteroid_odyssey/agents_v2_gen/api/__init__.py,sha256=HJP59V3S9sayesugWn215uvjoIfhzWxNGRknmMvtRJE,122
41
+ asteroid_odyssey/agents_v2_gen/api/execution_api.py,sha256=1rCYuGB2S4dgsFJmocRXXj9IVig7dEdx1xyGXwRF5bA,25365
42
+ asteroid_odyssey/agents_v2_gen/models/__init__.py,sha256=08hB-NQQCuoo8HaWalo_wUkie3bgnE6lsE-5TilwB3I,3394
43
+ asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_completed.py,sha256=djIqJOhSsyNDehLRJ_RKfjhZyQL596TNz4XhYC65FgY,3389
44
+ asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_failed.py,sha256=Ld0T3X-TjRwd3PnBObiHE7jFpHBejRXgt8ENB486zU8,3359
45
+ asteroid_odyssey/agents_v2_gen/models/activity_payload_union_action_started.py,sha256=ZVanUlpD1p5u1woVZ1YWi6qpj2X1Yg1twTCVI-ZoBB0,3369
46
+ asteroid_odyssey/agents_v2_gen/models/activity_payload_union_generic.py,sha256=N7x1y4vctkmh_xO4Ri2e-4Tbco_Xhj0eRHaxdJ1LLVw,3306
47
+ asteroid_odyssey/agents_v2_gen/models/activity_payload_union_status_changed.py,sha256=r6RLtCxpEN_GmOJYEs1aR93BWHJ5TfX6IMdmcrF5pb4,3369
48
+ asteroid_odyssey/agents_v2_gen/models/activity_payload_union_step_completed.py,sha256=NAwB7k14ydY_QcskRv6eNIiWgIUcrG-MNOtw3Z_DSGE,3369
49
+ asteroid_odyssey/agents_v2_gen/models/activity_payload_union_step_started.py,sha256=vaSXQiO4H4qH8Q650agbJTUU3T0KFvwLC8lYVNb0nL8,3349
50
+ asteroid_odyssey/agents_v2_gen/models/activity_payload_union_terminal.py,sha256=vDWM7IKhtUyLJGnCjaKSQb7lI4MgqrhwkS18Jq3uKrY,3283
51
+ asteroid_odyssey/agents_v2_gen/models/activity_payload_union_transitioned_node.py,sha256=pOou5D9n0ojtImrU_0KRW8EylA1eTwlFvvF0n7HI3-M,3399
52
+ asteroid_odyssey/agents_v2_gen/models/activity_payload_union_user_message_received.py,sha256=DtvCeoXNOyBEDmwXYZmSkPtbEsxhFX_ngtOvgrPLwWk,3432
53
+ asteroid_odyssey/agents_v2_gen/models/error.py,sha256=gxvmPlORWeuW8WBKxTQhWX9fT6ILNUkz5OyNue0JiJE,2527
54
+ asteroid_odyssey/agents_v2_gen/models/execution_activity.py,sha256=hs47z2cEQ3w4EUmg3dc2HUYp3uHbWu_27UegbT_wEj0,3179
55
+ asteroid_odyssey/agents_v2_gen/models/execution_activity_action_completed_payload.py,sha256=RMDQhAjJh-q_xoYbFazJD_VELpw67Vc7Gbs3eQeDSGc,2587
56
+ asteroid_odyssey/agents_v2_gen/models/execution_activity_action_failed_payload.py,sha256=hRaq3_seIFpTB16d8CbZsLiAO9_Xmav_fdFUTBLwucY,2575
57
+ asteroid_odyssey/agents_v2_gen/models/execution_activity_action_started_payload.py,sha256=yC9InGz_D_CyIFiC5ZOUBjh0VpTpfb8k_tfIviEOdFA,2579
58
+ asteroid_odyssey/agents_v2_gen/models/execution_activity_generic_payload.py,sha256=xkECW6M-Rd-DhbAFiCT2-2QN7o0ZGeej4Xml24Mg_xU,2555
59
+ asteroid_odyssey/agents_v2_gen/models/execution_activity_payload_union.py,sha256=9RlOiopP4UpYCb1RsqXdN2GAJY33Q9_gFn_L3dvuQ2U,14956
60
+ asteroid_odyssey/agents_v2_gen/models/execution_activity_status_changed_payload.py,sha256=oTNr-hXTTjm_mIxqh4HU3CAhrS8wD0VL6mhoxcb1EMs,2653
61
+ asteroid_odyssey/agents_v2_gen/models/execution_activity_step_completed_payload.py,sha256=SOC8Y7Ox5POHbrACjYUX9wUkEnGFgWdRV60dhqhfbPg,2627
62
+ asteroid_odyssey/agents_v2_gen/models/execution_activity_step_started_payload.py,sha256=6IIbpvDKLIDzc5sr2KaHcGGKPDnUu4iPR-LlXChysT0,2619
63
+ asteroid_odyssey/agents_v2_gen/models/execution_activity_transitioned_node_payload.py,sha256=nvHGIaaF37ol12EjU0RduaUnRhUaDpKD1qKStpJ7qLE,2769
64
+ asteroid_odyssey/agents_v2_gen/models/execution_activity_user_message_received_payload.py,sha256=47US747NjJy11BsuwggH-o8-UhO3HUDamnNA4KISjjM,2718
65
+ asteroid_odyssey/agents_v2_gen/models/execution_status.py,sha256=SHpsS6IzN42kPdDiykmKudEzmCiR1yRttJ9nG206W-g,959
66
+ asteroid_odyssey/agents_v2_gen/models/execution_terminal_payload.py,sha256=hWh7Fuy0fswZZFwXncRwdtlyDD4WGEA-wYYdtOg8-vQ,2935
67
+ asteroid_odyssey/agents_v2_gen/models/execution_user_messages_add_text_body.py,sha256=BQ9klnV_2-3svbyPFcGC272y7uKanIKtpbwVPXQs6gk,2559
68
+ asteroid_odyssey/agents_v2_gen/models/versions.py,sha256=54MndkW0A32LnZbTGHEsFnNRrrT112iWNJMgk7-a2eM,736
69
+ asteroid_odyssey-1.2.0.dist-info/METADATA,sha256=6_nbABL6VjW1z6Tgk0PtQO6bn-YOg2HTi8ae34aaDn8,7073
70
+ asteroid_odyssey-1.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
71
+ asteroid_odyssey-1.2.0.dist-info/top_level.txt,sha256=h4T6NKscnThJ4Nhzors2NKlJeZzepnM7XvDgsnfi5HA,17
72
+ asteroid_odyssey-1.2.0.dist-info/RECORD,,
@@ -1,73 +0,0 @@
1
- # coding: utf-8
2
-
3
- # flake8: noqa
4
-
5
- """
6
- Asteroid Agents API
7
-
8
- Version 1 of the Asteroid Agents API
9
-
10
- The version of the OpenAPI document: v1.0.0
11
- Generated by OpenAPI Generator (https://openapi-generator.tech)
12
-
13
- Do not edit the class manually.
14
- """ # noqa: E501
15
-
16
-
17
- __version__ = "1.0.0"
18
-
19
- # Define package exports
20
- __all__ = [
21
- "APIApi",
22
- "ExecutionApi",
23
- "SDKApi",
24
- "ApiResponse",
25
- "ApiClient",
26
- "Configuration",
27
- "OpenApiException",
28
- "ApiTypeError",
29
- "ApiValueError",
30
- "ApiKeyError",
31
- "ApiAttributeError",
32
- "ApiException",
33
- "BrowserSessionRecordingResponse",
34
- "ErrorResponse",
35
- "ExecutionResponse",
36
- "ExecutionResult",
37
- "ExecutionResultResponse",
38
- "ExecutionStatusResponse",
39
- "HealthCheck200Response",
40
- "HealthCheck500Response",
41
- "Status",
42
- "StructuredAgentExecutionRequest",
43
- "UploadExecutionFiles200Response",
44
- ]
45
-
46
- # import apis into sdk package
47
- from asteroid_odyssey.openapi_client.api.api_api import APIApi as APIApi
48
- from asteroid_odyssey.openapi_client.api.execution_api import ExecutionApi as ExecutionApi
49
- from asteroid_odyssey.openapi_client.api.sdk_api import SDKApi as SDKApi
50
-
51
- # import ApiClient
52
- from asteroid_odyssey.openapi_client.api_response import ApiResponse as ApiResponse
53
- from asteroid_odyssey.openapi_client.api_client import ApiClient as ApiClient
54
- from asteroid_odyssey.openapi_client.configuration import Configuration as Configuration
55
- from asteroid_odyssey.openapi_client.exceptions import OpenApiException as OpenApiException
56
- from asteroid_odyssey.openapi_client.exceptions import ApiTypeError as ApiTypeError
57
- from asteroid_odyssey.openapi_client.exceptions import ApiValueError as ApiValueError
58
- from asteroid_odyssey.openapi_client.exceptions import ApiKeyError as ApiKeyError
59
- from asteroid_odyssey.openapi_client.exceptions import ApiAttributeError as ApiAttributeError
60
- from asteroid_odyssey.openapi_client.exceptions import ApiException as ApiException
61
-
62
- # import models into sdk package
63
- from asteroid_odyssey.openapi_client.models.browser_session_recording_response import BrowserSessionRecordingResponse as BrowserSessionRecordingResponse
64
- from asteroid_odyssey.openapi_client.models.error_response import ErrorResponse as ErrorResponse
65
- from asteroid_odyssey.openapi_client.models.execution_response import ExecutionResponse as ExecutionResponse
66
- from asteroid_odyssey.openapi_client.models.execution_result import ExecutionResult as ExecutionResult
67
- from asteroid_odyssey.openapi_client.models.execution_result_response import ExecutionResultResponse as ExecutionResultResponse
68
- from asteroid_odyssey.openapi_client.models.execution_status_response import ExecutionStatusResponse as ExecutionStatusResponse
69
- from asteroid_odyssey.openapi_client.models.health_check200_response import HealthCheck200Response as HealthCheck200Response
70
- from asteroid_odyssey.openapi_client.models.health_check500_response import HealthCheck500Response as HealthCheck500Response
71
- from asteroid_odyssey.openapi_client.models.status import Status as Status
72
- from asteroid_odyssey.openapi_client.models.structured_agent_execution_request import StructuredAgentExecutionRequest as StructuredAgentExecutionRequest
73
- from asteroid_odyssey.openapi_client.models.upload_execution_files200_response import UploadExecutionFiles200Response as UploadExecutionFiles200Response
@@ -1,7 +0,0 @@
1
- # flake8: noqa
2
-
3
- # import apis into api package
4
- from asteroid_odyssey.openapi_client.api.api_api import APIApi
5
- from asteroid_odyssey.openapi_client.api.execution_api import ExecutionApi
6
- from asteroid_odyssey.openapi_client.api.sdk_api import SDKApi
7
-
@@ -1,335 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Asteroid Agents API
5
-
6
- Version 1 of the Asteroid Agents API
7
-
8
- The version of the OpenAPI document: v1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
- import warnings
15
- from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
- from typing import Any, Dict, List, Optional, Tuple, Union
17
- from typing_extensions import Annotated
18
-
19
- from pydantic import Field, StrictBytes, StrictStr
20
- from typing import List, Optional, Tuple, Union
21
- from typing_extensions import Annotated
22
- from asteroid_odyssey.openapi_client.models.upload_execution_files200_response import UploadExecutionFiles200Response
23
-
24
- from asteroid_odyssey.openapi_client.api_client import ApiClient, RequestSerialized
25
- from asteroid_odyssey.openapi_client.api_response import ApiResponse
26
- from asteroid_odyssey.openapi_client.rest import RESTResponseType
27
-
28
-
29
- class ExecutionApi:
30
- """NOTE: This class is auto generated by OpenAPI Generator
31
- Ref: https://openapi-generator.tech
32
-
33
- Do not edit the class manually.
34
- """
35
-
36
- def __init__(self, api_client=None) -> None:
37
- if api_client is None:
38
- api_client = ApiClient.get_default()
39
- self.api_client = api_client
40
-
41
-
42
- @validate_call
43
- def upload_execution_files(
44
- self,
45
- id: Annotated[StrictStr, Field(description="The ID of the execution")],
46
- files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="Files to upload to the execution")] = None,
47
- _request_timeout: Union[
48
- None,
49
- Annotated[StrictFloat, Field(gt=0)],
50
- Tuple[
51
- Annotated[StrictFloat, Field(gt=0)],
52
- Annotated[StrictFloat, Field(gt=0)]
53
- ]
54
- ] = None,
55
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
56
- _content_type: Optional[StrictStr] = None,
57
- _headers: Optional[Dict[StrictStr, Any]] = None,
58
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
59
- ) -> UploadExecutionFiles200Response:
60
- """Upload files to an execution
61
-
62
-
63
- :param id: The ID of the execution (required)
64
- :type id: str
65
- :param files: Files to upload to the execution
66
- :type files: List[bytearray]
67
- :param _request_timeout: timeout setting for this request. If one
68
- number provided, it will be total request
69
- timeout. It can also be a pair (tuple) of
70
- (connection, read) timeouts.
71
- :type _request_timeout: int, tuple(int, int), optional
72
- :param _request_auth: set to override the auth_settings for an a single
73
- request; this effectively ignores the
74
- authentication in the spec for a single request.
75
- :type _request_auth: dict, optional
76
- :param _content_type: force content-type for the request.
77
- :type _content_type: str, Optional
78
- :param _headers: set to override the headers for a single
79
- request; this effectively ignores the headers
80
- in the spec for a single request.
81
- :type _headers: dict, optional
82
- :param _host_index: set to override the host_index for a single
83
- request; this effectively ignores the host_index
84
- in the spec for a single request.
85
- :type _host_index: int, optional
86
- :return: Returns the result object.
87
- """ # noqa: E501
88
-
89
- _param = self._upload_execution_files_serialize(
90
- id=id,
91
- files=files,
92
- _request_auth=_request_auth,
93
- _content_type=_content_type,
94
- _headers=_headers,
95
- _host_index=_host_index
96
- )
97
-
98
- _response_types_map: Dict[str, Optional[str]] = {
99
- '200': "UploadExecutionFiles200Response",
100
- '400': "ErrorResponse",
101
- '401': "ErrorResponse",
102
- '404': "ErrorResponse",
103
- }
104
- response_data = self.api_client.call_api(
105
- *_param,
106
- _request_timeout=_request_timeout
107
- )
108
- response_data.read()
109
- return self.api_client.response_deserialize(
110
- response_data=response_data,
111
- response_types_map=_response_types_map,
112
- ).data
113
-
114
-
115
- @validate_call
116
- def upload_execution_files_with_http_info(
117
- self,
118
- id: Annotated[StrictStr, Field(description="The ID of the execution")],
119
- files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="Files to upload to the execution")] = None,
120
- _request_timeout: Union[
121
- None,
122
- Annotated[StrictFloat, Field(gt=0)],
123
- Tuple[
124
- Annotated[StrictFloat, Field(gt=0)],
125
- Annotated[StrictFloat, Field(gt=0)]
126
- ]
127
- ] = None,
128
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
129
- _content_type: Optional[StrictStr] = None,
130
- _headers: Optional[Dict[StrictStr, Any]] = None,
131
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
132
- ) -> ApiResponse[UploadExecutionFiles200Response]:
133
- """Upload files to an execution
134
-
135
-
136
- :param id: The ID of the execution (required)
137
- :type id: str
138
- :param files: Files to upload to the execution
139
- :type files: List[bytearray]
140
- :param _request_timeout: timeout setting for this request. If one
141
- number provided, it will be total request
142
- timeout. It can also be a pair (tuple) of
143
- (connection, read) timeouts.
144
- :type _request_timeout: int, tuple(int, int), optional
145
- :param _request_auth: set to override the auth_settings for an a single
146
- request; this effectively ignores the
147
- authentication in the spec for a single request.
148
- :type _request_auth: dict, optional
149
- :param _content_type: force content-type for the request.
150
- :type _content_type: str, Optional
151
- :param _headers: set to override the headers for a single
152
- request; this effectively ignores the headers
153
- in the spec for a single request.
154
- :type _headers: dict, optional
155
- :param _host_index: set to override the host_index for a single
156
- request; this effectively ignores the host_index
157
- in the spec for a single request.
158
- :type _host_index: int, optional
159
- :return: Returns the result object.
160
- """ # noqa: E501
161
-
162
- _param = self._upload_execution_files_serialize(
163
- id=id,
164
- files=files,
165
- _request_auth=_request_auth,
166
- _content_type=_content_type,
167
- _headers=_headers,
168
- _host_index=_host_index
169
- )
170
-
171
- _response_types_map: Dict[str, Optional[str]] = {
172
- '200': "UploadExecutionFiles200Response",
173
- '400': "ErrorResponse",
174
- '401': "ErrorResponse",
175
- '404': "ErrorResponse",
176
- }
177
- response_data = self.api_client.call_api(
178
- *_param,
179
- _request_timeout=_request_timeout
180
- )
181
- response_data.read()
182
- return self.api_client.response_deserialize(
183
- response_data=response_data,
184
- response_types_map=_response_types_map,
185
- )
186
-
187
-
188
- @validate_call
189
- def upload_execution_files_without_preload_content(
190
- self,
191
- id: Annotated[StrictStr, Field(description="The ID of the execution")],
192
- files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="Files to upload to the execution")] = None,
193
- _request_timeout: Union[
194
- None,
195
- Annotated[StrictFloat, Field(gt=0)],
196
- Tuple[
197
- Annotated[StrictFloat, Field(gt=0)],
198
- Annotated[StrictFloat, Field(gt=0)]
199
- ]
200
- ] = None,
201
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
202
- _content_type: Optional[StrictStr] = None,
203
- _headers: Optional[Dict[StrictStr, Any]] = None,
204
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
205
- ) -> RESTResponseType:
206
- """Upload files to an execution
207
-
208
-
209
- :param id: The ID of the execution (required)
210
- :type id: str
211
- :param files: Files to upload to the execution
212
- :type files: List[bytearray]
213
- :param _request_timeout: timeout setting for this request. If one
214
- number provided, it will be total request
215
- timeout. It can also be a pair (tuple) of
216
- (connection, read) timeouts.
217
- :type _request_timeout: int, tuple(int, int), optional
218
- :param _request_auth: set to override the auth_settings for an a single
219
- request; this effectively ignores the
220
- authentication in the spec for a single request.
221
- :type _request_auth: dict, optional
222
- :param _content_type: force content-type for the request.
223
- :type _content_type: str, Optional
224
- :param _headers: set to override the headers for a single
225
- request; this effectively ignores the headers
226
- in the spec for a single request.
227
- :type _headers: dict, optional
228
- :param _host_index: set to override the host_index for a single
229
- request; this effectively ignores the host_index
230
- in the spec for a single request.
231
- :type _host_index: int, optional
232
- :return: Returns the result object.
233
- """ # noqa: E501
234
-
235
- _param = self._upload_execution_files_serialize(
236
- id=id,
237
- files=files,
238
- _request_auth=_request_auth,
239
- _content_type=_content_type,
240
- _headers=_headers,
241
- _host_index=_host_index
242
- )
243
-
244
- _response_types_map: Dict[str, Optional[str]] = {
245
- '200': "UploadExecutionFiles200Response",
246
- '400': "ErrorResponse",
247
- '401': "ErrorResponse",
248
- '404': "ErrorResponse",
249
- }
250
- response_data = self.api_client.call_api(
251
- *_param,
252
- _request_timeout=_request_timeout
253
- )
254
- return response_data.response
255
-
256
-
257
- def _upload_execution_files_serialize(
258
- self,
259
- id,
260
- files,
261
- _request_auth,
262
- _content_type,
263
- _headers,
264
- _host_index,
265
- ) -> RequestSerialized:
266
-
267
- _host = None
268
-
269
- _collection_formats: Dict[str, str] = {
270
- 'files': 'csv',
271
- }
272
-
273
- _path_params: Dict[str, str] = {}
274
- _query_params: List[Tuple[str, str]] = []
275
- _header_params: Dict[str, Optional[str]] = _headers or {}
276
- _form_params: List[Tuple[str, str]] = []
277
- _files: Dict[
278
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
279
- ] = {}
280
- _body_params: Optional[bytes] = None
281
-
282
- # process the path parameters
283
- if id is not None:
284
- _path_params['id'] = id
285
- # process the query parameters
286
- # process the header parameters
287
- # process the form parameters
288
- if files is not None:
289
- _files['files'] = files
290
- # process the body parameter
291
-
292
-
293
- # set the HTTP header `Accept`
294
- if 'Accept' not in _header_params:
295
- _header_params['Accept'] = self.api_client.select_header_accept(
296
- [
297
- 'application/json'
298
- ]
299
- )
300
-
301
- # set the HTTP header `Content-Type`
302
- if _content_type:
303
- _header_params['Content-Type'] = _content_type
304
- else:
305
- _default_content_type = (
306
- self.api_client.select_header_content_type(
307
- [
308
- 'multipart/form-data'
309
- ]
310
- )
311
- )
312
- if _default_content_type is not None:
313
- _header_params['Content-Type'] = _default_content_type
314
-
315
- # authentication setting
316
- _auth_settings: List[str] = [
317
- 'ApiKeyAuth'
318
- ]
319
-
320
- return self.api_client.param_serialize(
321
- method='POST',
322
- resource_path='/execution/{id}/files',
323
- path_params=_path_params,
324
- query_params=_query_params,
325
- header_params=_header_params,
326
- body=_body_params,
327
- post_params=_form_params,
328
- files=_files,
329
- auth_settings=_auth_settings,
330
- collection_formats=_collection_formats,
331
- _host=_host,
332
- _request_auth=_request_auth
333
- )
334
-
335
-
@@ -1,27 +0,0 @@
1
- # coding: utf-8
2
-
3
- # flake8: noqa
4
- """
5
- Asteroid Agents API
6
-
7
- Version 1 of the Asteroid Agents API
8
-
9
- The version of the OpenAPI document: v1.0.0
10
- Generated by OpenAPI Generator (https://openapi-generator.tech)
11
-
12
- Do not edit the class manually.
13
- """ # noqa: E501
14
-
15
-
16
- # import models into model package
17
- from asteroid_odyssey.openapi_client.models.browser_session_recording_response import BrowserSessionRecordingResponse
18
- from asteroid_odyssey.openapi_client.models.error_response import ErrorResponse
19
- from asteroid_odyssey.openapi_client.models.execution_response import ExecutionResponse
20
- from asteroid_odyssey.openapi_client.models.execution_result import ExecutionResult
21
- from asteroid_odyssey.openapi_client.models.execution_result_response import ExecutionResultResponse
22
- from asteroid_odyssey.openapi_client.models.execution_status_response import ExecutionStatusResponse
23
- from asteroid_odyssey.openapi_client.models.health_check200_response import HealthCheck200Response
24
- from asteroid_odyssey.openapi_client.models.health_check500_response import HealthCheck500Response
25
- from asteroid_odyssey.openapi_client.models.status import Status
26
- from asteroid_odyssey.openapi_client.models.structured_agent_execution_request import StructuredAgentExecutionRequest
27
- from asteroid_odyssey.openapi_client.models.upload_execution_files200_response import UploadExecutionFiles200Response
@@ -1,29 +0,0 @@
1
- asteroid_odyssey/__init__.py,sha256=A05KbHfr1FWd2-j1LGJMXYmBVXpYMjr9qP0x_E5NbLk,461
2
- asteroid_odyssey/client.py,sha256=_pTT4J6YaEfVHYFdZNkPf1rrtv3jbYCJoY_htOiH4g4,16194
3
- asteroid_odyssey/openapi_client/__init__.py,sha256=dapzzGYDUa3oZUOoRGo5bhCoI4iuTt1W6pzTzfuZyy8,3340
4
- asteroid_odyssey/openapi_client/api_client.py,sha256=-15SRPKjYZuoODh0zkUV0spuB-73fZ-GkbQ3e216yhs,27753
5
- asteroid_odyssey/openapi_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
6
- asteroid_odyssey/openapi_client/configuration.py,sha256=PwQNLyPcrovYOCOhieY3GzEQGkEm6C_1o8KU7r_zj14,19062
7
- asteroid_odyssey/openapi_client/exceptions.py,sha256=xauMukb96TkgN7Rx5c_d_XWOJb7ldCY5SuTmybyKTr8,6414
8
- asteroid_odyssey/openapi_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- asteroid_odyssey/openapi_client/rest.py,sha256=XOZPH_19dd-_4zu2kNXJfsciyRxwOkOUVKTj89TDvvs,9428
10
- asteroid_odyssey/openapi_client/api/__init__.py,sha256=6SCQSfLQ9JZRDoe84ReHjpLcccvck5YdAdeL9E1_fWw,249
11
- asteroid_odyssey/openapi_client/api/api_api.py,sha256=dSrS485gpicMCjvaGogCN5ky8vKMvwhc4sR69fN0nDY,19221
12
- asteroid_odyssey/openapi_client/api/execution_api.py,sha256=mydU_lB23ppRlP3OvJb8wtOiUoCrLj0bn7v4is-BEN0,12960
13
- asteroid_odyssey/openapi_client/api/sdk_api.py,sha256=QWAhjXRoO0eoVHE9GKakA7VokOW_nd_QuIveYQNecgU,55728
14
- asteroid_odyssey/openapi_client/models/__init__.py,sha256=5tQcej-IjG8T6S5WpItY01XMfY4JMzWE8dVQDg-5fWg,1382
15
- asteroid_odyssey/openapi_client/models/browser_session_recording_response.py,sha256=OgYXsMiADk5IIDKkWJTy0RfnnBO3Zbaq9mEUyaxTaH0,2590
16
- asteroid_odyssey/openapi_client/models/error_response.py,sha256=njnDeKZeMPiteuX4l3MsWTHkG4qEiv8sbIUTv0Z8yQY,2459
17
- asteroid_odyssey/openapi_client/models/execution_response.py,sha256=c4PJNQDsWlQwumSonH1Sxqcb1q521FhNGgZugoinZNA,2513
18
- asteroid_odyssey/openapi_client/models/execution_result.py,sha256=o6V8oHt9QR7vfRcCrnHwk8exwALUollWBfShze_lzBM,3354
19
- asteroid_odyssey/openapi_client/models/execution_result_response.py,sha256=U1wdFYivdZLPsKuMrjJ0AVo0KE-M1z9hCZdWBcbR_2o,3605
20
- asteroid_odyssey/openapi_client/models/execution_status_response.py,sha256=s-Nsld_P2f3ncD_ZFZI4RisjI-wf4qphPjUkO2dMxFE,3051
21
- asteroid_odyssey/openapi_client/models/health_check200_response.py,sha256=x_6F6rhTvqpuMUFtD5ynLrUFY4vuVdkWfDRkTx2hVp0,2548
22
- asteroid_odyssey/openapi_client/models/health_check500_response.py,sha256=b6pG-pqUKkQ5oqmWWyakdr7YYjnTYYeZjoVHkcU-TSY,2533
23
- asteroid_odyssey/openapi_client/models/status.py,sha256=tnt_4jdoMzcjo6J0vttf2QKLNK0FC9XcjZKbGC3sbz0,889
24
- asteroid_odyssey/openapi_client/models/structured_agent_execution_request.py,sha256=VZyW85pVz9T27aiG4ZlGywnnxTOaJCAjHSDz8D2YxY8,2913
25
- asteroid_odyssey/openapi_client/models/upload_execution_files200_response.py,sha256=u85oEP2bEuhszonE78VcrB_keT0UZpv16CTGvfse_v4,2735
26
- asteroid_odyssey-1.0.3.dist-info/METADATA,sha256=fEjaafhufUJkTJybC8UTQ1zrQbJfF8VFfMh-qqwRLD8,7037
27
- asteroid_odyssey-1.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
- asteroid_odyssey-1.0.3.dist-info/top_level.txt,sha256=h4T6NKscnThJ4Nhzors2NKlJeZzepnM7XvDgsnfi5HA,17
29
- asteroid_odyssey-1.0.3.dist-info/RECORD,,