potion icon indicating copy to clipboard operation
potion copied to clipboard

Flask-Potion is a RESTful API framework for Flask and SQLAlchemy, Peewee or MongoEngine

Results 51 potion issues
Sort by recently updated
recently updated
newest added

In a current project I'm working on, we need to decorate a few routes multiple times, I subclassed `Api` and changed the `add_route` method, but thought it useful that the...

How can I filter using OR on multiple attributes?

In order to use soft-deletes, I tried to used the recipe (https://potion.readthedocs.io/en/latest/recipes.html#archivingresource) but filtering resources are not working anymore. ``` from flask_potion import ModelResource, fields from flask_potion.contrib.alchemy import SQLAlchemyManager from...

I'm just trying out potion, i wanted to evaluate many to many options and found issue #26 which mentions a fix in an older version (im using 0.15.0). This however...

FieldSet does value = field.convert(value, validate=False) but Inline.convert has no parameter called validate.

Hi, I'm try to understand if there is a way to define a Route on a Resource equivalent to a filtered query. Here is an example: I've a reource `ExampleResource`...

`PrincipalsMixin` seems to support `ToOne` fields, but `ToMany` is left [unimplemented](https://github.com/biosustain/potion/blob/master/flask_potion/contrib/principals/__init__.py#L73) . I haven't found a good way to express it in `flask-principal` terms, without creating a `Need` instance for...

I believe, `fields.List` is missing on http://potion.readthedocs.io/en/latest/fields.html?highlight=fields#composite-field-types

Currently, the io `c` and `u` flags are respected when POSTing to the resource, but not included in the generation of the schema. This breaks auto-documentation and auto-generated client libraries....