Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
docs(samples): removed assessment name in create_assessment sample (#147
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Sita04 committed Nov 3, 2021
1 parent be3e506 commit f11134d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions samples/snippets/create_assessment.py
Expand Up @@ -27,10 +27,6 @@ def create_assessment(
recaptcha_action: Action name corresponding to the token.
"""

# TODO(developer): Replace these variables before running the sample.
# Specify a name for this assessment.
assessment_name = "assessment_name"

client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()

# Set the properties of the event to be tracked.
Expand All @@ -40,7 +36,6 @@ def create_assessment(

assessment = recaptchaenterprise_v1.Assessment()
assessment.event = event
assessment.name = assessment_name

project_name = f"projects/{project_id}"

Expand Down

0 comments on commit f11134d

Please sign in to comment.