Skip to content

Conversation

@jdrew82
Copy link
Contributor

@jdrew82 jdrew82 commented Oct 8, 2025

This PR adds some pieces required for enabling future capabilities in the Nautobot SSoT App. Mainly this has the keyword arguments that are passed when initializing an Adapter recorded in the _meta_kwargs attribute. A side-effect of this was that setting a default dict_type for OrderedDefaultDict was required for the deepcopy operation.

@jdrew82 jdrew82 self-assigned this Oct 8, 2025
@jdrew82 jdrew82 requested a review from glennmatthews as a code owner October 8, 2025 18:02
"""Document keyword arguments that were used to initialize Adapter."""
meta_kwargs = deepcopy(kwargs)
instance = super().__new__(cls)
instance._meta_kwargs = meta_kwargs
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anything we can/should document about this enhancement?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, can't hurt to have it mentioned but I'm not sure where would be a good place.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What motivated regenerating the lock file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the dependabot PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants