Skip to content

Commit 191c2c0

Browse files
chore(python): use black==22.3.0 (#209)
Source-Link: googleapis/synthtool@6fab84a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe
1 parent cd20532 commit 191c2c0

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

recaptcha_enterprise/snippets/annotate_assessment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
def annotate_assessment(project_id: str, assessment_id: str) -> None:
20-
""" Pre-requisite: Create an assessment before annotating.
20+
"""Pre-requisite: Create an assessment before annotating.
2121
Annotate an assessment to provide feedback on the correctness of recaptcha prediction.
2222
Args:
2323
project_id: Google Cloud Project ID

recaptcha_enterprise/snippets/create_assessment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
def create_assessment(
2222
project_id: str, recaptcha_site_key: str, token: str, recaptcha_action: str
2323
) -> Assessment:
24-
""" Create an assessment to analyze the risk of a UI action.
24+
"""Create an assessment to analyze the risk of a UI action.
2525
Args:
2626
project_id: GCloud Project ID
2727
recaptcha_site_key: Site key obtained by registering a domain/app to use recaptcha services.

recaptcha_enterprise/snippets/delete_site_key.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
def delete_site_key(project_id: str, recaptcha_site_key: str) -> None:
20-
""" Delete the given reCAPTCHA site key present under the project ID.
20+
"""Delete the given reCAPTCHA site key present under the project ID.
2121
2222
Args:
2323
project_id : GCloud Project ID.

recaptcha_enterprise/snippets/get_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
def get_metrics(project_id: str, recaptcha_site_key: str) -> None:
20-
""" Get metrics specific to a recaptcha site key.
20+
"""Get metrics specific to a recaptcha site key.
2121
E.g: score bucket count for a key or number of
2222
times the checkbox key failed/ passed etc.,
2323
Args:

recaptcha_enterprise/snippets/list_site_keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222

2323
def list_site_keys(project_id: str) -> ListKeysPager:
24-
""" List all keys present under the given project ID.
24+
"""List all keys present under the given project ID.
2525
2626
Args:
2727
project_id: GCloud Project ID.

recaptcha_enterprise/snippets/migrate_site_key.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

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

0 commit comments

Comments
 (0)