-
-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The subclass of dict
is not respected on >=2024.11.0
#8932
Labels
bug
Something is broken
Comments
I am experiencing the same issue with DotMap objects, which are a dict subclass with dot-access. from distributed import Client
from dotmap import DotMap
def test_subclass(test_dict):
print(f"input type {type(test_dict)}")
print(f"get val {test_dict.a}")
return 0
def main():
with Client() as client:
print(client.submit(test_subclass, DotMap({"a": 1})).result())
if __name__ == "__main__":
main()
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue:
The subclass is not respected. I noticed the issue on subclass of
dict
, not sure if it's more general. See below for details.Minimal Complete Verifiable Example:
Anything else we need to know?:
The test code works as expected on
<2024.11.0
, which outputson
>=2024.11.0
outputsEnvironment:
2024.11.0
3.10
ubuntu 22.04
pip
The text was updated successfully, but these errors were encountered: