Seth Teichman

Results 14 comments of Seth Teichman

The way that I do this is through the use of the Flask `session` to store a User's ID, which I ensure is set through a `@login_required` decorator that redirects...

What are your thoughts on `blank_none` defaulting to `False` to keep things backwards compatible? Additionally, a variable in current_app.config could be set by end-users to override this default globally in...

Wanted to follow up on the above - if there aren't any further comments, I'll go ahead and implement a `blank_none` option that defaults to `False` with a variable in...

Hi! Good question - at least currently, you're able to do that using the `func` parameter - that said, adding float mins and maxes shouldn't be a big lift

Hey @Ge0rg3 just thought I should bump this, no rush though!

Currently, the best way to do this is the `func` parameter passed to the decorator, but I can see type hints being used for ensuring a value is in the...

Sorry, I misspoke - there are parameters that can be passed to the decorator, but those are to customize error handling. I meant to say the `func` parameter of `Parameter`'s...

An existing example would be in the unit tests: https://github.com/Ge0rg3/flask-parameter-validation/blob/7b994141a05a17455939fd67e6f59fe337687cea/flask_parameter_validation/test/testing_blueprints/str_blueprint.py#L74 In addition to what's shown in that example, you can return a custom error message by returning a tuple of...

Thanks for reporting this! I'll look into it when I get home :)