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
5 changes: 0 additions & 5 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@

<div align="center">
<a href="https://codespaces.new/gleanwork/api-client-python.git/tree/main"><img src="https://github.com/codespaces/badge.svg" /></a>
</div>
<br>

> **Remember to shutdown a GitHub Codespace when it is not in use!**

# Dev Containers Quick Start
Expand Down
385 changes: 187 additions & 198 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

255,189 changes: 124,669 additions & 130,520 deletions .speakeasy/tests.arazzo.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ speakeasyVersion: 1.561.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:def878110682ba33071e9369f2fc13e9ace94ee3de38b09cbcc5ad93fa083bfb
sourceRevisionDigest: sha256:4d55e9d4c5116b88a5959816fd40df895912309a293908485e2016008d31a1f4
sourceBlobDigest: sha256:eceb178c5d2537e6d21c0461c81f6af1dc245da2c327fdf5305a8191184eff94
tags:
- latest
Expand All @@ -16,10 +16,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:def878110682ba33071e9369f2fc13e9ace94ee3de38b09cbcc5ad93fa083bfb
sourceRevisionDigest: sha256:4d55e9d4c5116b88a5959816fd40df895912309a293908485e2016008d31a1f4
sourceBlobDigest: sha256:eceb178c5d2537e6d21c0461c81f6af1dc245da2c327fdf5305a8191184eff94
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:8acf66e50535d8fa865214fd70de55e2f04e299bae90925154b6ebb3bbb936c6
codeSamplesRevisionDigest: sha256:04b4dd94d8ee358b8a408e1f8f46005a73c9bd86790e5abc631c5503ec22ff8f
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -554,12 +554,7 @@ with Glean(
api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as glean:

res = glean.client.chat.upload_files(files=[
{
"file_name": "example.file",
"content": open("example.file", "rb"),
},
])
res = glean.client.chat.upload_files(files=[])

# Handle response
print(res)
Expand Down
Loading
Loading