Skip to content

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 authored Nov 3, 2021
1 parent 13525e0 commit c6ab1e1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions recaptcha_enterprise/snippets/create_assessment.py
Original file line number Diff line number Diff line change
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 c6ab1e1

Please sign in to comment.