Skip to content

Commit 936522d

Browse files
committed
add support for NumerPool attributes to protocols
1 parent 16da1ba commit 936522d

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)