Skip to content

Commit

Permalink
Fix caching cache tags
Browse files Browse the repository at this point in the history
  • Loading branch information
danpaulson committed Dec 30, 2023
1 parent 2e2803c commit d007bea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion downstream_cache/mixins/downstream_cache_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@


class DownstreamCacheMixin:
cache_tags = []
cache_tags = None
max_age = None

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.cache_tags = []
self.max_age = None

def add_cache_tags(self, tags: Optional[Union[str, List[str]]] = None):
"""
Args:
Expand Down

0 comments on commit d007bea

Please sign in to comment.