Conversation
Fix type of argument `module` in `load_module` in `dill/session.py`
|
This is interesting. If I remember right, I had at some point set the type hint to Does this affect type checking with some tool, e.g. |
|
Yes, that affects type checking with |
mmckerns
left a comment
There was a problem hiding this comment.
Please respond to the question from the reviewer. Otherwise LGTM.
|
Same issue with dump_module. But no problems with load_module_asdict.
…On Sun, 7 Aug 2022, 7:08 pm Mike McKerns, ***@***.***> wrote:
@victorcwai <https://github.com/victorcwai>: Do you experience the same
issue with dump_module:
https://github.com/uqfoundation/dill/blob/f196e3c9cbbba3326064c09760f7129df7f3de4d/dill/session.py#L132
and in load_module_asdict:
https://github.com/uqfoundation/dill/blob/f196e3c9cbbba3326064c09760f7129df7f3de4d/dill/session.py#L494
?
—
Reply to this email directly, view it on GitHub
<#535 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACHZQIL7WUWKX2AMC2NPLCDVX7USFANCNFSM55ZK54FA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Ok, makes sense. Thanks. |
|
Shall we merge this? :) |
There was a problem hiding this comment.
Please make a similar change to
Line 132 in f196e3c
|
I just went ahead and made the changes requested, then merged. |
Fix type of argument
moduleinload_moduleindill/session.py