Skip to content

Commit

Permalink
chore(python): use black==22.3.0 (#209)
Browse files Browse the repository at this point in the history
Source-Link: googleapis/synthtool@6fab84a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe
  • Loading branch information
gcf-owl-bot[bot] authored Mar 28, 2022
1 parent cd20532 commit 191c2c0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion recaptcha_enterprise/snippets/annotate_assessment.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def annotate_assessment(project_id: str, assessment_id: str) -> None:
""" Pre-requisite: Create an assessment before annotating.
"""Pre-requisite: Create an assessment before annotating.
Annotate an assessment to provide feedback on the correctness of recaptcha prediction.
Args:
project_id: Google Cloud Project ID
Expand Down
2 changes: 1 addition & 1 deletion recaptcha_enterprise/snippets/create_assessment.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
def create_assessment(
project_id: str, recaptcha_site_key: str, token: str, recaptcha_action: str
) -> Assessment:
""" Create an assessment to analyze the risk of a UI action.
"""Create an assessment to analyze the risk of a UI action.
Args:
project_id: GCloud Project ID
recaptcha_site_key: Site key obtained by registering a domain/app to use recaptcha services.
Expand Down
2 changes: 1 addition & 1 deletion recaptcha_enterprise/snippets/delete_site_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def delete_site_key(project_id: str, recaptcha_site_key: str) -> None:
""" Delete the given reCAPTCHA site key present under the project ID.
"""Delete the given reCAPTCHA site key present under the project ID.
Args:
project_id : GCloud Project ID.
Expand Down
2 changes: 1 addition & 1 deletion recaptcha_enterprise/snippets/get_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def get_metrics(project_id: str, recaptcha_site_key: str) -> None:
""" Get metrics specific to a recaptcha site key.
"""Get metrics specific to a recaptcha site key.
E.g: score bucket count for a key or number of
times the checkbox key failed/ passed etc.,
Args:
Expand Down
2 changes: 1 addition & 1 deletion recaptcha_enterprise/snippets/list_site_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


def list_site_keys(project_id: str) -> ListKeysPager:
""" List all keys present under the given project ID.
"""List all keys present under the given project ID.
Args:
project_id: GCloud Project ID.
Expand Down
2 changes: 1 addition & 1 deletion recaptcha_enterprise/snippets/migrate_site_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


def migrate_site_key(project_id: str, recaptcha_site_key: str) -> None:
""" Migrate a key from reCAPTCHA (non-Enterprise) to reCAPTCHA Enterprise.
"""Migrate a key from reCAPTCHA (non-Enterprise) to reCAPTCHA Enterprise.
If you created the key using Admin console: https://www.google.com/recaptcha/admin/site,
then use this API to migrate to reCAPTCHA Enterprise.
For more info, see: https://cloud.google.com/recaptcha-enterprise/docs/migrate-recaptcha
Expand Down

0 comments on commit 191c2c0

Please sign in to comment.