Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
bdfe0bb
codegen metadata
stainless-app[bot] Oct 3, 2025
7ba1c2b
codegen metadata
stainless-app[bot] Oct 3, 2025
f3e0cd2
codegen metadata
stainless-app[bot] Oct 3, 2025
4b6fc83
codegen metadata
stainless-app[bot] Oct 4, 2025
1f1580f
codegen metadata
stainless-app[bot] Oct 4, 2025
cb83d83
codegen metadata
stainless-app[bot] Oct 5, 2025
2d6d6e1
codegen metadata
stainless-app[bot] Oct 5, 2025
7cac9ae
codegen metadata
stainless-app[bot] Oct 5, 2025
470588b
codegen metadata
stainless-app[bot] Oct 5, 2025
9ea7558
codegen metadata
stainless-app[bot] Oct 6, 2025
80dc13e
codegen metadata
stainless-app[bot] Oct 6, 2025
f80a55b
codegen metadata
stainless-app[bot] Oct 6, 2025
939a647
codegen metadata
stainless-app[bot] Oct 6, 2025
8eedd02
feat(api): aggregated API specs update
stainless-app[bot] Oct 6, 2025
c8e06a9
feat(api): aggregated API specs update
stainless-app[bot] Oct 7, 2025
84cb968
codegen metadata
stainless-app[bot] Oct 8, 2025
555824b
feat(api): aggregated API specs update
stainless-app[bot] Oct 9, 2025
1dc8993
feat(api): aggregated API specs update
stainless-app[bot] Oct 10, 2025
9b55e6e
chore(internal): detect missing future annotations with ruff
stainless-app[bot] Oct 10, 2025
2e2997b
chore: add pull request template
deferred Oct 10, 2025
289bea8
chore(ci): add fossa
deferred Oct 10, 2025
2a0347f
feat(api): aggregated API specs update
stainless-app[bot] Oct 13, 2025
c62d748
feat(api): aggregated API specs update
stainless-app[bot] Oct 13, 2025
982848b
codegen metadata
stainless-app[bot] Oct 14, 2025
c672843
chore(cloud)!: rename inference applications deployments update method
stainless-app[bot] Oct 14, 2025
7a58cae
feat(api): aggregated API specs update
stainless-app[bot] Oct 14, 2025
ab273aa
fix(cloud)!: rename to load_balancer_id path param
stainless-app[bot] Oct 14, 2025
4705d2f
codegen metadata
stainless-app[bot] Oct 14, 2025
0c3df8e
feat(cloude): remove cloud_lbmember name
stainless-app[bot] Oct 14, 2025
9cdb941
codegen metadata
stainless-app[bot] Oct 16, 2025
0d92524
feat(api): aggregated API specs update
stainless-app[bot] Oct 16, 2025
eefad21
codegen metadata
stainless-app[bot] Oct 16, 2025
6b55df9
fix(cloud)!: use load_balancer_id in poll methods
deferred Oct 16, 2025
ca4cbba
feat(api): aggregated API specs update
stainless-app[bot] Oct 16, 2025
b030ed6
feat(cloud)!: remove get and update list method for billing reservations
stainless-app[bot] Oct 16, 2025
0aa709a
codegen metadata
stainless-app[bot] Oct 16, 2025
0b3c21b
fix(examples): suppress deprecation warnings for file shares update m…
algis-dumbris Oct 17, 2025
46f7dc6
release: 0.16.0
stainless-app[bot] Oct 17, 2025
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
15 changes: 15 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## ⚠️ **Automated Repository Notice**

**Please read and check the box below before submitting this PR:**

- [ ] **I understand that this repository is autogenerated.** Changes made here may be overwritten by the generation process, and as a result, **this Pull Request may not be merged** or may be closed without notice.

---

## 📝 **Summary of Changes**

*Provide a brief, high-level overview of what this PR does.*

* ...
* ...

