git-importer/lib/abstract_walker.py

11 lines
256 B
Python
Raw Normal View History

from abc import ABC, abstractmethod
class AbstractWalker(ABC):
"""Just a duck type, most likely not needed by python, but I
find interface classes preferable (java school)"""
@abstractmethod
def call(self, node, is_source):
pass