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 | Type | Description |
---|---|---|
data | Optional[Any] | The first URL. If it is not specified, then the value returned by the parent component is used. |
original | Optional[Any] | The second URL. |
hint | Optional[Any] | A hint that is shown if the condition is not met. |
Last updated: August 28, 2023