File tree Expand file tree Collapse file tree
openstackclient/network/v2/fwaas Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414# under the License.
1515
1616import logging
17- import typing
17+ from typing import Any
1818
1919from cliff import columns as cliff_columns
2020from osc_lib .cli import identity as identity_utils
@@ -398,7 +398,7 @@ def get_parser(self, prog_name):
398398 return parser
399399
400400 def _get_attrs (self , client , parsed_args ):
401- attrs : dict [str , typing . Any ] = {}
401+ attrs : dict [str , Any ] = {}
402402 if parsed_args .ingress_firewall_policy :
403403 attrs ['ingress_firewall_policy_id' ] = None
404404 if parsed_args .egress_firewall_policy :
Original file line number Diff line number Diff line change 1212# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1313# License for the specific language governing permissions and limitations
1414# under the License.
15- #
1615
1716import logging
18- import typing
17+ from typing import Any
1918
2019from osc_lib .cli import identity as identity_utils
2120from osc_lib import exceptions
@@ -456,7 +455,7 @@ def get_parser(self, prog_name):
456455 return parser
457456
458457 def _get_attrs (self , client_manager , parsed_args ):
459- attrs : dict [str , typing . Any ] = {}
458+ attrs : dict [str , Any ] = {}
460459 client = client_manager .network
461460
462461 if parsed_args .firewall_rule :
Original file line number Diff line number Diff line change 1212# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1313# License for the specific language governing permissions and limitations
1414# under the License.
15- #
15+
1616import logging
17- import typing
17+ from typing import Any
1818
1919from cliff import columns as cliff_columns
2020from osc_lib .cli import identity as identity_utils
@@ -505,7 +505,7 @@ def get_parser(self, prog_name):
505505 return parser
506506
507507 def _get_attrs (self , client_manager , parsed_args ):
508- attrs : dict [str , typing . Any ] = {}
508+ attrs : dict [str , Any ] = {}
509509 if parsed_args .source_ip_address :
510510 attrs ['source_ip_address' ] = None
511511 if parsed_args .source_port :
You can’t perform that action at this time.
0 commit comments