kaxil commented on a change in pull request #15395:
URL: https://github.com/apache/airflow/pull/15395#discussion_r614414265
##########
File path: airflow/serialization/serialized_objects.py
##########
@@ -252,6 +252,14 @@ def _serialize(cls, var: Any) -> Any: # Unfortunately
there is no support for r
# pylint: enable=too-many-return-statements
+ @classmethod
+ def _serialize_and_sort(cls, var):
+ """Serialized and Sort the values in the iterator"""
Review comment:
hmm 🤔 -- we only pass an iterator no ?
Exmaple:
```python
_serialize_and_sort([2, "x"])
```
or
```python
_serialize_and_sort((2, "x"))
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]