Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a Cache decorator for any kind of dictionary #99
What about creating a configuration parameter that would allows to wrap the dictionary inside a
The config would looks like:
dictionaries: my_dictionary: type: key_value content: - foo: 'BAR' - bar: 'BAZ' cache: true
By default this parameter would be set to true, but when activated, it put the compiled content of the dictionary in the application cache.
This is probably pointless with the example above but could make sense with combine or callable dictionaries.