JinjaManager

mypy-boto3-builder Index / Mypy Boto3 Builder / JinjaManager

Auto-generated documentation for mypy_boto3_builder.jinja_manager module.

JinjaManager

Show source in jinja_manager.py:11

Jinja2 Environment manager.

Signature

class JinjaManager:
    ...

JinjaManager.escape_md

Show source in jinja_manager.py:31

Escape underscore characters.

Signature

@staticmethod
def escape_md(value: str) -> str:
    ...

JinjaManager.get_environment

Show source in jinja_manager.py:38

Get jinja2.Environment.

Signature

@classmethod
def get_environment(cls) -> jinja2.Environment:
    ...

JinjaManager.update_globals

Show source in jinja_manager.py:21

Update global variables in jinja2.Environment.

Arguments

  • kwargs - Globals to set.

Signature

@classmethod
def update_globals(cls, **kwargs: object) -> None:
    ...