Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async Select error #16

Open
FloareDor opened this issue Aug 21, 2024 · 0 comments
Open

async Select error #16

FloareDor opened this issue Aug 21, 2024 · 0 comments

Comments

@FloareDor
Copy link

FloareDor commented Aug 21, 2024

register user

TypeError: object Select can't be used in 'await' expression

It's working if I remove await in this line:
query = await self._query(join_)

or if I change the _query function to async.

what do you suggest, lord

also, do you the code and structure are still production-ready? what do you think of a monolithic folder structure like this:

https://github.com/zhanymkanov/fastapi-best-practices

Also, I'd love to know about when to use Transactional and Propogation new

@FloareDor FloareDor changed the title make migrate error async Select error Aug 21, 2024
@FloareDor FloareDor reopened this Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant