diff --git a/changelog/+add_numberpool_support_protocols.added.md b/changelog/+add_numberpool_support_protocols.added.md new file mode 100644 index 00000000..aef27a24 --- /dev/null +++ b/changelog/+add_numberpool_support_protocols.added.md @@ -0,0 +1 @@ +add support for NumberPool attributes in generated protocols diff --git a/infrahub_sdk/protocols_generator/constants.py b/infrahub_sdk/protocols_generator/constants.py index d0bdb076..63c3dbb6 100644 --- a/infrahub_sdk/protocols_generator/constants.py +++ b/infrahub_sdk/protocols_generator/constants.py @@ -22,6 +22,7 @@ "List": "ListAttribute", "JSON": "JSONAttribute", "Any": "AnyAttribute", + "NumberPool": "Integer", } # The order of the classes in the list determines the order of the classes in the generated code