root.execution_logs =================== .. py:module:: root.execution_logs Classes ------- .. autoapisummary:: root.execution_logs.ExecutionLogs root.execution_logs.ExecutionResult Module Contents --------------- .. py:class:: ExecutionLogs(client: Union[Awaitable[root.generated.openapi_aclient.ApiClient], root.generated.openapi_client.ApiClient]) Execution logs API .. py:method:: aget(*, log_id: Optional[str] = None, execution_result: Optional[ExecutionResult] = None, _request_timeout: Optional[int] = None) -> root.generated.openapi_aclient.models.execution_log_details.ExecutionLogDetails :async: Asynchronously get a specific execution log details :param log_id: The log to be fetched :param execution_result: The execution result containing the log ID. :raises ValueError: If both log_id and execution_result are None. .. py:method:: alist(*, limit: int = 100, search_term: Optional[str] = None, _request_timeout: Optional[int] = None) -> AsyncIterator[root.generated.openapi_aclient.models.execution_log_list.ExecutionLogList] :async: Asynchronously list execution logs :param limit: Number of entries to iterate through at most. :param search_term: Can be used to limit returned logs. For example, a skill id or name. .. py:method:: get(*, log_id: Optional[str] = None, execution_result: Optional[ExecutionResult] = None, _request_timeout: Optional[int] = None) -> root.generated.openapi_client.models.execution_log_details.ExecutionLogDetails Get a specific execution log details :param log_id: The log to be fetched :param execution_result: The execution result containing the log ID. :raises ValueError: If both log_id and execution_result are None. .. py:method:: list(*, limit: int = 100, search_term: Optional[str] = None, _request_timeout: Optional[int] = None) -> Iterator[root.generated.openapi_client.models.execution_log_list.ExecutionLogList] List execution logs :param limit: Number of entries to iterate through at most. :param search_term: Can be used to limit returned logs. For example, a skill id or name. .. py:class:: ExecutionResult Bases: :py:obj:`Protocol` Base class for protocol classes. Protocol classes are defined as:: class Proto(Protocol): def meth(self) -> int: ... Such classes are primarily used with static type checkers that recognize structural subtyping (static duck-typing). For example:: class C: def meth(self) -> int: return 0 def func(x: Proto) -> int: return x.meth() func(C()) # Passes static type check See PEP 544 for details. Protocol classes decorated with @typing.runtime_checkable act as simple-minded runtime protocols that check only the presence of given attributes, ignoring their type signatures. Protocol classes can be generic, they are defined as:: class GenProto[T](Protocol): def meth(self) -> T: ... .. py:attribute:: execution_log_id :type: str