At the beginning of the inventory plugin, we fetch the openapi spec from the Nautobot instance. This is a very heavy call and it takes quite a bit of time to complete. This API call is done to validate the query filters that are provided via query_filters, device_query_filters and vm_query_filters. The problem is that we do this openapi call regardless if any query filters were provided or not. We should, at the very least, move this openapi call behind a conditional, and possibly look at refactoring to make it not needed.
At the beginning of the inventory plugin, we fetch the openapi spec from the Nautobot instance. This is a very heavy call and it takes quite a bit of time to complete. This API call is done to validate the query filters that are provided via
query_filters,device_query_filtersandvm_query_filters. The problem is that we do this openapi call regardless if any query filters were provided or not. We should, at the very least, move this openapi call behind a conditional, and possibly look at refactoring to make it not needed.