Andrushika commented on code in PR #73464:
URL: https://github.com/apache/airflow/pull/73464#discussion_r4180564191


##########
java-sdk/sdk/src/main/kotlin/org/apache/airflow/sdk/Client.kt:
##########
@@ -65,6 +68,14 @@ class Client internal constructor(
     const val XCOM_RETURN_KEY = "return_value"
   }
 
+  /**
+   * Key-value state scoped to the current task instance.
+   *
+   * Unlike XComs, entries survive retries and later runs of the same task, so
+   * they can carry things like an external job ID across attempts.
+   */
+  @JvmField val taskStateStore: TaskStateStore = TaskStateStore(details, impl)

Review Comment:
   Rebased, and thanks for the question on `@JvmField`. TBH, I had never 
thought about this, and I didn't use it on purpose.
   Changed it to a plain `val`. Thanks for pointing it out!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to