Git Product home page Git Product logo

Comments (3)

Losik avatar Losik commented on May 25, 2024

Hello Fedor,
It looks like a problem with deserialization. To know what exactly went wrong we'll need have a look at the original response. We have strong policies about accessing the user data so you'll need to:

  • Either explicitly give me ([email protected]) the read access to your requester through your profile settings
  • Or attach the result of toloka_client._search_request('get', '/v1/pools', PoolSearchRequest(status=[toloka.pool.Pool.Status.OPEN]), None, None) call.

Personally, I think the second option is easier. But either way is OK with me

JFYI
Tip1. We added some syntaxic sugar that allows for an alternative shorter syntax for find_pools invocation toloka_client.find_pools(status='OPEN'). For more information have a look at our documentation

Tip2 find_pools is a low-level method that returns a PoolSearchResult object which contains up to limit pools in its items attribute and a flag has_more that indicates if there are more than limit pools in your search request. If you want to traverse all pools that match your request you can use a get_pools method with similar signature that returns a generator over all pools that fullfil your criteria

from toloka-kit.

DrhF avatar DrhF commented on May 25, 2024

Hey @Femmpitch!
Please confirm your issue was resolved or provide information needed for the issue to be resolved. Otherwise I close this issue within 7 days.

from toloka-kit.

DrhF avatar DrhF commented on May 25, 2024

Close issue as there were no response.

from toloka-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.