Skip to content

Commit

Permalink
Added TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell committed Jan 26, 2024
1 parent bbffe7c commit 49458db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def put_environment(
Returns a boolean confirming if the cache was updated or not (i.e. if the environment document
was different from the one already in the cache).
"""
# TODO: can we use the environment header here instead of comparing the document?
if environment_document != self.get_environment(environment_api_key):
self._put_environment(environment_api_key, environment_document)
return True
Expand Down

0 comments on commit 49458db

Please sign in to comment.