mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 15:23:01 +08:00
Fixing Lint after flake upgrade (#1162)
* Fixing Lint after flake upgrade * more lint fixes
This commit is contained in:
committed by
Robert Nishihara
parent
6da7761d5d
commit
797f4fcbf3
@@ -33,7 +33,7 @@ def check_serializable(cls):
|
||||
.format(cls))
|
||||
try:
|
||||
obj = cls.__new__(cls)
|
||||
except:
|
||||
except Exception:
|
||||
raise RayNotDictionarySerializable("The class {} has overridden "
|
||||
"'__new__', so Ray may not be able "
|
||||
"to serialize it efficiently."
|
||||
|
||||
Reference in New Issue
Block a user