Commit graph

3 commits

Author SHA1 Message Date
ⵄⵎⵉⵔⵓⵛ
abd7084bb2
doc(api): how to enable api openapi (formely swagger) frontend (#1773) 2023-12-13 09:57:52 +01:00
ⵄⵎⵉⵔⵓⵛ
2119761aa3
fix(api): store async postgresql pool as a fastapi state. (#1763)
* fix(api): store async postgresql pool as a fastapi state.

* fix(api): avoid circular import
2023-12-11 14:59:02 +01:00
ⵄⵎⵉⵔⵓⵛ
71c74cd658
Chore/async api one (#1708)
* Async chalice.core.tenants:tenants_exists, and propagate

* rework after review

* typofix

* fix(chalice): small fixes

* fix(api): use a global variable to store singletong...

... that will not work if several POSIX threads are serving
from the same POSIX processus.

* fix(api): pass database argument as dictionary.

ref: https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING

* chore(api): ease debugging with simple return statement.

* NOTES++

---------

Co-authored-by: Taha Yassine Kraiem <tahayk2@gmail.com>
2023-11-27 15:58:02 +01:00