Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
.pydevproject
.idea
aos_api_client.egg-info
apstra_api_python.egg-info
build
dist
*/.pytest_cache
Expand Down
4 changes: 2 additions & 2 deletions aos/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def find_system_with_ip(self, ip_addr: str) -> Optional[System]:
for system in self.iter_all():
if system.facts["mgmt_ipaddr"] == ip_addr:
return system
return NullSystem
return NullSystem

def delete(self, agent_uuid: str) -> None:
self.rest.delete(f"/api/system-agents/{agent_uuid}")
Expand Down Expand Up @@ -220,7 +220,7 @@ def find_agent_with_ip(self, ip_addr: str) -> Optional[SystemAgent]:
for agent in self.iter_all():
if agent.management_ip == ip_addr:
return agent
return NullSystemAgent
return NullSystemAgent

def get_packages(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

NAME = "apstra-api-python"

VERSION = '0.1.19'
VERSION = '0.1.20'


REQUIRES = (["requests==2.24.0"],)
Expand Down