Skip to content

Commit

Permalink
Add annotation to appease griffe.
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanderaa committed Jan 15, 2025
1 parent dac0dd2 commit b470aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pynautobot/models/ipam.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __str__(self):
return parent_record_string or str(self.prefix)

@property
def available_ips(self):
def available_ips(self) -> DetailEndpoint:
"""
Represents the ``available-ips`` detail endpoint.
Expand Down Expand Up @@ -69,7 +69,7 @@ def available_ips(self):
return DetailEndpoint(self, "available-ips", custom_return=IpAddresses)

@property
def available_prefixes(self):
def available_prefixes(self) -> DetailEndpoint:
"""
Represents the ``available-prefixes`` detail endpoint.
Expand Down

0 comments on commit b470aa1

Please sign in to comment.