seldonian.utils.io_utils.dir_path

dir_path(path)

A utility for checking whether a path is a directory

Parameters:

path (str) – An input path that may or may not be a directory