Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkala committed Sep 19, 2024
1 parent ec03284 commit a9968d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nornir_nautobot/plugins/inventory/nautobot.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def devices(self) -> list:
if self._devices is None:
# Check for filters. Cannot pass an empty dictionary to the filter method
if self.filter_parameters is None:
# Do to https://github.com/nautobot/pynautobot/issues/237
self._devices = self.pynautobot_obj.dcim.devices.filter(include=["config_context"])
else:
try:
Expand Down

0 comments on commit a9968d4

Please sign in to comment.