From a623b9028242ac150547fec707d5076acfc7f3d2 Mon Sep 17 00:00:00 2001 From: Andrew Bates Date: Thu, 24 Oct 2024 15:20:33 -0400 Subject: [PATCH] fix: Provided a default value for the `dry_run` keyword argument. Fixes #133 --- nautobot_design_builder/design_job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nautobot_design_builder/design_job.py b/nautobot_design_builder/design_job.py index a94e608..a32f951 100644 --- a/nautobot_design_builder/design_job.py +++ b/nautobot_design_builder/design_job.py @@ -244,7 +244,7 @@ def _setup_changeset(self, deployment_name: str): previous_change_set = instance.change_sets.order_by("-last_updated").exclude(job_result=self.job_result).first() return (change_set, previous_change_set) - def run(self, dryrun: bool, **kwargs): # pylint: disable=arguments-differ + def run(self, dryrun: bool = False, **kwargs): # pylint: disable=arguments-differ """Render the design and implement it within a build Environment object.""" try: return self._run_in_transaction(dryrun, **kwargs)