Skip to content

Commit f3bb071

Browse files
authored
Merge pull request #484 from opsmill/wvd-20250728-add-numberpool-support-to-protocols
add support for NumerPool attributes to protocols
2 parents 16da1ba + 936522d commit f3bb071

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
add support for NumberPool attributes in generated protocols

infrahub_sdk/protocols_generator/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"List": "ListAttribute",
2323
"JSON": "JSONAttribute",
2424
"Any": "AnyAttribute",
25+
"NumberPool": "Integer",
2526
}
2627

2728
# The order of the classes in the list determines the order of the classes in the generated code

0 commit comments

Comments
 (0)