crs4 / life_monitor

Workflow Sustainability Service
MIT License
4 stars 4 forks source link

Cache content in RepositoryFile.get_content? #298

Closed ilveroluca closed 10 months ago

ilveroluca commented 1 year ago

Should RepositoryFile.get_content cache content to self._content after reading on line 87?

https://github.com/crs4/life_monitor/blob/211edd0d1418fdfa440c67d6433d9e99eff61b3d/lifemonitor/api/models/repositories/files/base.py#L87

kikkomep commented 10 months ago

fixed in https://github.com/crs4/life_monitor/pull/347