Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
This repository was archived by the owner on May 19, 2025. It is now read-only.

[BUG] TypeError: __init__() got an unexpected keyword argument 'verified' #214

@Marishka17

Description

@Marishka17

Observed behavior

The exception occurs when trying to set verified=False to the languages filter with str value.

  File "/usr/lib/python3.8/code.py", line 90, in runcode
    exec(code, self.locals)
  File "<console>", line 1, in <module>
  File "/home/maya/Documents/cvat/env/lib/python3.8/site-packages/toloka/client/primitives/operators.py", line 109, in include
    return cls(InclusionOperator.IN, *args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'verified'

Expected behavior

Explicitly specifying the verified=False parameter should not affect the creation of the filter.

Python Version

3.8

Toloka-Kit Version

1.2.0.post1

Other Packages Versions

No response

Example code

toloka.filter.Languages.in_('EN', verified=False)

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions