psycopg2.ProgrammingError: can't adapt type 'hr.employee'
contract_data = {
'name': name,
'job_id': job_id,
'employee_id': hr_employee_id.id,
'type_id': 1,
'struct_id': 1,
'date_start': date_joined,
'wage': 0.0,
'schedule_pay':'monthly'
}