Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
Searching yaml files in sys.path.
Return the dict like:
    {'yourfilename' : '/absolute/path/to/your/yourfilename.yaml'
     ...
     ...
    }

        def yamls_files():
    """
    Searching yaml files in sys.path.
    Return the dict like:
        {'yourfilename' : '/absolute/path/to/your/yourfilename.yaml'
         ...
         ...
        }
    """
    yaml_list = {}
    for cur_path in sys.path:
        walk(cur_path, find_yaml, yaml_list)

    logging.info("obtained yaml files %r" % (yaml_list,))
    return yaml_list
        


src/h/o/hopak-0.5.1/hopak/models.py   hopak(Download)
from .registry import Registry
from .exceptions import *
from .utils import rel, yamls_files, file_resolve
from .ds import get_datasource
 
from jinja2 import Environment, PackageLoader
 
yamlsfiles = yamls_files()

src/h/o/hopak-HEAD/hopak/models.py   hopak(Download)
from .registry import Registry
from .exceptions import *
from .utils import rel, yamls_files, file_resolve
from .ds import get_datasource
 
from jinja2 import Environment, PackageLoader
 
yamlsfiles = yamls_files()