Skip to content

Commit

Permalink
Fix or ignore some pytype errors.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 497616049
  • Loading branch information
yilei authored and copybara-github committed Dec 25, 2022
1 parent 667d763 commit a5c70fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forwarders/schema_utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def get_schema(self) -> Dict[str, Any]:
except FileNotFoundError as e: # pylint: disable=broad-except
click.echo("Failed with exception:" + str(e))

return detailed_schema
return detailed_schema # pytype: disable=name-error # py310-upgrade

def validate_syslog_udp_settings(self, field_schema: Dict[str, Any],
request_body) -> bool:
Expand Down

0 comments on commit a5c70fe

Please sign in to comment.