mirror of https://github.com/zulip/zulip.git
6ee0a979f3
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> |
||
---|---|---|
.. | ||
__init__.py | ||
gitter.py | ||
import_util.py | ||
mattermost.py | ||
rocketchat.py | ||
sequencer.py | ||
slack.py | ||
slack_message_conversion.py | ||
user_handler.py |