From 201e684a465ed37992476f613692a5d8b9de6b02 Mon Sep 17 00:00:00 2001 From: Justin Pettit <47164813+jmpettit@users.noreply.github.com> Date: Thu, 21 Mar 2024 09:55:20 -0500 Subject: [PATCH] Fix Linting issues --- nornir_nautobot/utils/helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nornir_nautobot/utils/helpers.py b/nornir_nautobot/utils/helpers.py index ea2df8e..168a964 100644 --- a/nornir_nautobot/utils/helpers.py +++ b/nornir_nautobot/utils/helpers.py @@ -33,6 +33,7 @@ def import_string(dotted_path): except (ModuleNotFoundError, AttributeError): return None + def get_stack_trace(exc: Exception) -> str: """Generate and format a stack trace string for a given Jinja exception.""" stack_trace_lines = traceback.format_exception(type(exc), exc, exc.__traceback__)