fdi.dataset.copyable 源代码

# -*- coding: utf-8 -*-
from copy import deepcopy
import logging

logger = logging.getLogger(__name__)


[文档]class Copyable(): """ Interface for objects that can make a copy of themselves. """
[文档] def __init__(self, **kwds): """ Parameters ---------- Returns ------- """ super().__init__(**kwds)
[文档] def copy(self): """ Makes a deep copy of itself. Parameters ---------- Returns ------- """ return deepcopy(self)