Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 15
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-e741833ec80041045f2b16ea82c2bd4c7b2d4b4bf0ec0f5698b20ece98763d00.yml
configured_endpoints: 14
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-1fdc9bae4fba7d365eca69915191a06ab5b0faec74f80404339e92cba37036f7.yml
4 changes: 0 additions & 4 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ Types:
from runloop_api_client.types.functions.invocations import InvocationSpanListView
```

Methods:

- <code title="get /v1/functions/invocations/{invocationId}/spans">client.functions.invocations.spans.<a href="./src/runloop_api_client/resources/functions/invocations/spans.py">list</a>(invocation_id) -> <a href="./src/runloop_api_client/types/functions/invocations/invocation_span_list_view.py">InvocationSpanListView</a></code>

# Projects

Types:
Expand Down
14 changes: 0 additions & 14 deletions src/runloop_api_client/resources/functions/invocations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from .spans import (
SpansResource,
AsyncSpansResource,
SpansResourceWithRawResponse,
AsyncSpansResourceWithRawResponse,
SpansResourceWithStreamingResponse,
AsyncSpansResourceWithStreamingResponse,
)
from .invocations import (
InvocationsResource,
AsyncInvocationsResource,
Expand All @@ -18,12 +10,6 @@
)

__all__ = [
"SpansResource",
"AsyncSpansResource",
"SpansResourceWithRawResponse",
"AsyncSpansResourceWithRawResponse",
"SpansResourceWithStreamingResponse",
"AsyncSpansResourceWithStreamingResponse",
"InvocationsResource",
"AsyncInvocationsResource",
"InvocationsResourceWithRawResponse",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

import httpx

from .spans import (
SpansResource,
AsyncSpansResource,
SpansResourceWithRawResponse,
AsyncSpansResourceWithRawResponse,
SpansResourceWithStreamingResponse,
AsyncSpansResourceWithStreamingResponse,
)
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
from ...._compat import cached_property
from ...._resource import SyncAPIResource, AsyncAPIResource
Expand All @@ -31,10 +23,6 @@


class InvocationsResource(SyncAPIResource):
@cached_property
def spans(self) -> SpansResource:
return SpansResource(self._client)

@cached_property
def with_raw_response(self) -> InvocationsResourceWithRawResponse:
return InvocationsResourceWithRawResponse(self)
Expand Down Expand Up @@ -133,10 +121,6 @@ def kill(


class AsyncInvocationsResource(AsyncAPIResource):
@cached_property
def spans(self) -> AsyncSpansResource:
return AsyncSpansResource(self._client)

@cached_property
def with_raw_response(self) -> AsyncInvocationsResourceWithRawResponse:
return AsyncInvocationsResourceWithRawResponse(self)
Expand Down Expand Up @@ -248,10 +232,6 @@ def __init__(self, invocations: InvocationsResource) -> None:
invocations.kill,
)

@cached_property
def spans(self) -> SpansResourceWithRawResponse:
return SpansResourceWithRawResponse(self._invocations.spans)


class AsyncInvocationsResourceWithRawResponse:
def __init__(self, invocations: AsyncInvocationsResource) -> None:
Expand All @@ -267,10 +247,6 @@ def __init__(self, invocations: AsyncInvocationsResource) -> None:
invocations.kill,
)

@cached_property
def spans(self) -> AsyncSpansResourceWithRawResponse:
return AsyncSpansResourceWithRawResponse(self._invocations.spans)


class InvocationsResourceWithStreamingResponse:
def __init__(self, invocations: InvocationsResource) -> None:
Expand All @@ -286,10 +262,6 @@ def __init__(self, invocations: InvocationsResource) -> None:
invocations.kill,
)

@cached_property
def spans(self) -> SpansResourceWithStreamingResponse:
return SpansResourceWithStreamingResponse(self._invocations.spans)


class AsyncInvocationsResourceWithStreamingResponse:
def __init__(self, invocations: AsyncInvocationsResource) -> None:
Expand All @@ -304,7 +276,3 @@ def __init__(self, invocations: AsyncInvocationsResource) -> None:
self.kill = async_to_streamed_response_wrapper(
invocations.kill,
)

@cached_property
def spans(self) -> AsyncSpansResourceWithStreamingResponse:
return AsyncSpansResourceWithStreamingResponse(self._invocations.spans)
147 changes: 0 additions & 147 deletions src/runloop_api_client/resources/functions/invocations/spans.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@


class Log(BaseModel):
cmd: Optional[str] = None
"""The Command Executed"""

cmd_id: Optional[str] = None
"""Identifier of the associated command the log is sourced from."""

exit_code: Optional[int] = None
"""The Exit Code of the command"""

level: Optional[str] = None
"""Log line severity level."""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from .invocation_span_list_view import InvocationSpanListView as InvocationSpanListView

This file was deleted.

Loading