service/src/piracyshield_service/provider/exists_by_identifier.py
2024-01-19 15:32:27 +01:00

19 lines
493 B
Python

from __future__ import annotations
from piracyshield_service.account.exists_by_identifier import AccountExistsByIdentifierService
from piracyshield_data_storage.provider.storage import ProviderStorage
class ProviderExistsByIdentifierService(AccountExistsByIdentifierService):
"""
Checks if an account with this identifier exists.
"""
def __init__(self):
"""
Pass the data storage to the parent class.
"""
super().__init__(ProviderStorage)