Releases: RichFoley/jinjaql
Releases · RichFoley/jinjaql
v0.2.1 - Bug Fixes
Updated the behavior of the engine and chase arguments that a falsey value (none, False, etc) will result in using the default mechanisms.
Updated cache interface, engine bug fix.
- Changed the argument for cache from a boolean value to a method that you pass. The example below shows how you can pass in functools.lru_cache. The default behavior (no cache passed) does not change.
query_factory = factory.JinJAQL(
folder_path=pathlib.Path(r'folder_path'),
engine=sql_engine,
cache=lru_cache,
)
- Fixed a bug with the factory that bypassed the engine if no key word arguments were passed.
v0.1.1 Added LRU_CACHE
Added the option to use LRU cache on the function to return the same data if the query is the same (intended for multiple calls on the dashboard of the same data).
Updated name, changed object creation parameter.
Multiple updates, including changing the parameters for the object creation to only require a folder path.