def METHOD_NAME(self, default_fields):
    project_field = {
        "name": "project",
        "label": "Project",
        "choices": [("1", "Project 1"), ("2", "Project 2")],
        "type": "select",
    }
    default_project = default_fields.get("project")
    if default_project is not None:
        project_field["default"] = default_project
    return project_field