Skip to content

Commit

Permalink
Add docassemble.webapp dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
nonprofittechy committed Jul 8, 2024
1 parent e718ac2 commit 062a850
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
18 changes: 16 additions & 2 deletions docassemble/ALWeaver/interview_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down
1 change: 1 addition & 0 deletions docassemble/ALWeaver/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
docassemble.base
docassemble.webapp
more_itertools
pyyaml
docx2python
Expand Down

0 comments on commit 062a850

Please sign in to comment.