This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make _account_data_id_gen always an AbstractStreamIdGenerator to appe…
…ase mypy As get_next_txn is part of AbstractStreamIdGenerator, not AbstractStreamIdTracker. I'm not sure why we insisted in trying to type it as a Tracker vs. a Generator, and then checking that elsewhere in the codebase. The init function of AccountDataWorkerStore will always create _account_data_id_gen as either a StreamIdGenerator or a MultiWriterIdGenerator. Both of which are AbstractStreamidGenerators.
- Loading branch information
1 parent
ae14dfc
commit b2cd3b8
Showing
1 changed file
with
2 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters