romsharon98 commented on code in PR #37540:
URL: https://github.com/apache/airflow/pull/37540#discussion_r1495441813


##########
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:
   Thanks for your detailed answer.
   I tried to rebuild and reset cache but still got error.
   I also notice that after rebase it all the tests succeed but I still revert 
it because I think it's not a correct change.



-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to