def assert_not_empty_string()

in spotify_tensorflow/tfx/utils.py [0:0]


def assert_not_empty_string(arg):
    # type: (Any) -> None
    if not isinstance(arg, str):
        raise TypeError("Argument should be a string")
    if arg == "":
        raise ValueError("Argument can't be an empty string")