mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 17:07:32 +08:00
Remove six and cloudpickle from setup.py. (#7694)
This commit is contained in:
+1
-2
@@ -1,7 +1,6 @@
|
||||
import copy
|
||||
import inspect
|
||||
import logging
|
||||
import six
|
||||
import weakref
|
||||
|
||||
from abc import ABCMeta, abstractmethod
|
||||
@@ -963,7 +962,7 @@ Checkpoint = namedtuple(
|
||||
"""A namedtuple that represents a checkpoint."""
|
||||
|
||||
|
||||
class Checkpointable(six.with_metaclass(ABCMeta, object)):
|
||||
class Checkpointable(metaclass=ABCMeta):
|
||||
"""An interface that indicates an actor can be checkpointed."""
|
||||
|
||||
@abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user