Skip to content

Releases: RichFoley/jinjaql

v0.2.1 - Bug Fixes

11 Dec 15:57
52bc597
Compare
Choose a tag to compare
v0.2.1 - Bug Fixes Pre-release
Pre-release

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.

24 Nov 19:40
Compare
Choose a tag to compare
  1. 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,
)
  1. Fixed a bug with the factory that bypassed the engine if no key word arguments were passed.

v0.1.1 Added LRU_CACHE

17 Nov 14:40
6d85953
Compare
Choose a tag to compare
Pre-release

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.

17 Nov 03:46
Compare
Choose a tag to compare

Multiple updates, including changing the parameters for the object creation to only require a folder path.