klen / klen/mixer

mixer.Select doesn't select already exists User from the DB

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
953
Forks
91
PR merge metrics
No merged PRs in 30d

Description

Following the documentation [mixer.SELECT](https://mixer.readthedocs.io/en/latest/api.html#select-a-relation-from-database) will choose from an already exists instance of a model. But I'm having an error. mixer.SELECT create users instead of selecting users in the DB.

![image](https://cloud.githubusercontent.com/assets/4588993/26236652/76068814-3c3f-11e7-8bc5-b7b50a9f6f01.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the mixer.SELECT API documentation and the database-selection path it describes; the issue provides no source file or test to target. Reproduce the reported case and consider the work done when an existing User is selected instead of a new User being created.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.