amoghrajesh commented on code in PR #53870:
URL: https://github.com/apache/airflow/pull/53870#discussion_r2286033194
##########
task-sdk/src/airflow/sdk/definitions/connection.py:
##########
@@ -172,3 +214,73 @@ def extra_dejson(self) -> dict:
mask_secret(extra)
return extra
+
+ def get_extra_dejson(self) -> dict:
+ """Deserialize extra property to JSON."""
+ import warnings
+
+ warnings.warn(
+ "`get_extra_dejson` is deprecated and will be removed in a future
release. ",
+ DeprecationWarning,
+ stacklevel=2,
+ )
+ return self.extra_dejson
Review Comment:
Deprecating this one in this version.
--
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]