Skip to content

Commit

Permalink
Formatting fixed *again* disabled my autopep8 extension which was cau…
Browse files Browse the repository at this point in the history
…sing issues
  • Loading branch information
keithcampbelljr committed Feb 8, 2024
1 parent e907252 commit ffae557
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions panos/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,12 @@ def _setup(self):
VersionedParamPath("source_port", path="protocol/{protocol}/source-port")
)
params.append(
VersionedParamPath("destination_port",path="protocol/{protocol}/port")
VersionedParamPath("destination_port", path="protocol/{protocol}/port")
)
params.append(VersionedParamPath("description", path="description"))
params.append(VersionedParamPath("tag", path="tag", vartype="member"))
params.append(
VersionedParamPath("enable_override_timeout",default="no", exclude=True)
VersionedParamPath("enable_override_timeout", default="no", exclude=True)
)
params[-1].add_profile(
"8.1.0",
Expand Down Expand Up @@ -422,16 +422,16 @@ def _setup(self):
)
)
params.append(VersionedParamPath("parent_app", path="parent-app"))
params.append(VersionedParamPath(
"timeout", path="timeout", vartype="int"))
params.append(VersionedParamPath("timeout", path="timeout", vartype="int"))
params.append(
VersionedParamPath("tcp_timeout", path="tcp-timeout", vartype="int")
)
params.append(
VersionedParamPath("udp_timeout", path="udp-timeout", vartype="int")
)
params.append(
VersionedParamPath("tcp_half_closed_timeout", path="tcp-half-closed-timeout", vartype="int"
VersionedParamPath(
"tcp_half_closed_timeout", path="tcp-half-closed-timeout", vartype="int"
)
)
params.append(
Expand Down Expand Up @@ -637,7 +637,9 @@ def _setup(self):
)
params.append(VersionedParamPath("tag", path="tagging/tag", vartype="member"))

params.append(VersionedParamPath("new_appid", path="new-appid", vartype="yesno"))
params.append(
VersionedParamPath("new_appid", path="new-appid", vartype="yesno")
)

self._params = tuple(params)

Expand Down Expand Up @@ -880,7 +882,7 @@ def _setup(self):
VersionedParamPath("email_profiles", vartype="member", path="send-email")
)
params.append(
VersionedParamPath("syslog_profiles",vartype="member", path="send-syslog")
VersionedParamPath("syslog_profiles", vartype="member", path="send-syslog")
)
params.append(
VersionedParamPath("http_profiles", vartype="member", path="send-http")
Expand Down Expand Up @@ -943,7 +945,7 @@ def _setup(self):
params[-1].add_profile(
"8.1.0",
path="type/{action_type}/action",
values=["Azure-Security-Center-Integration","add-tag", "remove-tag"],
values=["Azure-Security-Center-Integration", "add-tag", "remove-tag"],
)
params.append(
VersionedParamPath(
Expand Down

0 comments on commit ffae557

Please sign in to comment.