zulip/zerver/data_import
Zixuan James Li 6ee0a979f3 import_util: Post-modify date fields with float values.
We construct model instances in the import tool solely for the purpose
of serializing them with the `model_to_dict` helper that returns a
dictionary. Passing `float` to these models' DateTimeField is not
accepted by the type checker. Modifying the dictionary instead avoids
this typing issue.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-08-01 13:58:12 -07:00
..
__init__.py
gitter.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
import_util.py import_util: Post-modify date fields with float values. 2022-08-01 13:58:12 -07:00
mattermost.py mattermost: Run html2text as a subprocess. 2022-06-26 17:32:59 -07:00
rocketchat.py typing: Apply trivial fixes to adjust edge cases in typing. 2022-05-30 12:03:51 -07:00
sequencer.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
slack.py python: Use a real parser for email addresses. 2022-07-29 15:47:33 -07:00
slack_message_conversion.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
user_handler.py data_import: Rename mattermost_user to user_handler. 2021-07-15 14:28:36 -07:00