aaron-y-chen commented on code in PR #73357:
URL: https://github.com/apache/airflow/pull/73357#discussion_r4056280504


##########
ts-sdk/src/coordinator/client.ts:
##########
@@ -25,12 +25,18 @@ import type { ConnectionResult, GetXComOpts, JsonValue, 
SetXComOpts } from "../s
 import { ConnectionNotFoundError, VariableNotFoundError } from 
"../sdk/client.js";
 import type {
   GetVariable,
+  PutVariable,
+  DeleteVariable,
   GetXCom,
   SetXCom,
   GetConnection,
   ConnectionResult as WireConnectionResult,
 } from "./protocol.js";
 
+/** What a supervisor "row is absent" error means for an operation: only a 
lookup
+ *  can return `null`; for a `void` call a swallowed error would read as 
success. */
+type AbsentRow = "null" | "throw";

Review Comment:
   Nice suggestion!



-- 
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