Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Oct 30, 2024
1 parent 04fffa2 commit 8461c01
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions radixtarget/radixtarget.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,22 @@ def get(self, host, raise_error=False):
return self.dns_tree.search(host, raise_error=raise_error)

def search(self, host, raise_error=False):
"""
Alias for get
"""
return self.get(host, raise_error=raise_error)

def insert(self, t, data=None):
self.add(t, data=data)
"""
Alias for add
"""
return self.add(t, data=data)

def put(self, t, data=None):
self.add(t, data=data)
"""
Alias for add
"""
return self.add(t, data=data)

def add(self, t, data=None):
"""
Expand Down

0 comments on commit 8461c01

Please sign in to comment.