Skip to content

Commit

Permalink
Remove circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed Dec 20, 2023
1 parent 249e98c commit 6d39008
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/accounts/models/hosting.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

# import apps.greencheck.models as gc_models

from .provider_request import ProviderRequest

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -491,7 +490,7 @@ def active_asns(self) -> models.QuerySet["GreencheckASN"]:
"""
return self.greencheckasn_set.filter(active=True)

def last_approved_verification_req(self) -> ProviderRequest:
def last_approved_verification_req(self) -> "ProviderRequest":
return (
self.providerrequest_set.filter(status="Approved")
.order_by("-modified")
Expand Down

0 comments on commit 6d39008

Please sign in to comment.