We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From the line
arr = self.mock_db.collection('players').stream()
I expected a return type of Iterable[DocumentSnapshot] but instead got
Iterable[DocumentSnapshot]
<generator object CollectionReference.stream at 0x106a1d890>
def setUp(self) -> None: self.mock_db = MockFirestore() self.mock_db.collection('players').add({ 'name': 'John Doe', 'id': 'johndoe', }) self.mock_db.collection('players').add({ 'name': 'Jane Doe', 'id': 'johndoe', })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
From the line
I expected a return type of
Iterable[DocumentSnapshot]
but instead gotMy setup code:
Screenshot of Pycharm's documentation
The text was updated successfully, but these errors were encountered: