Thomas Pollet
Thomas Pollet
The "type" being sent must match the collection type. I don't know why your code posts "Categorie" instead of "Category". The type defaults to the classname, it can be overriden...
There is no "type" attribute in the admin.yaml. Compare with the resource "type" in https://apilogicserver.pythonanywhere.com/admin-app/index.html#/Configuration
Hi, I haven't worked with table-valued functions before. What does the corresponding sqlalchemy model look like? It's certainly possible to expose these in the json api and swagger because it's...
It should be possible to automate this to some extent. I'll look into this next week.
API performance and stability are well tested and should be fine for most use cases. However due to the generic nature, some adjustments may have to be made for certain...
I created an example for calling a postgres TVF using safrs `jsonapi_rpc` (this only works with the latest commits from the safrs repo). https://gist.github.com/thomaxxl/f8cff63a80979b4a4da70fd835ec2b99 You could extract the TVF function...
Hi, This is by design: if you want the number of items returned you can use the length of `data[]`. You can change this behaviour by overriding `_s_count` , eg:...
Hi, In case of json encoding errors like this you can write a custom JSON encoder for flask/safrs and use that (set app.json_encoder, cfr. https://github.com/thomaxxl/safrs/blob/714708ae9b6eb5a86517c867b32caeea8d05e681/safrs/json_encoder.py#L156 ). Note that in `DEBUG`...
The default delimiter for a composite pk is "`_`", this can be overriden by setting `SAFRSBase._s_pk_delimiter` to something else (for example "`|`" ). Could you try this please? https://github.com/thomaxxl/safrs/blob/8735f737848d3713b7969c9b586f18453606d293/safrs/base.py#L118
Hello @THENNARASU , Thank you for the interest in our project. We use the free version of react-admin and the multilevel menu feature is part of the react-admin enterprise version....