def load_to_ufos(<EOL>file_or_path, include_instances=False, family_name=None, propagate_anchors=True<EOL>):
if hasattr(file_or_path, "<STR_LIT>"):<EOL><INDENT>font = load(file_or_path)<EOL><DEDENT>else:<EOL><INDENT>with open(file_or_path, "<STR_LIT:r>", encoding="<STR_LIT:utf-8>") as ifile:<EOL><INDENT>font = load(ifile)<EOL><DEDENT><DEDENT>logger.info("<STR_LIT>")<EOL>return to_ufos(<EOL>font,<EOL>include_instances=include_instances,<EOL>family_name=family_name,<EOL>propagate_anchors=propagate_anchors,<EOL>)<EOL>
Load an unpacked .glyphs object to UFO objects.