It is failing here # Fetch up-to-date library from remote repo if loader_id not found if loader_id is None: library_rawcontent, = _get_file_content(loader_hub_url, "/library.json") library = json.loads(library_raw_content) if loader_class not in library: raise ValueError("Loader class name not found in library")
loader_id = library[loader_class]["id"] extra_files = library[loader_class].get("extra_files", []) # Update cache with open(library_path, "w") as f: f.write(library_raw_content)