jx2lee commented on issue #46356: URL: https://github.com/apache/airflow/issues/46356#issuecomment-2631083343
It seems better to add a check before calling initialize. - If we expect to add more instance methods, consider moving self.repo to the constructor and using a decorator to check attribute (throw an exception). - Otherwise, add an return early in the affected methods (`refresh` and `get_current_version`, right?) to check the attribute before proceeding. -- 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]
