jason810496 commented on code in PR #76107:
URL: https://github.com/apache/airflow/pull/76107#discussion_r4431911023
##########
task-sdk/src/airflow/sdk/execution_time/context.py:
##########
@@ -169,6 +169,33 @@ def _unwrap_external_ref(stored: dict) -> str | None:
return stored.get(_EXTERNAL_STATE_REF_KEY)
+def _json_size_exceeds(value: JsonValue, limit: int) -> bool:
Review Comment:
Nit: How about making it a public function since the coordinator module
import this function as well?
```suggestion
def json_size_exceeds(value: JsonValue, limit: int) -> bool:
```
--
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]