Skip to content

Commit d4bcc69

Browse files
tidy up
1 parent ffd743d commit d4bcc69

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

linode_api4/objects/networking.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ class FirewallSettingsDefaultFirewallIDs(JSONObject):
197197
when creating various interface types.
198198
"""
199199

200-
vpc_interface: int = 0
201-
public_interface: int = 0
202-
linode: int = 0
203-
nodebalancer: int = 0
200+
vpc_interface: Optional[int] = None
201+
public_interface: Optional[int] = None
202+
linode: Optional[int] = None
203+
nodebalancer: Optional[int] = None
204204

205205

206206
class FirewallSettings(Base):
@@ -212,9 +212,6 @@ class FirewallSettings(Base):
212212

213213
api_endpoint = "/networking/firewalls/settings"
214214

215-
# # NOTE: This isn't used but is necessary when deriving from Base
216-
# id_attributes = "default_firewall_ids"
217-
218215
properties = {
219216
"default_firewall_ids": Property(
220217
json_object=FirewallSettingsDefaultFirewallIDs,

0 commit comments

Comments
 (0)