diff --git a/docassemble/ALWeaver/interview_generator.py b/docassemble/ALWeaver/interview_generator.py index 150b39b6..5ac543d0 100644 --- a/docassemble/ALWeaver/interview_generator.py +++ b/docassemble/ALWeaver/interview_generator.py @@ -29,7 +29,19 @@ from pdfminer.pdfparser import PDFSyntaxError from pdfminer.psparser import PSEOF from pikepdf import Pdf -from typing import Any, Dict, List, Optional, Set, Tuple, Union, Iterable, Literal, TypedDict, cast +from typing import ( + Any, + Dict, + List, + Optional, + Set, + Tuple, + Union, + Iterable, + Literal, + TypedDict, + cast, +) from urllib.parse import urlparse from zipfile import BadZipFile import ast @@ -1649,7 +1661,9 @@ def auto_assign_attributes( if screens: if not interview_logic: # using typing.cast to explicitly indicate a list of strings is OK for the interview_logic - self.interview_logic = cast(List[Union[Dict, str]], get_question_file_variables(screens)) + self.interview_logic = cast( + List[Union[Dict, str]], get_question_file_variables(screens) + ) self.create_questions_from_screen_list(screens) else: self.auto_group_fields() diff --git a/docassemble/ALWeaver/requirements.txt b/docassemble/ALWeaver/requirements.txt index deb886e1..a5179f40 100644 --- a/docassemble/ALWeaver/requirements.txt +++ b/docassemble/ALWeaver/requirements.txt @@ -1,4 +1,5 @@ docassemble.base +docassemble.webapp more_itertools pyyaml docx2python