Use __class__ when comparing meta data#6981
Conversation
dbc6557 to
6473005
Compare
|
I am a little out of my depth here, so can I just ask what are the differences between this and other options:
|
|
I guess |
|
Exactly, |
|
Thanks for unpacking that here. Seems like a reasonable change. I think it's good to have this written down here in case anyone needs to refer back to it. Just to check my understanding does that mean |
Not exactly, in the case of |
|
Ok thanks! Also thanks for the comments, I think that is really helpful. |
In order to support object wrappers/proxies like rapidsai/dask-cuda#451 and
weakref.proxy, this PR implements type checking throughx.__class__instead oftype(x).black dask/flake8 dask