Run black on template.py
This commit is contained in:
parent
cbbeae57bd
commit
416729dddc
@ -887,7 +887,9 @@ class DocxTemplate(object):
|
||||
self.is_saved = True
|
||||
|
||||
def get_undeclared_template_variables(
|
||||
self, jinja_env: Optional[Environment] = None, context: Optional[Dict[str, Any]] = None
|
||||
self,
|
||||
jinja_env: Optional[Environment] = None,
|
||||
context: Optional[Dict[str, Any]] = None,
|
||||
) -> Set[str]:
|
||||
# Create a temporary document to analyze the template without affecting the current state
|
||||
temp_doc = Document(self.template_file)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user