Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mix expandables fields #98

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

obedouet
Copy link
Contributor

@obedouet obedouet commented Apr 8, 2024

Hello
Got an issue with some devices templates with mixed interfaces, some with name_template others with only 'name'. Seams the code forbid such declaration :
device_types.py:L53:raise ValueError(f"Mix of plain and template keys provided for {templateable_fields}")

but I tested removing the error condition and did not get any issue when loading initializers into Netbox.

Is it a deprecated test ? If yes, could we remove it ?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant