Jinjaql

Latest version: v0.2.1

Safety actively analyzes 623775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.1

Updated the behavior of the engine and chase arguments that a falsey value (none, False, etc) will result in using the default mechanisms.

0.2.0

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.
python
query_factory = factory.JinJAQL(
folder_path=pathlib.Path(r'folder_path'),
engine=sql_engine,
cache=lru_cache,
)

2. Fixed a bug with the factory that bypassed the engine if no key word arguments were passed.

0.1.1

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).

0.1.0

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

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.