SameDomainConditionV1

toloka.client.project.template_builder.conditions.SameDomainConditionV1 | Source code

SameDomainConditionV1(
self,
data: Optional[Any] = None,
original: Optional[Any] = None,
*,
hint: Optional[Any] = None,
version: Optional[str] = '1.0.0'
)

Checks that domains in two URLs are the same.

For more information, see condition.same-domain.

Parameters description

ParametersTypeDescription
dataOptional[Any]

The first URL. If it is not specified, then the value returned by the parent component is used.

originalOptional[Any]

The second URL.

hintOptional[Any]

A hint that is shown if the condition is not met.

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming