Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Waiting for agnostic version #117

Open
Barceloch opened this issue Apr 6, 2021 · 2 comments
Open

Waiting for agnostic version #117

Barceloch opened this issue Apr 6, 2021 · 2 comments
Labels
question Further information is requested

Comments

@Barceloch
Copy link

I look forward to agnostic turbulette to test it with mongodb/motor, I have done some personal tests but since you are going to release a version to be able to use it with all databases, I better hope.
you use fastapi in turbulette or just starlette?

@Barceloch Barceloch added the question Further information is requested label Apr 6, 2021
@gazorby
Copy link
Collaborator

gazorby commented Apr 6, 2021

Hi @Barceloch !

I'm currently working on that (on the wip/db-abstraction branch).

I didn't tested it with motor yet, but most of the heavy lifting is done. I managed to make gino loosely coupled with turbulette, in such a way that turbulette only use a generic database abstraction, that can be implemented by concrete clients (gino, motor, aioredis etc).

The idea is that new client/orm support should be possible just by implementing this generic database class.

I still have to fix tests not passing and update docs before this feature to be included in the next release.

you use fastapi in turbulette or just starlette?

For now, Starlette is the only ASGI framework supported in Turbulette.

@Barceloch
Copy link
Author

great! thanks...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants