def serialize_org_setting(row) -> dict: return { "key": row.setting_key, "value": row.setting_value, "category": row.category, "updated_at": row.updated_at.isoformat() if row.updated_at else None, } def serialize_exclude_university(row) -> dict: return { "id": str(row.id) if row.id else None, "name": row.name, "created_at": row.created_at.isoformat() if row.created_at else None, "updated_at": row.updated_at.isoformat() if row.updated_at else None, } def serialize_exclude_company(row) -> dict: return { "id": str(row.id) if row.id else None, "name": row.name, "linkedin_url": row.linkedin_url, "created_at": row.created_at.isoformat() if row.created_at else None, "updated_at": row.updated_at.isoformat() if row.updated_at else None, }