nautobot/nautobot-app-ssot

Syncing from Cloudvision - get_devices without the import_active argument

etiennelatulippe opened this issue · 1 comments

Environment

  • Python version: 3.11
  • Nautobot version: 2.2.5
  • nautobot-ssot version: 2.6.1

What did you expect to happen?

Being able to sync from Cloudvision

What happened instead?

The job got an error using get_devices because it is called without the import_active argument.

{
"exc_message":[
"get_devices() missing 1 required argument: 'import_active'"
]
"exc_module": "builtins",
"exc_type": "TypeError"
}

https://github.com/nautobot/nautobot-app-ssot/blob/develop/nautobot_ssot/integrations/aristacv/diffsync/adapters/cloudvision.py#L72

https://github.com/nautobot/nautobot-app-ssot/blob/develop/nautobot_ssot/integrations/aristacv/utils/cloudvision.py#L256

Steps to Reproduce

  1. Go on the Cloudvision SSOT sync job
  2. Start the job
  3. Get the error

The #464 is fixing the issue. Thank you!