uranusjr commented on code in PR #37757:
URL: https://github.com/apache/airflow/pull/37757#discussion_r1547076978


##########
airflow/models/abstractoperator.py:
##########
@@ -492,7 +492,7 @@ def get_extra_links(self, ti: TaskInstance, link_name: str) 
-> str | None:
             return link.get_link(self.unmap(None), ti.dag_run.logical_date)  # 
type: ignore[misc]
         return link.get_link(self.unmap(None), ti_key=ti.key)
 
-    @cache
+    @methodtools.lru_cache(maxsize=None)

Review Comment:
   I wonder if methodtools should also have a cache shorthand… that’s a 
separate issue I guess.



-- 
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