Skip to content

Commit a96b02c

Browse files
committed
MPT-14452 Cleanup accounts service
1 parent b9fa255 commit a96b02c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

mpt_api_client/resources/notifications/accounts.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from typing import override
21

32
from mpt_api_client.exceptions import MPTError
43
from mpt_api_client.http import AsyncService, Service
@@ -24,16 +23,6 @@ class AccountsServiceConfig:
2423
class AccountsService(Service[Contact], AccountsServiceConfig):
2524
"""Accounts service."""
2625

27-
@override
28-
def get(self, resource_id: str, select: list[str] | str | None = None) -> Contact:
29-
# TODO: delete. This method does not exist in the api
30-
raise MethodNotAllowedError("Operation not allowed")
31-
3226

3327
class AsyncAccountsService(AsyncService[Contact], AccountsServiceConfig):
3428
"""Async Accounts service."""
35-
36-
@override
37-
async def get(self, resource_id: str, select: list[str] | str | None = None) -> Contact:
38-
# TODO: delete. This method does not exist in the api
39-
raise MethodNotAllowedError("Operation not allowed")

0 commit comments

Comments
 (0)