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
240 changes: 6 additions & 234 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 1.0.3
version: 1.1.0
additionalDependencies:
dev: {}
main: {}
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.570.2
speakeasyVersion: 1.570.3
sources:
FastAPI:
sourceNamespace: fast-api
sourceRevisionDigest: sha256:b66f7e1f7511a3a98ba9cd12b772ec995f5cf4362a60fdcc5b2582f1fa09b05b
sourceBlobDigest: sha256:46c3eaf6d76d253f805f2e4bb527f5a3e1ee391f78222af96eebb199446604b1
sourceRevisionDigest: sha256:adb5fec50e8fd1f8c7cc868716fb7e5fbf39fc756fbdd6fdfe5a2da297b44117
sourceBlobDigest: sha256:0a9aca123316c592439d71ec2d82c03169a61672abb83ea322db326c0dca2c0a
tags:
- latest
- 2.0.0
targets:
opper:
source: FastAPI
sourceNamespace: fast-api
sourceRevisionDigest: sha256:b66f7e1f7511a3a98ba9cd12b772ec995f5cf4362a60fdcc5b2582f1fa09b05b
sourceBlobDigest: sha256:46c3eaf6d76d253f805f2e4bb527f5a3e1ee391f78222af96eebb199446604b1
sourceRevisionDigest: sha256:adb5fec50e8fd1f8c7cc868716fb7e5fbf39fc756fbdd6fdfe5a2da297b44117
sourceBlobDigest: sha256:0a9aca123316c592439d71ec2d82c03169a61672abb83ea322db326c0dca2c0a
codeSamplesNamespace: fast-api-python-code-samples
codeSamplesRevisionDigest: sha256:27f0e2c1eed1575de750c05307aa2e88414496aea05007fc0a2f81e5797d1d6b
codeSamplesRevisionDigest: sha256:b12527fbb6485ea220536f7dea61d6b3be1edd299f38660c8018d5b79ee06160
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ with Opper(
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -223,7 +223,7 @@ async def main():
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -299,7 +299,7 @@ with Opper(
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -474,7 +474,7 @@ with Opper(
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -550,7 +550,7 @@ with Opper(
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -616,7 +616,7 @@ with Opper(
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -707,7 +707,7 @@ with Opper(
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -792,7 +792,7 @@ with Opper(
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down
4 changes: 2 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ with Opper(
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -105,7 +105,7 @@ async def main():
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down
4 changes: 2 additions & 2 deletions docs/models/updatespanrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | The name of the span, something descriptive about the span that will be used to identify it when querying | my span |
| `start_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The start time of the span in UTC | 2025-06-27T11:37:21.302644Z |
| `start_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The start time of the span in UTC | 2025-06-27T11:37:30.236954Z |
| `type` | *OptionalNullable[str]* | :heavy_minus_sign: | The type of the span | email_tool |
| `end_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The end time of the span in UTC | 2025-06-27T11:37:21.302704Z |
| `end_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The end time of the span in UTC | 2025-06-27T11:37:30.237016Z |
| `input` | *OptionalNullable[str]* | :heavy_minus_sign: | The input of the span | Hello, world! |
| `output` | *OptionalNullable[str]* | :heavy_minus_sign: | The output of the span | Hello, world! |
| `error` | *OptionalNullable[str]* | :heavy_minus_sign: | In case of an error, the error message | Exception: This is an error message |
Expand Down
2 changes: 1 addition & 1 deletion docs/sdks/datasets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ with Opper(
http_bearer=os.getenv("OPPER_HTTP_BEARER", ""),
) as opper:

res = opper.datasets.create_entry(dataset_id="50c15d18-6e79-449b-9e59-30324da6de5f", input_={
res = opper.datasets.create_entry(dataset_id="50c15d18-6e79-449b-9e59-30324da6de5f", input={
"x": 4,
"y": 5,
}, output={
Expand Down
2 changes: 1 addition & 1 deletion docs/sdks/embeddings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ with Opper(
http_bearer=os.getenv("OPPER_HTTP_BEARER", ""),
) as opper:

res = opper.embeddings.create(input_="Hello, world!")
res = opper.embeddings.create(input="Hello, world!")

# Handle response
print(res)
Expand Down
2 changes: 1 addition & 1 deletion docs/sdks/entries/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ with Opper(
http_bearer=os.getenv("OPPER_HTTP_BEARER", ""),
) as opper:

res = opper.datasets.entries.update(dataset_id="df57581c-3364-4ee6-a9f8-7de20cb937ff", entry_id="2789b25b-1a98-4360-96ee-67e9af98c53f", input_="Given this input, what is the output?", output="This is the output to the dataset entry", expected="This `was` the output to the dataset entry", comment="This is an example of how one can edit the output")
res = opper.datasets.entries.update(dataset_id="df57581c-3364-4ee6-a9f8-7de20cb937ff", entry_id="2789b25b-1a98-4360-96ee-67e9af98c53f", input="Given this input, what is the output?", output="This is the output to the dataset entry", expected="This `was` the output to the dataset entry", comment="This is an example of how one can edit the output")

# Handle response
print(res)
Expand Down
8 changes: 4 additions & 4 deletions docs/sdks/functions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ with Opper(
http_bearer=os.getenv("OPPER_HTTP_BEARER", ""),
) as opper:

res = opper.functions.call(function_id="864c5880-3d87-4091-828c-33cc2c7219a9", input_={
res = opper.functions.call(function_id="864c5880-3d87-4091-828c-33cc2c7219a9", input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -486,7 +486,7 @@ with Opper(
http_bearer=os.getenv("OPPER_HTTP_BEARER", ""),
) as opper:

res = opper.functions.stream(function_id="e35c595b-59f2-40b8-bc8a-d6f71ebd3c63", input_={
res = opper.functions.stream(function_id="e35c595b-59f2-40b8-bc8a-d6f71ebd3c63", input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -551,7 +551,7 @@ with Opper(
http_bearer=os.getenv("OPPER_HTTP_BEARER", ""),
) as opper:

res = opper.functions.call_revision(function_id="b7391b0d-f115-4145-ae29-a136ae2d6a7a", revision_id="de9b5cac-c926-4aa1-a5ab-dc3aa3cd539c", input_={
res = opper.functions.call_revision(function_id="b7391b0d-f115-4145-ae29-a136ae2d6a7a", revision_id="de9b5cac-c926-4aa1-a5ab-dc3aa3cd539c", input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -629,7 +629,7 @@ with Opper(
http_bearer=os.getenv("OPPER_HTTP_BEARER", ""),
) as opper:

res = opper.functions.stream_revision(function_id="d69e8466-7dba-4eaf-983c-ee6573398ae7", revision_id="c5701ae3-acaf-40b6-95f8-5c1192d84640", input_={
res = opper.functions.stream_revision(function_id="d69e8466-7dba-4eaf-983c-ee6573398ae7", revision_id="c5701ae3-acaf-40b6-95f8-5c1192d84640", input={
"x": 4,
"y": 5,
}, examples=[
Expand Down
4 changes: 2 additions & 2 deletions docs/sdks/opper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ with Opper(
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down Expand Up @@ -167,7 +167,7 @@ with Opper(
],
"title": "OpperOutputExample",
"type": "object",
}, input_={
}, input={
"x": 4,
"y": 5,
}, examples=[
Expand Down
Loading