mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-28 12:30:27 +02:00
Linting
This commit is contained in:
parent
0d238e8793
commit
688257a718
1 changed files with 4 additions and 4 deletions
|
@ -667,17 +667,17 @@ class DomainApplicationDeleteView(DomainApplicationPermissionDeleteView):
|
|||
"""
|
||||
Collects all orphaned contacts associated with a given DomainApplication object.
|
||||
|
||||
An orphaned contact is defined as a contact that is associated with the application,
|
||||
but not with any other application. This includes the authorizing official, the submitter,
|
||||
An orphaned contact is defined as a contact that is associated with the application,
|
||||
but not with any other application. This includes the authorizing official, the submitter,
|
||||
and any other contacts linked to the application.
|
||||
|
||||
Parameters:
|
||||
application (DomainApplication): The DomainApplication object for which to find orphaned contacts.
|
||||
check_db (bool, optional): A flag indicating whether to check the database for the existence of the contacts.
|
||||
check_db (bool, optional): A flag indicating whether to check the database for the existence of the contacts.
|
||||
Defaults to False.
|
||||
|
||||
Returns:
|
||||
tuple: A tuple containing two lists. The first list contains the IDs of the orphaned contacts.
|
||||
tuple: A tuple containing two lists. The first list contains the IDs of the orphaned contacts.
|
||||
The second list contains any duplicate contacts found. ([Contacts], [Contacts])
|
||||
"""
|
||||
contacts_to_delete = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue