Skip to content

Commit

Permalink
removed TODO columns are no longer going to be handled in the update …
Browse files Browse the repository at this point in the history
…of cache
  • Loading branch information
johnson2427 committed May 5, 2022
1 parent d24c025 commit 64833a3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ape_cache/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ def perform_block_query(self, query: BlockQuery) -> pd.DataFrame:
)

def update_cache(self, query: QueryType, result: pd.DataFrame):
# TODO: Add handling of having primary key and potentially
# updating table with certain columns
if set(result.columns) != set(query.all_fields()):
return # We do not have all the data to update the database

Expand Down

0 comments on commit 64833a3

Please sign in to comment.