Created
March 14, 2022 03:14
-
-
Save cassioeskelsen/d85bdbaf5f3084320e2e1dd69c4aa865 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| async def main() -> dict: | |
| async with redis.client() as conn: | |
| keys = await conn.keys("votos_*") | |
| for key in keys: | |
| if key != 'votos_bd': | |
| print("Votos de " + key.split("_")[1] + " - " + await conn.get(key)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment