Functions
extract
4
Any
▼
Babel extraction method for Kida templates.
Yields ``(lineno, function, messag…
extract
4
Any
▼
def extract(fileobj: IO[bytes], keywords: list[str], comment_tags: list[str], options: dict[str, Any]) -> Any
Babel extraction method for Kida templates.
Yields(lineno, function, message, comments)tuples compatible
with the Babel extraction interface.
Parameters
| Name | Type | Description |
|---|---|---|
fileobj |
IO[bytes] |
|
keywords |
list[str] |
|
comment_tags |
list[str] |
|
options |
dict[str, Any] |
Returns
Any