Skip to content

Commit c6ab1e1

Browse files
authored
docs(samples): removed assessment name in create_assessment sample (#147)
1 parent 13525e0 commit c6ab1e1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

recaptcha_enterprise/snippets/create_assessment.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ def create_assessment(
2727
recaptcha_action: Action name corresponding to the token.
2828
"""
2929

30-
# TODO(developer): Replace these variables before running the sample.
31-
# Specify a name for this assessment.
32-
assessment_name = "assessment_name"
33-
3430
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
3531

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

4137
assessment = recaptchaenterprise_v1.Assessment()
4238
assessment.event = event
43-
assessment.name = assessment_name
4439

4540
project_name = f"projects/{project_id}"
4641

0 commit comments

Comments
 (0)