Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET_SINGLE preprocessor instance_id is Boolean instead of an Integer #539

Closed
cryarchy opened this issue May 28, 2016 · 2 comments
Closed

Comments

@cryarchy
Copy link

I'm using Flask-Restless==0.17.0 and I receive a Boolean instance_id to my GET_SINGLE preprocessors. i.e; when I visit an example URL http://localhost:5000/api/account/3 the preprocessor function:

def get_show_id(instance_id=None, **kwargs):
    print (instance_id)

prints out True. Also, all GET_SINGLE URLs point to the same single record in my database.

@jfinkels
Copy link
Owner

jfinkels commented Jun 6, 2016

Thanks for the report. Can you please provide a minimal working example demonstrating this behavior so I can determine where the issue is?

@jfinkels
Copy link
Owner

jfinkels commented Oct 6, 2016

Closing due to lack of information.

@jfinkels jfinkels closed this as completed Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants