@staticmethod
def _from_db_object(magnum_service, db_magnum_service):
    """Converts a database entity to a formal object."""
    for field in magnum_service.fields:
        magnum_service[field] = db_magnum_service[field]
    magnum_service.obj_reset_changes()
    return magnum_service
