Try ERPNext Buy Support Partners Foundation

ImportError: Module Import Failed

So I tried to import my function so it can be used in another file. To import it I need to use @frappe.whitelist and at the top from other file I tried to import with <path>.<to>.<function> import <name function>. But It always says ImportError: Module Import Failed <Name Doctype> cannot import name <function name>. It used to work so I dont know what’s wrong

please share the snap where you are importing the file