Created
February 11, 2021 12:07
-
-
Save AlexMikhalev/a0617610085cd7319b44fa521ec6890d to your computer and use it in GitHub Desktop.
RedisGears.py
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
gb = GB('KeysReader') | |
gb.filter(filter_language) | |
gb.flatmap(parse_paragraphs) | |
gb.map(spellcheck_sentences) | |
gb.foreach(save_sentences) | |
gb.count() | |
gb.register('paragraphs:*',keyTypes=['string','hash'], mode="async_local") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment