Skip to content

Commit

Permalink
python: correct type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-mman committed Jan 16, 2025
1 parent c376dc6 commit 35171f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/svix/api/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async def update(
client=self._client, app_id=app_id, json_body=application_in
)

async def delete(self, app_id: str) -> ApplicationOut:
async def delete(self, app_id: str) -> None:
"""Delete an application."""
return await v1_application_delete.request_asyncio(
client=self._client, app_id=app_id
Expand Down Expand Up @@ -143,7 +143,7 @@ def update(self, app_id: str, application_in: ApplicationIn) -> ApplicationOut:
client=self._client, app_id=app_id, json_body=application_in
)

def delete(self, app_id: str) -> ApplicationOut:
def delete(self, app_id: str) -> None:
"""Delete an application."""
return v1_application_delete.request_sync(client=self._client, app_id=app_id)

Expand Down

0 comments on commit 35171f1

Please sign in to comment.