Skip to content

Commit dfd862b

Browse files
committed
cp
2 parents d37ad2a + 7603442 commit dfd862b

35 files changed

+268
-244
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
runs-on: ${{ github.repository == 'stainless-sdks/runloop-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2020
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: runloopai/checkout@main
2323

2424
- name: Install uv
25-
uses: astral-sh/setup-uv@v5
25+
uses: runloopai/setup-uv@main
2626
with:
2727
version: '0.8.11'
2828

@@ -41,10 +41,10 @@ jobs:
4141
id-token: write
4242
runs-on: ${{ github.repository == 'stainless-sdks/runloop-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
4343
steps:
44-
- uses: actions/checkout@v4
44+
- uses: runloopai/checkout@main
4545

4646
- name: Install uv
47-
uses: astral-sh/setup-uv@v5
47+
uses: runloopai/setup-uv@main
4848
with:
4949
version: '0.8.11'
5050

@@ -57,7 +57,7 @@ jobs:
5757
- name: Get GitHub OIDC Token
5858
if: github.repository == 'stainless-sdks/runloop-python'
5959
id: github-oidc
60-
uses: actions/github-script@v6
60+
uses: runloopai/github-script@main
6161
with:
6262
script: core.setOutput('github_token', await core.getIDToken());
6363

@@ -75,10 +75,10 @@ jobs:
7575
runs-on: ${{ github.repository == 'stainless-sdks/runloop-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
7676
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
7777
steps:
78-
- uses: actions/checkout@v4
78+
- uses: runloopai/checkout@main
7979

8080
- name: Install uv
81-
uses: astral-sh/setup-uv@v5
81+
uses: runloopai/setup-uv@main
8282
with:
8383
version: '0.8.11'
8484

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: runloopai/checkout@main
1818

1919
- name: Install uv
20-
uses: astral-sh/setup-uv@v5
20+
uses: runloopai/setup-uv@main
2121
with:
2222
version: '0.8.11'
2323

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'runloopai/api-client-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: runloopai/checkout@main
1616

1717
- name: Check release environment
1818
run: |

.github/workflows/smoketests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
timeout-minutes: 120
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: runloopai/checkout@main
2121

2222
- name: Setup uv
23-
uses: astral-sh/setup-uv@v4
23+
uses: runloopai/setup-uv@main
2424
with:
2525
python-version: "3.11"
2626

.github/workflows/sphinx.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
permissions:
1212
contents: write
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: runloopai/checkout@main
1515
with:
1616
persist-credentials: false
1717
- name: Install uv
18-
uses: astral-sh/setup-uv@v7
18+
uses: runloopai/setup-uv@main
1919
with:
2020
version: '0.9.10'
2121
- name: Install dependencies
@@ -24,12 +24,12 @@ jobs:
2424
working-directory: docs
2525
run: uv run make html
2626
- name: Upload artifacts
27-
uses: actions/upload-artifact@v4
27+
uses: runloopai/upload-artifact@main
2828
with:
2929
name: html-docs
3030
path: docs/_build/html/
3131
- name: Deploy
32-
uses: peaceiris/actions-gh-pages@v4
32+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e
3333
if: github.ref == 'refs/heads/main'
3434
with:
3535
github_token: ${{ secrets.GITHUB_TOKEN }}

docs/api/index.rst

Lines changed: 0 additions & 135 deletions
This file was deleted.

docs/conf.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
project = "Runloop Python SDK"
1616
copyright = "2025, Runloop"
1717
author = "Runloop"
18-
release = "0.68.0"
1918

2019
# -- General configuration ---------------------------------------------------
2120
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
@@ -40,18 +39,9 @@
4039

4140
# -- Extension configuration -------------------------------------------------
4241

43-
# Napoleon settings
44-
napoleon_google_docstring = False
45-
napoleon_numpy_docstring = False
46-
napoleon_use_param = True
47-
napoleon_use_rtype = True
48-
napoleon_use_ivar = True
49-
5042
# Autodoc settings
5143
autodoc_default_options = {
5244
"members": None,
53-
"undoc-members": None,
54-
"show-inheritance": None,
5545
}
5646

5747
autodoc_typehints = "description"
@@ -60,5 +50,4 @@
6050
# Intersphinx mapping
6151
intersphinx_mapping = {
6252
"python": ("https://docs.python.org/3", None),
63-
"httpx": ("https://www.python-httpx.org", None),
6453
}

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and asynchronous variants to match your runtime requirements.
99
:maxdepth: 2
1010
:caption: Contents:
1111

12-
api/index
12+
sdk/index
1313

1414
Installation
1515
------------
@@ -42,16 +42,16 @@ Asynchronous Example
4242

4343
.. code-block:: python
4444
45+
import asyncio
4546
from runloop_api_client import AsyncRunloopSDK
4647
4748
async def main():
4849
runloop = AsyncRunloopSDK()
4950
50-
async with runloop.devbox.create(name="my-devbox") as devbox:
51+
async with await runloop.devbox.create(name="my-devbox") as devbox:
5152
result = await devbox.cmd.exec(command="echo 'Hello from Runloop!'")
5253
print(await result.stdout())
5354
54-
import asyncio
5555
asyncio.run(main())
5656
5757
Indices and tables

docs/sdk/async/blueprint.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Blueprint
2+
=========
3+
4+
The ``AsyncBlueprint`` class provides asynchronous methods for managing devbox blueprints.
5+
6+
.. automodule:: runloop_api_client.sdk.async_blueprint
7+
:members:
8+

docs/sdk/async/devbox.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Devbox
2+
======
3+
4+
The ``AsyncDevbox`` class provides asynchronous methods for managing and interacting with a devbox instance.
5+
6+
.. automodule:: runloop_api_client.sdk.async_devbox
7+
:members:
8+

0 commit comments

Comments
 (0)