Skip to content

sift_py.yaml.utils

FUNCTION DESCRIPTION
try_fast_yaml_load

Try to load the YAML file using the CSafeLoader, which is faster than the pyyaml safe loader but not built into the wheel for earlier versions of python..

try_fast_yaml_load

try_fast_yaml_load(path: Path) -> Dict[Any, Any]

Try to load the YAML file using the CSafeLoader, which is faster than the pyyaml safe loader but not built into the wheel for earlier versions of python.. If the CSafeLoader is not available, use the pyyaml safe loader.