Calling datetime function from data.py file

Please find the attached image. I am trying to call to call a function which is in data.py file through custom script but while accessing the issue doctype it is saying “The resource you are looking for is not available”.
We are just trying to see whether the function is getting called or not by passing alert command.
Custom script code is:
frappe.call({
method: “frappe.frappe.utils.data.bion_date”,
callback: function(r) {
// code snippet
alert(“hi”);
}
});
data.py file is attached and error msg is The resource you are looking for is not available"