environment (1)
template¶
template(self, template: str | os.PathLike[str]) -> bool
Check whether given template path exists.
DocStrings
Parameters:
Name | Type | Description | Default |
---|---|---|---|
template
|
str | PathLike[str]
|
The template path to check |
required |
Returns:
Type | Description |
---|---|
bool
|
True if the template exists, False otherwise. |
Source code in src/jinjarope/environment.py
126 127 128 129 130 131 132 133 134 135 |
|