Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: Move OperationalWebhook to new codegen #1656

3 changes: 2 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Changelog

## Unreleased
* Libs/Python **(Breaking)**: `PostOptions` and `ListOptions` are no longer used in methods for `Authentication`,`Endpoint`,`EventType`,`Integration`,`MessageAttempt`,`Message` and `Statistics` resources. Instead each API call now has it's own `{Resource}{Operation}Options`. (Both sync and async)
* Libs/Python **(Breaking)**: The `OperationalWebhook` resource is renamed to `OperationalWebhookEndpoint`
svix-mman marked this conversation as resolved.
Show resolved Hide resolved
* Libs/Python **(Breaking)**: `PostOptions` and `ListOptions` are no longer used in methods for `Authentication`,`Endpoint`,`EventType`,`Integration`,`MessageAttempt`,`Message`, `Statistics` and `OperationalWebhookEndpoint` resources. Instead each API call now has it's own `{Resource}{Operation}Options`. (Both sync and async)
svix-mman marked this conversation as resolved.
Show resolved Hide resolved
* Libs/Python: In `Application` the `dashboard_access` method is deprecated in favor of `app_portal_access`. (Both sync and async)
* Libs/Python **(Breaking)**: `EndpointStatsOptions` is renamed to `EndpointGetStatsOptions`
* Libs/Python **(Breaking)**: `MessageAttemptListOptions` is removed in favor of call specific `{Resource}{Operation}Options`
Expand Down
5 changes: 4 additions & 1 deletion python/svix/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,12 @@
MessageAttemptListAttemptedDestinationsOptions,
MessageAttemptResendOptions,
)
from .operational_webhook import (
from .operational_webhook_endpoint import (
OperationalWebhookEndpointAsync,
OperationalWebhookEndpoint,
OperationalWebhookEndpointListOptions,
OperationalWebhookEndpointCreateOptions,
OperationalWebhookEndpointRotateSecretOptions,
)
from .statistics import StatisticsAsync, Statistics, StatisticsAggregateAppStatsOptions

Expand Down
161 changes: 0 additions & 161 deletions python/svix/api/operational_webhook.py

This file was deleted.

Loading