Skip to content

Commit

Permalink
Merge pull request #203 from nautobot/issue-133
Browse files Browse the repository at this point in the history
fix: Provided a default value for the `dry_run` keyword argument.
  • Loading branch information
abates authored Oct 24, 2024
2 parents 0adbc0c + a623b90 commit 9d0a94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautobot_design_builder/design_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9d0a94b

Please sign in to comment.