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

db.fetch() returns an empty AsyncGenerator object #694

Answered by BoreasHe
BoreasHe asked this question in Help
Discussion options

You must be logged in to vote

Nvm, my bad, I solved it. It is because I haven't installed deta package in the project but somehow the deployed micro partially worked so I guess maybe there is an outdated version of deta somewhere in the cloud?

As per doc:

NOTE
If you are using the Deta SDK within a Deta Micro, you must include deta in your dependencies file (package.json or requirements.txt) to install the latest sdk version.

I feel like it is kinda confusing since something worked as expected but some other random functions did not. So it was hard to troubleshoot the problem. Is this design intentional?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BoreasHe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant