Comments (3)
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.
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.
Close issue as there were no response.
from toloka-kit.
Related Issues (20)
- [DOCS] HOT 1
- [BUG] type annotations for optional parameters
- [FEATURE] pipeline support on windows
- [BUG] Can't get pool which has specified 'experimental group' parameter in audience filter settings HOT 3
- [FEATURE] Add support of cattr 22.2.0 HOT 3
- [BUG] TypeError: __init__() got an unexpected keyword argument 'verified' HOT 1
- [BUG] Impossible to get a pool with filter that contains a subfilter with null value HOT 1
- [BUG] ValidationApiError in collab example for SANDBOX HOT 3
- [BUG] Error with certificates on the new version
- Connecting to Я.Задания HOT 1
- "UnboundLocalError: local variable 'start_soon' referenced before assignment" in pipeline.py HOT 2
- PoolCompletedPercentage metric raises an error for closed pools HOT 1
- Improvement 6.streaming_pipelines example HOT 2
- Tasks creation progress bar HOT 2
- Hook for automatic stubs and documentation re-generation
- TypeError: __init__() got an unexpected keyword argument 'allowed_methods' in v 0.1.23 HOT 2
- [Feature]: Add parameter 'infinite_overlap': True for control tasks HOT 1
- Make optional dependencies HOT 2
- [Question] Pool type HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toloka-kit.