Skip to content

Commit

Permalink
MR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Kircheneer committed Dec 18, 2024
1 parent 87f48e8 commit db31108
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from nautobot_ssot.contrib import CustomFieldAnnotation, NautobotModel
{% endif %}

class DiffsyncDevice({{ "NautobotModel" if cookiecutter.direction_of_sync == "To Nautobot" else "DiffSyncModel" }}):
"""DiffSync model for {{ cookiecutter.system_of_record }} devices."""
class DeviceSSoTModel({{ "NautobotModel" if cookiecutter.direction_of_sync == "To Nautobot" else "DiffSyncModel" }}):
"""SSoT model for {{ cookiecutter.system_of_record }} devices."""

{% if cookiecutter.direction_of_sync == "To Nautobot" %}_model = Device{% endif %}
_modelname = "device"
Expand Down

0 comments on commit db31108

Please sign in to comment.