You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/runner/lib/provider/source/__init__.py

19 lines
446 B
Python

"""Common code for source providers."""
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import abc
import lib.types as t
from .. import (
PathProvider,
)
class SourceProvider(PathProvider):
"""Base class for source providers."""
@abc.abstractmethod
def get_paths(self, path): # type: (str) -> t.List[str]
"""Return the list of available content paths under the given path."""