You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "romsharon98 (via GitHub)" <gi...@apache.org> on 2024/02/20 10:51:27 UTC
Re: [PR] D105: Add docstring to airflow/configurations.py [airflow]
romsharon98 commented on code in PR #37540:
URL: https://github.com/apache/airflow/pull/37540#discussion_r1495615603
##########
airflow/configuration.py:
##########
@@ -1883,8 +1884,9 @@ def __getstate__(self):
]
}
- def __setstate__(self, state):
- self.__init__()
+ def __setstate__(self, state) -> None:
+ """Restore the state of the object from a dictionary representation."""
+ AirflowConfigParser.__init__(self)
Review Comment:
added an ignore because CI failed
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org