compose-api-client 0.1.0__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.
Files changed (50) hide show
  1. compose_api_client-0.1.0/PKG-INFO +8 -0
  2. compose_api_client-0.1.0/README.md +0 -0
  3. compose_api_client-0.1.0/compose_api_client/__init__.py +8 -0
  4. compose_api_client-0.1.0/compose_api_client/api/__init__.py +1 -0
  5. compose_api_client-0.1.0/compose_api_client/api/biosim_api/__init__.py +1 -0
  6. compose_api_client-0.1.0/compose_api_client/api/biosim_api/check_health_health_get.py +130 -0
  7. compose_api_client-0.1.0/compose_api_client/api/biosim_api/get_version_version_get.py +120 -0
  8. compose_api_client-0.1.0/compose_api_client/api/compute/__init__.py +1 -0
  9. compose_api_client-0.1.0/compose_api_client/api/compute/get_processes_list.py +133 -0
  10. compose_api_client-0.1.0/compose_api_client/api/compute/get_simulator_list.py +128 -0
  11. compose_api_client-0.1.0/compose_api_client/api/compute/get_steps_list.py +133 -0
  12. compose_api_client-0.1.0/compose_api_client/api/curated/__init__.py +1 -0
  13. compose_api_client-0.1.0/compose_api_client/api/curated/run_copasi.py +214 -0
  14. compose_api_client-0.1.0/compose_api_client/api/curated/run_tellurium.py +214 -0
  15. compose_api_client-0.1.0/compose_api_client/api/results/__init__.py +1 -0
  16. compose_api_client-0.1.0/compose_api_client/api/results/get_simulation_results_file.py +163 -0
  17. compose_api_client-0.1.0/compose_api_client/api/results/get_simulation_status.py +165 -0
  18. compose_api_client-0.1.0/compose_api_client/api/results/get_simulator_build_status.py +165 -0
  19. compose_api_client-0.1.0/compose_api_client/api/simulation/__init__.py +1 -0
  20. compose_api_client-0.1.0/compose_api_client/api/simulation/run_simulation.py +164 -0
  21. compose_api_client-0.1.0/compose_api_client/client.py +268 -0
  22. compose_api_client-0.1.0/compose_api_client/errors.py +16 -0
  23. compose_api_client-0.1.0/compose_api_client/models/__init__.py +43 -0
  24. compose_api_client-0.1.0/compose_api_client/models/bi_graph_compute_type.py +9 -0
  25. compose_api_client-0.1.0/compose_api_client/models/bi_graph_process.py +102 -0
  26. compose_api_client-0.1.0/compose_api_client/models/bi_graph_step.py +102 -0
  27. compose_api_client-0.1.0/compose_api_client/models/body_run_copasi.py +75 -0
  28. compose_api_client-0.1.0/compose_api_client/models/body_run_simulation.py +75 -0
  29. compose_api_client-0.1.0/compose_api_client/models/body_run_tellurium.py +75 -0
  30. compose_api_client-0.1.0/compose_api_client/models/check_health_health_get_response_check_health_health_get.py +47 -0
  31. compose_api_client-0.1.0/compose_api_client/models/containerization_file_repr.py +60 -0
  32. compose_api_client-0.1.0/compose_api_client/models/hpc_run.py +208 -0
  33. compose_api_client-0.1.0/compose_api_client/models/http_validation_error.py +81 -0
  34. compose_api_client-0.1.0/compose_api_client/models/job_status.py +13 -0
  35. compose_api_client-0.1.0/compose_api_client/models/job_type.py +9 -0
  36. compose_api_client-0.1.0/compose_api_client/models/package_type.py +9 -0
  37. compose_api_client-0.1.0/compose_api_client/models/registered_package.py +121 -0
  38. compose_api_client-0.1.0/compose_api_client/models/registered_simulators.py +112 -0
  39. compose_api_client-0.1.0/compose_api_client/models/simulation_experiment.py +104 -0
  40. compose_api_client-0.1.0/compose_api_client/models/simulation_experiment_metadata.py +47 -0
  41. compose_api_client-0.1.0/compose_api_client/models/simulator_version.py +157 -0
  42. compose_api_client-0.1.0/compose_api_client/models/validation_error.py +92 -0
  43. compose_api_client-0.1.0/compose_api_client/types.py +54 -0
  44. compose_api_client-0.1.0/compose_api_client.egg-info/PKG-INFO +8 -0
  45. compose_api_client-0.1.0/compose_api_client.egg-info/SOURCES.txt +48 -0
  46. compose_api_client-0.1.0/compose_api_client.egg-info/dependency_links.txt +1 -0
  47. compose_api_client-0.1.0/compose_api_client.egg-info/requires.txt +2 -0
  48. compose_api_client-0.1.0/compose_api_client.egg-info/top_level.txt +1 -0
  49. compose_api_client-0.1.0/pyproject.toml +10 -0
  50. compose_api_client-0.1.0/setup.cfg +4 -0
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.4
2
+ Name: compose-api-client
3
+ Version: 0.1.0
4
+ Summary: Add your description here
5
+ Requires-Python: >=3.12
6
+ Description-Content-Type: text/markdown
7
+ Requires-Dist: attrs>=25.4.0
8
+ Requires-Dist: httpx>=0.28.1
File without changes
@@ -0,0 +1,8 @@
1
+ """A client library for accessing compose-api"""
2
+
3
+ from .client import AuthenticatedClient, Client
4
+
5
+ __all__ = (
6
+ "AuthenticatedClient",
7
+ "Client",
8
+ )
@@ -0,0 +1 @@
1
+ """Contains methods for accessing the API"""
@@ -0,0 +1 @@
1
+ """Contains endpoint functions for accessing the API"""
@@ -0,0 +1,130 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union, cast
3
+
4
+ import httpx
5
+
6
+ from ...client import AuthenticatedClient, Client
7
+ from ...types import Response, UNSET
8
+ from ... import errors
9
+
10
+ from ...models.check_health_health_get_response_check_health_health_get import (
11
+ CheckHealthHealthGetResponseCheckHealthHealthGet,
12
+ )
13
+ from typing import cast
14
+
15
+
16
+ def _get_kwargs() -> dict[str, Any]:
17
+ _kwargs: dict[str, Any] = {
18
+ "method": "get",
19
+ "url": "/health",
20
+ }
21
+
22
+ return _kwargs
23
+
24
+
25
+ def _parse_response(
26
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
27
+ ) -> Optional[CheckHealthHealthGetResponseCheckHealthHealthGet]:
28
+ if response.status_code == 200:
29
+ response_200 = CheckHealthHealthGetResponseCheckHealthHealthGet.from_dict(response.json())
30
+
31
+ return response_200
32
+ if client.raise_on_unexpected_status:
33
+ raise errors.UnexpectedStatus(response.status_code, response.content)
34
+ else:
35
+ return None
36
+
37
+
38
+ def _build_response(
39
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
40
+ ) -> Response[CheckHealthHealthGetResponseCheckHealthHealthGet]:
41
+ return Response(
42
+ status_code=HTTPStatus(response.status_code),
43
+ content=response.content,
44
+ headers=response.headers,
45
+ parsed=_parse_response(client=client, response=response),
46
+ )
47
+
48
+
49
+ def sync_detailed(
50
+ *,
51
+ client: Union[AuthenticatedClient, Client],
52
+ ) -> Response[CheckHealthHealthGetResponseCheckHealthHealthGet]:
53
+ """Check Health
54
+
55
+ Raises:
56
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
57
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
58
+
59
+ Returns:
60
+ Response[CheckHealthHealthGetResponseCheckHealthHealthGet]
61
+ """
62
+
63
+ kwargs = _get_kwargs()
64
+
65
+ response = client.get_httpx_client().request(
66
+ **kwargs,
67
+ )
68
+
69
+ return _build_response(client=client, response=response)
70
+
71
+
72
+ def sync(
73
+ *,
74
+ client: Union[AuthenticatedClient, Client],
75
+ ) -> Optional[CheckHealthHealthGetResponseCheckHealthHealthGet]:
76
+ """Check Health
77
+
78
+ Raises:
79
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
80
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
81
+
82
+ Returns:
83
+ CheckHealthHealthGetResponseCheckHealthHealthGet
84
+ """
85
+
86
+ return sync_detailed(
87
+ client=client,
88
+ ).parsed
89
+
90
+
91
+ async def asyncio_detailed(
92
+ *,
93
+ client: Union[AuthenticatedClient, Client],
94
+ ) -> Response[CheckHealthHealthGetResponseCheckHealthHealthGet]:
95
+ """Check Health
96
+
97
+ Raises:
98
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
99
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
100
+
101
+ Returns:
102
+ Response[CheckHealthHealthGetResponseCheckHealthHealthGet]
103
+ """
104
+
105
+ kwargs = _get_kwargs()
106
+
107
+ response = await client.get_async_httpx_client().request(**kwargs)
108
+
109
+ return _build_response(client=client, response=response)
110
+
111
+
112
+ async def asyncio(
113
+ *,
114
+ client: Union[AuthenticatedClient, Client],
115
+ ) -> Optional[CheckHealthHealthGetResponseCheckHealthHealthGet]:
116
+ """Check Health
117
+
118
+ Raises:
119
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
120
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
121
+
122
+ Returns:
123
+ CheckHealthHealthGetResponseCheckHealthHealthGet
124
+ """
125
+
126
+ return (
127
+ await asyncio_detailed(
128
+ client=client,
129
+ )
130
+ ).parsed
@@ -0,0 +1,120 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union, cast
3
+
4
+ import httpx
5
+
6
+ from ...client import AuthenticatedClient, Client
7
+ from ...types import Response, UNSET
8
+ from ... import errors
9
+
10
+
11
+ def _get_kwargs() -> dict[str, Any]:
12
+ _kwargs: dict[str, Any] = {
13
+ "method": "get",
14
+ "url": "/version",
15
+ }
16
+
17
+ return _kwargs
18
+
19
+
20
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[str]:
21
+ if response.status_code == 200:
22
+ response_200 = cast(str, response.json())
23
+ return response_200
24
+ if client.raise_on_unexpected_status:
25
+ raise errors.UnexpectedStatus(response.status_code, response.content)
26
+ else:
27
+ return None
28
+
29
+
30
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[str]:
31
+ return Response(
32
+ status_code=HTTPStatus(response.status_code),
33
+ content=response.content,
34
+ headers=response.headers,
35
+ parsed=_parse_response(client=client, response=response),
36
+ )
37
+
38
+
39
+ def sync_detailed(
40
+ *,
41
+ client: Union[AuthenticatedClient, Client],
42
+ ) -> Response[str]:
43
+ """Get Version
44
+
45
+ Raises:
46
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
47
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
48
+
49
+ Returns:
50
+ Response[str]
51
+ """
52
+
53
+ kwargs = _get_kwargs()
54
+
55
+ response = client.get_httpx_client().request(
56
+ **kwargs,
57
+ )
58
+
59
+ return _build_response(client=client, response=response)
60
+
61
+
62
+ def sync(
63
+ *,
64
+ client: Union[AuthenticatedClient, Client],
65
+ ) -> Optional[str]:
66
+ """Get Version
67
+
68
+ Raises:
69
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
70
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
71
+
72
+ Returns:
73
+ str
74
+ """
75
+
76
+ return sync_detailed(
77
+ client=client,
78
+ ).parsed
79
+
80
+
81
+ async def asyncio_detailed(
82
+ *,
83
+ client: Union[AuthenticatedClient, Client],
84
+ ) -> Response[str]:
85
+ """Get Version
86
+
87
+ Raises:
88
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
89
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
90
+
91
+ Returns:
92
+ Response[str]
93
+ """
94
+
95
+ kwargs = _get_kwargs()
96
+
97
+ response = await client.get_async_httpx_client().request(**kwargs)
98
+
99
+ return _build_response(client=client, response=response)
100
+
101
+
102
+ async def asyncio(
103
+ *,
104
+ client: Union[AuthenticatedClient, Client],
105
+ ) -> Optional[str]:
106
+ """Get Version
107
+
108
+ Raises:
109
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
110
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
111
+
112
+ Returns:
113
+ str
114
+ """
115
+
116
+ return (
117
+ await asyncio_detailed(
118
+ client=client,
119
+ )
120
+ ).parsed
@@ -0,0 +1 @@
1
+ """Contains endpoint functions for accessing the API"""
@@ -0,0 +1,133 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union, cast
3
+
4
+ import httpx
5
+
6
+ from ...client import AuthenticatedClient, Client
7
+ from ...types import Response, UNSET
8
+ from ... import errors
9
+
10
+ from ...models.bi_graph_process import BiGraphProcess
11
+ from typing import cast
12
+
13
+
14
+ def _get_kwargs() -> dict[str, Any]:
15
+ _kwargs: dict[str, Any] = {
16
+ "method": "get",
17
+ "url": "/core/processes/list",
18
+ }
19
+
20
+ return _kwargs
21
+
22
+
23
+ def _parse_response(
24
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
25
+ ) -> Optional[list["BiGraphProcess"]]:
26
+ if response.status_code == 200:
27
+ response_200 = []
28
+ _response_200 = response.json()
29
+ for response_200_item_data in _response_200:
30
+ response_200_item = BiGraphProcess.from_dict(response_200_item_data)
31
+
32
+ response_200.append(response_200_item)
33
+
34
+ return response_200
35
+ if client.raise_on_unexpected_status:
36
+ raise errors.UnexpectedStatus(response.status_code, response.content)
37
+ else:
38
+ return None
39
+
40
+
41
+ def _build_response(
42
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
43
+ ) -> Response[list["BiGraphProcess"]]:
44
+ return Response(
45
+ status_code=HTTPStatus(response.status_code),
46
+ content=response.content,
47
+ headers=response.headers,
48
+ parsed=_parse_response(client=client, response=response),
49
+ )
50
+
51
+
52
+ def sync_detailed(
53
+ *,
54
+ client: Union[AuthenticatedClient, Client],
55
+ ) -> Response[list["BiGraphProcess"]]:
56
+ """Get the list of processes
57
+
58
+ Raises:
59
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
60
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
61
+
62
+ Returns:
63
+ Response[list['BiGraphProcess']]
64
+ """
65
+
66
+ kwargs = _get_kwargs()
67
+
68
+ response = client.get_httpx_client().request(
69
+ **kwargs,
70
+ )
71
+
72
+ return _build_response(client=client, response=response)
73
+
74
+
75
+ def sync(
76
+ *,
77
+ client: Union[AuthenticatedClient, Client],
78
+ ) -> Optional[list["BiGraphProcess"]]:
79
+ """Get the list of processes
80
+
81
+ Raises:
82
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
83
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
84
+
85
+ Returns:
86
+ list['BiGraphProcess']
87
+ """
88
+
89
+ return sync_detailed(
90
+ client=client,
91
+ ).parsed
92
+
93
+
94
+ async def asyncio_detailed(
95
+ *,
96
+ client: Union[AuthenticatedClient, Client],
97
+ ) -> Response[list["BiGraphProcess"]]:
98
+ """Get the list of processes
99
+
100
+ Raises:
101
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
102
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
103
+
104
+ Returns:
105
+ Response[list['BiGraphProcess']]
106
+ """
107
+
108
+ kwargs = _get_kwargs()
109
+
110
+ response = await client.get_async_httpx_client().request(**kwargs)
111
+
112
+ return _build_response(client=client, response=response)
113
+
114
+
115
+ async def asyncio(
116
+ *,
117
+ client: Union[AuthenticatedClient, Client],
118
+ ) -> Optional[list["BiGraphProcess"]]:
119
+ """Get the list of processes
120
+
121
+ Raises:
122
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
123
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
124
+
125
+ Returns:
126
+ list['BiGraphProcess']
127
+ """
128
+
129
+ return (
130
+ await asyncio_detailed(
131
+ client=client,
132
+ )
133
+ ).parsed
@@ -0,0 +1,128 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union, cast
3
+
4
+ import httpx
5
+
6
+ from ...client import AuthenticatedClient, Client
7
+ from ...types import Response, UNSET
8
+ from ... import errors
9
+
10
+ from ...models.registered_simulators import RegisteredSimulators
11
+ from typing import cast
12
+
13
+
14
+ def _get_kwargs() -> dict[str, Any]:
15
+ _kwargs: dict[str, Any] = {
16
+ "method": "get",
17
+ "url": "/core/simulator/list",
18
+ }
19
+
20
+ return _kwargs
21
+
22
+
23
+ def _parse_response(
24
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
25
+ ) -> Optional[RegisteredSimulators]:
26
+ if response.status_code == 200:
27
+ response_200 = RegisteredSimulators.from_dict(response.json())
28
+
29
+ return response_200
30
+ if client.raise_on_unexpected_status:
31
+ raise errors.UnexpectedStatus(response.status_code, response.content)
32
+ else:
33
+ return None
34
+
35
+
36
+ def _build_response(
37
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
38
+ ) -> Response[RegisteredSimulators]:
39
+ return Response(
40
+ status_code=HTTPStatus(response.status_code),
41
+ content=response.content,
42
+ headers=response.headers,
43
+ parsed=_parse_response(client=client, response=response),
44
+ )
45
+
46
+
47
+ def sync_detailed(
48
+ *,
49
+ client: Union[AuthenticatedClient, Client],
50
+ ) -> Response[RegisteredSimulators]:
51
+ """Get the list of simulators
52
+
53
+ Raises:
54
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
55
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
56
+
57
+ Returns:
58
+ Response[RegisteredSimulators]
59
+ """
60
+
61
+ kwargs = _get_kwargs()
62
+
63
+ response = client.get_httpx_client().request(
64
+ **kwargs,
65
+ )
66
+
67
+ return _build_response(client=client, response=response)
68
+
69
+
70
+ def sync(
71
+ *,
72
+ client: Union[AuthenticatedClient, Client],
73
+ ) -> Optional[RegisteredSimulators]:
74
+ """Get the list of simulators
75
+
76
+ Raises:
77
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
78
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
79
+
80
+ Returns:
81
+ RegisteredSimulators
82
+ """
83
+
84
+ return sync_detailed(
85
+ client=client,
86
+ ).parsed
87
+
88
+
89
+ async def asyncio_detailed(
90
+ *,
91
+ client: Union[AuthenticatedClient, Client],
92
+ ) -> Response[RegisteredSimulators]:
93
+ """Get the list of simulators
94
+
95
+ Raises:
96
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
97
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
98
+
99
+ Returns:
100
+ Response[RegisteredSimulators]
101
+ """
102
+
103
+ kwargs = _get_kwargs()
104
+
105
+ response = await client.get_async_httpx_client().request(**kwargs)
106
+
107
+ return _build_response(client=client, response=response)
108
+
109
+
110
+ async def asyncio(
111
+ *,
112
+ client: Union[AuthenticatedClient, Client],
113
+ ) -> Optional[RegisteredSimulators]:
114
+ """Get the list of simulators
115
+
116
+ Raises:
117
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
118
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
119
+
120
+ Returns:
121
+ RegisteredSimulators
122
+ """
123
+
124
+ return (
125
+ await asyncio_detailed(
126
+ client=client,
127
+ )
128
+ ).parsed
@@ -0,0 +1,133 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union, cast
3
+
4
+ import httpx
5
+
6
+ from ...client import AuthenticatedClient, Client
7
+ from ...types import Response, UNSET
8
+ from ... import errors
9
+
10
+ from ...models.bi_graph_step import BiGraphStep
11
+ from typing import cast
12
+
13
+
14
+ def _get_kwargs() -> dict[str, Any]:
15
+ _kwargs: dict[str, Any] = {
16
+ "method": "get",
17
+ "url": "/core/steps/list",
18
+ }
19
+
20
+ return _kwargs
21
+
22
+
23
+ def _parse_response(
24
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
25
+ ) -> Optional[list["BiGraphStep"]]:
26
+ if response.status_code == 200:
27
+ response_200 = []
28
+ _response_200 = response.json()
29
+ for response_200_item_data in _response_200:
30
+ response_200_item = BiGraphStep.from_dict(response_200_item_data)
31
+
32
+ response_200.append(response_200_item)
33
+
34
+ return response_200
35
+ if client.raise_on_unexpected_status:
36
+ raise errors.UnexpectedStatus(response.status_code, response.content)
37
+ else:
38
+ return None
39
+
40
+
41
+ def _build_response(
42
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
43
+ ) -> Response[list["BiGraphStep"]]:
44
+ return Response(
45
+ status_code=HTTPStatus(response.status_code),
46
+ content=response.content,
47
+ headers=response.headers,
48
+ parsed=_parse_response(client=client, response=response),
49
+ )
50
+
51
+
52
+ def sync_detailed(
53
+ *,
54
+ client: Union[AuthenticatedClient, Client],
55
+ ) -> Response[list["BiGraphStep"]]:
56
+ """Get the list of processes
57
+
58
+ Raises:
59
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
60
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
61
+
62
+ Returns:
63
+ Response[list['BiGraphStep']]
64
+ """
65
+
66
+ kwargs = _get_kwargs()
67
+
68
+ response = client.get_httpx_client().request(
69
+ **kwargs,
70
+ )
71
+
72
+ return _build_response(client=client, response=response)
73
+
74
+
75
+ def sync(
76
+ *,
77
+ client: Union[AuthenticatedClient, Client],
78
+ ) -> Optional[list["BiGraphStep"]]:
79
+ """Get the list of processes
80
+
81
+ Raises:
82
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
83
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
84
+
85
+ Returns:
86
+ list['BiGraphStep']
87
+ """
88
+
89
+ return sync_detailed(
90
+ client=client,
91
+ ).parsed
92
+
93
+
94
+ async def asyncio_detailed(
95
+ *,
96
+ client: Union[AuthenticatedClient, Client],
97
+ ) -> Response[list["BiGraphStep"]]:
98
+ """Get the list of processes
99
+
100
+ Raises:
101
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
102
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
103
+
104
+ Returns:
105
+ Response[list['BiGraphStep']]
106
+ """
107
+
108
+ kwargs = _get_kwargs()
109
+
110
+ response = await client.get_async_httpx_client().request(**kwargs)
111
+
112
+ return _build_response(client=client, response=response)
113
+
114
+
115
+ async def asyncio(
116
+ *,
117
+ client: Union[AuthenticatedClient, Client],
118
+ ) -> Optional[list["BiGraphStep"]]:
119
+ """Get the list of processes
120
+
121
+ Raises:
122
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
123
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
124
+
125
+ Returns:
126
+ list['BiGraphStep']
127
+ """
128
+
129
+ return (
130
+ await asyncio_detailed(
131
+ client=client,
132
+ )
133
+ ).parsed
@@ -0,0 +1 @@
1
+ """Contains endpoint functions for accessing the API"""