25 changes: 25 additions & 0 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: fossa
permissions:
contents: read
on:
push:
pull_request:
workflow_dispatch:
merge_group:
types: [checks_requested]
jobs:
fossa:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]' && github.repository == 'G-Core/gcore-python'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install FOSSA CLI
run: |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
- name: Set FOSSA API Key
run: echo "FOSSA_API_KEY=${{ secrets.FOSSA_PUB_API_KEY }}" >> $GITHUB_ENV
- name: Run FOSSA Analysis
run: fossa analyze
- name: Run FOSSA Test
run: fossa test
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.15.0"
".": "0.16.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 612
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-0c766e6ecf7e97b4bad1f4ee664a81ab3f3c76e655993623084f9cf9517097cd.yml
openapi_spec_hash: 1a1ec9ecc3cdf29e91d4dd75570af164
config_hash: e660d386571b7b7f97e632d15f98719f
configured_endpoints: 607
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-69cdddee2436ba596d5c966a54c73d4ed4081564ec1c09282e3736bdb9ec6e20.yml
openapi_spec_hash: 33a4d60dd35c4e8ae937a9b079a25cad
config_hash: ba133b9b8d6b270153eb6a24c4280262
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# Changelog

## 0.16.0 (2025-10-17)

Full Changelog: [v0.15.0...v0.16.0](https://github.com/G-Core/gcore-python/compare/v0.15.0...v0.16.0)

### ⚠ BREAKING CHANGES

* **cloud:** remove get and update list method for billing reservations
* **cloud:** use load_balancer_id in poll methods
* **cloud:** rename to load_balancer_id path param
* **cloud:** rename inference applications deployments update method

### Features

* **api:** aggregated API specs update ([ca4cbba](https://github.com/G-Core/gcore-python/commit/ca4cbbabc6c143e6a1c54e861cafbd38f906ebda))
* **api:** aggregated API specs update ([0d92524](https://github.com/G-Core/gcore-python/commit/0d92524c16aeac6e96b0360c49de70a7912a8485))
* **api:** aggregated API specs update ([7a58cae](https://github.com/G-Core/gcore-python/commit/7a58cae302e7a3818a11e616f967719db076fd25))
* **api:** aggregated API specs update ([c62d748](https://github.com/G-Core/gcore-python/commit/c62d7487ca76b74c8919c438b7d50979e75527cf))
* **api:** aggregated API specs update ([2a0347f](https://github.com/G-Core/gcore-python/commit/2a0347fbb670a29ca3cf0418637cd843bd8d535d))
* **api:** aggregated API specs update ([1dc8993](https://github.com/G-Core/gcore-python/commit/1dc8993163988b192d1f7bcedd2b4df4259f60d0))
* **api:** aggregated API specs update ([555824b](https://github.com/G-Core/gcore-python/commit/555824be97e936b2a20077870dfd50a186446e40))
* **api:** aggregated API specs update ([c8e06a9](https://github.com/G-Core/gcore-python/commit/c8e06a9c4db67838c190b7f985fa99e2ee1bc9f4))
* **api:** aggregated API specs update ([8eedd02](https://github.com/G-Core/gcore-python/commit/8eedd0251f0519932ccc9034383e56bbf385d4a4))
* **cloude:** remove cloud_lbmember name ([0c3df8e](https://github.com/G-Core/gcore-python/commit/0c3df8e1330f518b13457f5a3db8e7fcf963ea42))
* **cloud:** remove get and update list method for billing reservations ([b030ed6](https://github.com/G-Core/gcore-python/commit/b030ed6e7f2b26e396ebd2852df3e915b425a761))


### Bug Fixes

* **cloud:** rename to load_balancer_id path param ([ab273aa](https://github.com/G-Core/gcore-python/commit/ab273aadd364dc22a1fc8538c8b39c916fd002df))
* **cloud:** use load_balancer_id in poll methods ([6b55df9](https://github.com/G-Core/gcore-python/commit/6b55df953a0695b0047b947ab898063df9cba044))
* **examples:** suppress deprecation warnings for file shares update method ([#104](https://github.com/G-Core/gcore-python/issues/104)) ([0b3c21b](https://github.com/G-Core/gcore-python/commit/0b3c21b3f1f971a9d22623ae03c136e3aad84611))


### Chores

* add pull request template ([2e2997b](https://github.com/G-Core/gcore-python/commit/2e2997b1591f489581b6568c7adf9a4d39d5501c))
* **ci:** add fossa ([289bea8](https://github.com/G-Core/gcore-python/commit/289bea8c56d1b1e185dc1374628115b708aedcfa))
* **cloud:** rename inference applications deployments update method ([c672843](https://github.com/G-Core/gcore-python/commit/c6728438a3bba4d47de59bbdf30fe4d1c82a3d97))
* **internal:** detect missing future annotations with ruff ([9b55e6e](https://github.com/G-Core/gcore-python/commit/9b55e6e072e0f4210545e5fb91d5b628a8512cf8))

## 0.15.0 (2025-10-02)

Full Changelog: [v0.14.0...v0.15.0](https://github.com/G-Core/gcore-python/compare/v0.14.0...v0.15.0)
Expand Down
36 changes: 10 additions & 26 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,12 @@ from gcore.types.cloud import (
Methods:

- <code title="post /cloud/v1/loadbalancers/{project_id}/{region_id}">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">create</a>(\*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancer_create_params.py">params</a>) -> <a href="./src/gcore/types/cloud/task_id_list.py">TaskIDList</a></code>
- <code title="patch /cloud/v1/loadbalancers/{project_id}/{region_id}/{loadbalancer_id}">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">update</a>(loadbalancer_id, \*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancer_update_params.py">params</a>) -> <a href="./src/gcore/types/cloud/load_balancer.py">LoadBalancer</a></code>
- <code title="patch /cloud/v1/loadbalancers/{project_id}/{region_id}/{load_balancer_id}">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">update</a>(load_balancer_id, \*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancer_update_params.py">params</a>) -> <a href="./src/gcore/types/cloud/load_balancer.py">LoadBalancer</a></code>
- <code title="get /cloud/v1/loadbalancers/{project_id}/{region_id}">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">list</a>(\*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancer_list_params.py">params</a>) -> <a href="./src/gcore/types/cloud/load_balancer.py">SyncOffsetPage[LoadBalancer]</a></code>
- <code title="delete /cloud/v1/loadbalancers/{project_id}/{region_id}/{loadbalancer_id}">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">delete</a>(loadbalancer_id, \*, project_id, region_id) -> <a href="./src/gcore/types/cloud/task_id_list.py">TaskIDList</a></code>
- <code title="post /cloud/v1/loadbalancers/{project_id}/{region_id}/{loadbalancer_id}/failover">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">failover</a>(loadbalancer_id, \*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancer_failover_params.py">params</a>) -> <a href="./src/gcore/types/cloud/task_id_list.py">TaskIDList</a></code>
- <code title="get /cloud/v1/loadbalancers/{project_id}/{region_id}/{loadbalancer_id}">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">get</a>(loadbalancer_id, \*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancer_get_params.py">params</a>) -> <a href="./src/gcore/types/cloud/load_balancer.py">LoadBalancer</a></code>
- <code title="post /cloud/v1/loadbalancers/{project_id}/{region_id}/{loadbalancer_id}/resize">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">resize</a>(loadbalancer_id, \*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancer_resize_params.py">params</a>) -> <a href="./src/gcore/types/cloud/task_id_list.py">TaskIDList</a></code>
- <code title="delete /cloud/v1/loadbalancers/{project_id}/{region_id}/{load_balancer_id}">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">delete</a>(load_balancer_id, \*, project_id, region_id) -> <a href="./src/gcore/types/cloud/task_id_list.py">TaskIDList</a></code>
- <code title="post /cloud/v1/loadbalancers/{project_id}/{region_id}/{load_balancer_id}/failover">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">failover</a>(load_balancer_id, \*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancer_failover_params.py">params</a>) -> <a href="./src/gcore/types/cloud/task_id_list.py">TaskIDList</a></code>
- <code title="get /cloud/v1/loadbalancers/{project_id}/{region_id}/{load_balancer_id}">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">get</a>(load_balancer_id, \*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancer_get_params.py">params</a>) -> <a href="./src/gcore/types/cloud/load_balancer.py">LoadBalancer</a></code>
- <code title="post /cloud/v1/loadbalancers/{project_id}/{region_id}/{load_balancer_id}/resize">client.cloud.load_balancers.<a href="./src/gcore/resources/cloud/load_balancers/load_balancers.py">resize</a>(load_balancer_id, \*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancer_resize_params.py">params</a>) -> <a href="./src/gcore/types/cloud/task_id_list.py">TaskIDList</a></code>

### L7Policies

Expand Down Expand Up @@ -281,14 +281,14 @@ Methods:

Methods:

- <code title="post /cloud/v1/loadbalancers/{project_id}/{region_id}/{loadbalancer_id}/metrics">client.cloud.load_balancers.metrics.<a href="./src/gcore/resources/cloud/load_balancers/metrics.py">list</a>(loadbalancer_id, \*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancers/metric_list_params.py">params</a>) -> <a href="./src/gcore/types/cloud/load_balancer_metrics_list.py">LoadBalancerMetricsList</a></code>
- <code title="post /cloud/v1/loadbalancers/{project_id}/{region_id}/{load_balancer_id}/metrics">client.cloud.load_balancers.metrics.<a href="./src/gcore/resources/cloud/load_balancers/metrics.py">list</a>(load_balancer_id, \*, project_id, region_id, \*\*<a href="src/gcore/types/cloud/load_balancers/metric_list_params.py">params</a>) -> <a href="./src/gcore/types/cloud/load_balancer_metrics_list.py">LoadBalancerMetricsList</a></code>

### Statuses

Methods:

- <code title="get /cloud/v1/loadbalancers/{project_id}/{region_id}/status">client.cloud.load_balancers.statuses.<a href="./src/gcore/resources/cloud/load_balancers/statuses.py">list</a>(\*, project_id, region_id) -> <a href="./src/gcore/types/cloud/load_balancer_status_list.py">LoadBalancerStatusList</a></code>
- <code title="get /cloud/v1/loadbalancers/{project_id}/{region_id}/{loadbalancer_id}/status">client.cloud.load_balancers.statuses.<a href="./src/gcore/resources/cloud/load_balancers/statuses.py">get</a>(loadbalancer_id, \*, project_id, region_id) -> <a href="./src/gcore/types/cloud/load_balancer_status.py">LoadBalancerStatus</a></code>
- <code title="get /cloud/v1/loadbalancers/{project_id}/{region_id}/{load_balancer_id}/status">client.cloud.load_balancers.statuses.<a href="./src/gcore/resources/cloud/load_balancers/statuses.py">get</a>(load_balancer_id, \*, project_id, region_id) -> <a href="./src/gcore/types/cloud/load_balancer_status.py">LoadBalancerStatus</a></code>

## ReservedFixedIPs

Expand Down Expand Up @@ -576,10 +576,10 @@ from gcore.types.cloud.inference.applications import (
Methods:

- <code title="post /cloud/v3/inference/applications/{project_id}/deployments">client.cloud.inference.applications.deployments.<a href="./src/gcore/resources/cloud/inference/applications/deployments.py">create</a>(\*, project_id, \*\*<a href="src/gcore/types/cloud/inference/applications/deployment_create_params.py">params</a>) -> <a href="./src/gcore/types/cloud/task_id_list.py">TaskIDList</a></code>
- <code title="patch /cloud/v3/inference/applications/{project_id}/deployments/{deployment_name}">client.cloud.inference.applications.deployments.<a href="./src/gcore/resources/cloud/inference/applications/deployments.py">update</a>(deployment_name, \*, project_id, \*\*<a href="src/gcore/types/cloud/inference/applications/deployment_update_params.py">params</a>) -> <a href="./src/gcore/types/cloud/task_id_list.py">TaskIDList</a></code>
- <code title="get /cloud/v3/inference/applications/{project_id}/deployments">client.cloud.inference.applications.deployments.<a href="./src/gcore/resources/cloud/inference/applications/deployments.py">list</a>(\*, project_id) -> <a href="./src/gcore/types/cloud/inference/applications/inference_application_deployment_list.py">InferenceApplicationDeploymentList</a></code>
- <code title="delete /cloud/v3/inference/applications/{project_id}/deployments/{deployment_name}">client.cloud.inference.applications.deployments.<a href="./src/gcore/resources/cloud/inference/applications/deployments.py">delete</a>(deployment_name, \*, project_id) -> <a href="./src/gcore/types/cloud/task_id_list.py">TaskIDList</a></code>
- <code title="get /cloud/v3/inference/applications/{project_id}/deployments/{deployment_name}">client.cloud.inference.applications.deployments.<a href="./src/gcore/resources/cloud/inference/applications/deployments.py">get</a>(deployment_name, \*, project_id) -> <a href="./src/gcore/types/cloud/inference/applications/inference_application_deployment.py">InferenceApplicationDeployment</a></code>
- <code title="patch /cloud/v3/inference/applications/{project_id}/deployments/{deployment_name}">client.cloud.inference.applications.deployments.<a href="./src/gcore/resources/cloud/inference/applications/deployments.py">patch</a>(deployment_name, \*, project_id, \*\*<a href="src/gcore/types/cloud/inference/applications/deployment_patch_params.py">params</a>) -> <a href="./src/gcore/types/cloud/task_id_list.py">TaskIDList</a></code>

#### Templates

Expand Down Expand Up @@ -750,13 +750,12 @@ Methods:
Types:

```python
from gcore.types.cloud import BillingReservation
from gcore.types.cloud import BillingReservation, BillingReservations
```

Methods:

- <code title="get /cloud/v1/reservations">client.cloud.billing_reservations.<a href="./src/gcore/resources/cloud/billing_reservations.py">list</a>(\*\*<a href="src/gcore/types/cloud/billing_reservation_list_params.py">params</a>) -> <a href="./src/gcore/types/cloud/billing_reservation.py">SyncOffsetPage[BillingReservation]</a></code>
- <code title="get /cloud/v1/reservations/{reservation_id}">client.cloud.billing_reservations.<a href="./src/gcore/resources/cloud/billing_reservations.py">get</a>(reservation_id) -> <a href="./src/gcore/types/cloud/billing_reservation.py">BillingReservation</a></code>
- <code title="get /cloud/v2/reservations">client.cloud.billing_reservations.<a href="./src/gcore/resources/cloud/billing_reservations.py">list</a>(\*\*<a href="src/gcore/types/cloud/billing_reservation_list_params.py">params</a>) -> <a href="./src/gcore/types/cloud/billing_reservations.py">BillingReservations</a></code>

## GPUBaremetalClusters

Expand Down Expand Up @@ -2251,21 +2250,6 @@ Methods:
- <code title="get /cdn/advanced/v1/logs">client.cdn.logs.<a href="./src/gcore/resources/cdn/logs/logs.py">list</a>(\*\*<a href="src/gcore/types/cdn/log_list_params.py">params</a>) -> SyncOffsetPageCdnLogs[Data]</code>
- <code title="get /cdn/advanced/v1/logs/download">client.cdn.logs.<a href="./src/gcore/resources/cdn/logs/logs.py">download</a>(\*\*<a href="src/gcore/types/cdn/log_download_params.py">params</a>) -> BinaryAPIResponse</code>

### Settings

Types:

```python
from gcore.types.cdn.logs import LogSettings
```

Methods:

- <code title="post /cdn/raw_log_settings">client.cdn.logs.settings.<a href="./src/gcore/resources/cdn/logs/settings.py">create</a>(\*\*<a href="src/gcore/types/cdn/logs/setting_create_params.py">params</a>) -> None</code>
- <code title="put /cdn/raw_log_settings">client.cdn.logs.settings.<a href="./src/gcore/resources/cdn/logs/settings.py">update</a>(\*\*<a href="src/gcore/types/cdn/logs/setting_update_params.py">params</a>) -> None</code>
- <code title="delete /cdn/raw_log_settings">client.cdn.logs.settings.<a href="./src/gcore/resources/cdn/logs/settings.py">delete</a>() -> None</code>
- <code title="get /cdn/raw_log_settings">client.cdn.logs.settings.<a href="./src/gcore/resources/cdn/logs/settings.py">get</a>() -> <a href="./src/gcore/types/cdn/logs/log_settings.py">LogSettings</a></code>

## LogsUploader

Types:
Expand Down
2 changes: 1 addition & 1 deletion examples/cloud/file_shares.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_file_share(*, client: Gcore, file_share_id: str) -> None:

def update_file_share(*, client: Gcore, file_share_id: str) -> None:
print("\n=== UPDATE FILE SHARE ===")
file_share = client.cloud.file_shares.update(
file_share = client.cloud.file_shares.update( # pyright: ignore[reportDeprecated]
file_share_id=file_share_id,
name="gcore-go-example-updated",
)
Expand Down
2 changes: 1 addition & 1 deletion examples/cloud/file_shares_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def get_file_share(*, client: AsyncGcore, file_share_id: str) -> None:

async def update_file_share(*, client: AsyncGcore, file_share_id: str) -> None:
print("\n=== UPDATE FILE SHARE ===")
file_share = await client.cloud.file_shares.update(
file_share = await client.cloud.file_shares.update( # pyright: ignore[reportDeprecated]
file_share_id=file_share_id,
name="gcore-go-example-updated",
)
Expand Down
Loading
Loading