class_docstr: Form for editing TaskInstance.
  
  Only note and state fields are editable, so everything else is read-only here.
docstr: Populate the attributes of the passed obj with data from the form's not-read-only fields.
docstr_tok: ["Populate","the","attributes","of","the","passed","obj","with","data","from","the","form","'s","not-read-only","fields","."]
code: def populate_obj(self, item):
      """Populate the attributes of the passed obj with data from the form's not-read-only fields."""
      for name, field in self._fields.items():
          if not field.flags.readonly:
              field.populate_obj(item, name)
  
imports: from __future__ import annotations
  import datetime
  import json
  import operator
  from typing import Iterator
  import pendulum
  from flask_appbuilder.fieldwidgets import BS3PasswordFieldWidget, BS3TextAreaFieldWidget, BS3TextFieldWidget, Select2Widget
  from flask_appbuilder.forms import DynamicForm
  from flask_babel import lazy_gettext
  from flask_wtf import FlaskForm
  from wtforms import widgets
  from wtforms.fields import Field, IntegerField, PasswordField, SelectField, StringField, TextAreaField
  from wtforms.validators import InputRequired, Optional
  from airflow.compat.functools import cache
  from airflow.configuration import conf
  from airflow.providers_manager import ProvidersManager
  from airflow.utils import timezone
  from airflow.utils.types import DagRunType
  from airflow.www.validators import ReadOnly, ValidConnID
  from airflow.www.widgets import AirflowDateTimePickerROWidget, AirflowDateTimePickerWidget, BS3TextAreaROWidget, BS3TextFieldROWidget
label_desc: Use image node_id 1 for calling the TaskInstanceEditForm obj's underlying member method code with example usage: obj.populate_obj(item) without return types