Skip to content

Commit

Permalink
feat: no caching for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jangruenwaldt committed Jul 19, 2023
1 parent 9e32b84 commit 9516ef9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ def _fetch_workflows(self):

def fetch_data(self):
workflows = self._fetch_workflows()
DataManager.store_raw_api_data(DataTypes.AUTOMATION_DATA, DataSources.GITHUB, self.owner, self.repo_name,
workflows)
# No caching here, as workflows can not be cached since they might always have changed

automation_data = self._transform_api_response_to_data_format(self.enable_logs, workflows)
DataManager.store_twin_data(DataTypes.AUTOMATION_DATA, self.owner, self.repo_name, automation_data)
Expand Down

0 comments on commit 9516ef9

Please sign in to comment.