Changeset - b1a655765784
[Not reviewed]
0 1 0
Lance Edgar (lance) - 17 months ago 2023-05-18 19:58:26
lance@edbob.org
Add mock stub to RattailConfiguration, for legacy method
1 file changed with 10 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rattail/config.py
Show inline comments
 
@@ -833,6 +833,16 @@ class RattailConfiguration:
 
        if store:
 
            return api.get_store(session, store)
 

	
 
    # TODO: use this or lose it etc.
 
    def beaker_invalidate_setting(self, name):
 
        # if not self.beaker_caching:
 
        #     return
 

	
 
        # # tell beaker to remove the cached value for this setting
 
        # self.beaker_config_cache.remove_value(key=name)
 

	
 
        pass
 

	
 

	
 
class RattailConfig(object):
 
    """
0 comments (0 inline, 0 general)