def __init__()

in aidial_assistant/utils/yaml_loader.py [0:0]


    def __init__(self, stream: IO) -> None:
        """Initialise Loader."""

        try:
            self.root = os.path.split(stream.name)[0]
        except AttributeError:
            self.root = os.path.curdir

        super().__init__(stream)