MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / EventsApi

Class EventsApi

sdks/python/src/e2a/v1/generated/api/events_api.py:32–969  ·  view source on GitHub ↗

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech Do not edit the class manually.

Source from the content-addressed store, hash-verified

30
31
32class EventsApi:
33 """NOTE: This class is auto generated by OpenAPI Generator
34 Ref: https://openapi-generator.tech
35
36 Do not edit the class manually.
37 """
38
39 def __init__(self, api_client=None) -> None:
40 if api_client is None:
41 api_client = ApiClient.get_default()
42 self.api_client = api_client
43
44
45 @validate_call
46 async def get_event(
47 self,
48 id: StrictStr,
49 _request_timeout: Union[
50 None,
51 Annotated[StrictFloat, Field(gt=0)],
52 Tuple[
53 Annotated[StrictFloat, Field(gt=0)],
54 Annotated[StrictFloat, Field(gt=0)]
55 ]
56 ] = None,
57 _request_auth: Optional[Dict[StrictStr, Any]] = None,
58 _content_type: Optional[StrictStr] = None,
59 _headers: Optional[Dict[StrictStr, Any]] = None,
60 _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
61 ) -> EventJSON:
62 """Get an event
63
64
65 :param id: (required)
66 :type id: str
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._get_event_serialize(

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected