Skip to content

Commit 5dfa973

Browse files
authored
feat(rdb): deprecate ACLRule port (#57)
1 parent 84fd838 commit 5dfa973

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

scaleway-async/scaleway_async/rdb/v1/types.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,10 @@ def __str__(self) -> str:
250250
class ACLRule:
251251
ip: str
252252

253-
port: int
253+
port: Optional[int]
254+
"""
255+
:deprecated
256+
"""
254257

255258
protocol: ACLRuleProtocol
256259

scaleway/scaleway/rdb/v1/types.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,10 @@ def __str__(self) -> str:
250250
class ACLRule:
251251
ip: str
252252

253-
port: int
253+
port: Optional[int]
254+
"""
255+
:deprecated
256+
"""
254257

255258
protocol: ACLRuleProtocol
256259

0 commit comments

Comments
 (0)