class_docstr: Serializable representation of the TaskInstance ORM SqlAlchemyModel used by internal API.
class_docstr_tok: ["Serializable","representation","of","the","TaskInstance","ORM","SqlAlchemyModel","used","by","internal","API","."]
docstr: Copy common attributes from the given task.
  
  :param task: The task object to copy from
  :param pool_override: Use the pool_override instead of task's pool
docstr_tok: ["Copy","common","attributes","from","the","given","task",".",":","param","task",":","The","task","object","to","copy","from",":","param","pool_override",":","Use","the","pool_override","instead","of","task","'s","pool"]
code: def refresh_from_task(
      self, task: Operator, pool_override: str | None = None
  ) -> None:
      """
      Copy common attributes from the given task.
  
      :param task: The task object to copy from
      :param pool_override: Use the pool_override instead of task's pool
      """
      from airflow.models.taskinstance import _refresh_from_task
  
      _refresh_from_task(
          task_instance=self, task=task, pool_override=pool_override
      )
  
imports: from __future__ import annotations
  from datetime import datetime
  from typing import TYPE_CHECKING, Any, Iterable, Optional
  from pydantic import BaseModel, ConfigDict, PlainSerializer, PlainValidator
  from typing_extensions import Annotated
  from airflow.models import Operator
  from airflow.models.baseoperator import BaseOperator
  from airflow.models.taskinstance import TaskInstance
  from airflow.serialization.pydantic.dag import DagModelPydantic
  from airflow.serialization.pydantic.dag_run import DagRunPydantic
  from airflow.utils.log.logging_mixin import LoggingMixin
  from airflow.utils.net import get_hostname
  from airflow.utils.session import NEW_SESSION, provide_session
  from airflow.utils.xcom import XCOM_RETURN_KEY
label_desc: Use image node_id 13 for calling the TaskInstancePydantic obj's underlying member method code with example usage: obj.refresh_from_task(task, pool_override) without return types