employee
is an instance of the Employee
class, and you're passing that as the second parameter to ndb.Key
. But the error message tells you exactly what's wrong: that parameter should be a string or an int, not an instance.
But, since you actually have the instance already, you don't need to construct a new Key: the employee object already has one, which you can use to delete.
employee_to_Delete = employee.key