PypeModule is python 2 compatible

This commit is contained in:
iLLiCiTiT 2020-12-10 09:55:45 +01:00
parent 40bf307454
commit aefe8f3b72

View file

@ -1,11 +1,14 @@
# -*- coding: utf-8 -*-
"""Base class for Pype Modules."""
from uuid import uuid4
from abc import ABC, abstractmethod
from pype.api import Logger
from abc import ABCMeta, abstractmethod
import six
class PypeModule(ABC):
@six.add_metaclass(ABCMeta)
class PypeModule:
"""Base class of pype module.
Attributes: