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

docs(samples): removed assessment name in create_assessment sample #147

Merged
merged 1 commit into from Nov 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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