Absql

Latest version: v0.6.2

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

Scan your dependencies

Page 3 of 5

0.3.1

Functions are as filters. For example:

python3
from absql import Runner as r

def case_it(x):
return x.upper()

r.render_text("hello {{person | case_it}}", person="you", case_it=case_it)
'hello YOU'

0.3.0

- Adds `partial_kwargs`: a list of function kwargs to partialize. This was previously hard-coded as `engine`, but can now be set by the user.

- Updates tests and built-in functions to be SQLAlchemy 2.x-compatible.

- Moves `render_[x]` functions to a submodule.

0.2.4

clean_spacing` always adds a single space in Jinja references.

0.2.3

Files without frontmatter can start with `{`.

0.2.2

render` method of instantiated runner accepts `extra_context`

0.2.1

Handles [null type](https://yaml.org/type/null.html) in YAML constructors.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.