mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-30 17:23:55 +02:00
Linting
This commit is contained in:
parent
ec7c224440
commit
f21287c0c7
2 changed files with 3 additions and 2 deletions
|
@ -1121,7 +1121,9 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
)
|
)
|
||||||
raise error
|
raise error
|
||||||
|
|
||||||
def generic_contact_getter(self, contact_type_choice: PublicContact.ContactTypeChoices, skip_epp_call=False) -> PublicContact | None:
|
def generic_contact_getter(
|
||||||
|
self, contact_type_choice: PublicContact.ContactTypeChoices, skip_epp_call=False
|
||||||
|
) -> PublicContact | None:
|
||||||
"""Retrieves the desired PublicContact from the registry.
|
"""Retrieves the desired PublicContact from the registry.
|
||||||
This abstracts the caching and EPP retrieval for
|
This abstracts the caching and EPP retrieval for
|
||||||
all contact items and thus may result in EPP calls being sent.
|
all contact items and thus may result in EPP calls being sent.
|
||||||
|
|
|
@ -3,7 +3,6 @@ import logging
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from registrar.models.domain import Domain
|
from registrar.models.domain import Domain
|
||||||
from registrar.models.domain_information import DomainInformation
|
from registrar.models.domain_information import DomainInformation
|
||||||
from django.db.models import Value
|
|
||||||
from django.db.models.functions import Coalesce
|
from django.db.models.functions import Coalesce
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
from django.core.paginator import Paginator
|
from django.core.paginator import Paginator
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue