docassemble.AssemblyLine 4.6.2__tar.gz → 4.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {docassemble_assemblyline-4.6.2/docassemble.AssemblyLine.egg-info → docassemble_assemblyline-4.6.3}/PKG-INFO +1 -1
- docassemble_assemblyline-4.6.3/docassemble/AssemblyLine/__init__.py +1 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/al_general.py +33 -31
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/test_al_general.py +6 -4
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3/docassemble.AssemblyLine.egg-info}/PKG-INFO +1 -1
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/pyproject.toml +1 -1
- docassemble_assemblyline-4.6.2/docassemble/AssemblyLine/__init__.py +0 -1
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/LICENSE +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/MANIFEST.in +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/README.md +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/al_courts.py +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/al_document.py +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/custom_jinja_filters.py +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_code.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_document.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_language.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_package.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_package_unstyled.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_question_test.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_reminders.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_saved_sessions.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_saved_sessions_store.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_settings.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_terms_of_use.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/al_visual.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/assembly_line.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/assembly_line_unstyled.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/demo_search_sessions.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/feedback.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/interview_list.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/ql_baseline.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/ql_catchall.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/ql_namechange.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/reserved_words.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_al_table_document.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_aladdendum.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_alcourts.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_aldocument.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_aldocument_background_assembly.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_alexhibit.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_alexhibit_maxsize.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_bundle_parity.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_catchall.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_familiar_disambiguation.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_if_final.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_preferred_formats.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_preferred_name.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_question_library.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/questions/test_signature.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/README.md +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/ar-words.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/es-words.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/fr-words.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/languages.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/ne-words.yml +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/test_aldocument.feature +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/test_alexhibit_docx_1.docx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/test_alexhibit_jpg_1.jpg +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/test_alexhibit_pdf_1.pdf +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/test_alexhibit_png_1.png +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/test_question_library.feature +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/translation_es.xlsx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/translation_ht.xlsx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/sources/translation_pt.xlsx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/README.md +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/al_audio.css +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/al_audio.js +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/aldocument.css +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/aldocument.js +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/interview_list.css +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/limit_upload_size.js +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/lt1-pullout-10-getting-organized.pdf +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/ma_logo.png +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/placeholder.png +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/seal.jpg +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/static/styles.css +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/templates/README.md +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/templates/al_basic_addendum.docx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/templates/exhibit_cover_sheet.docx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/templates/exhibit_table_of_contents.docx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/templates/general_cover_sheet.docx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/templates/sample_word_template.docx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/templates/test_aldocument_docx_1.docx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/templates/test_aldocument_pdf_1.pdf +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/templates/test_catchall.docx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/data/templates/test_if_final.docx +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/language.py +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/py.typed +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/sessions.py +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/sign.py +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/test_al_document.py +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/test_all_imports.py +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/test_language.py +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble.AssemblyLine.egg-info/SOURCES.txt +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble.AssemblyLine.egg-info/dependency_links.txt +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble.AssemblyLine.egg-info/requires.txt +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble.AssemblyLine.egg-info/top_level.txt +0 -0
- {docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: docassemble.AssemblyLine
|
|
3
|
-
Version: 4.6.
|
|
3
|
+
Version: 4.6.3
|
|
4
4
|
Summary: Quickly go from a paper court form to a runnable, guided, step-by-step web application powered by Docassemble. Swap out branding and pre-built questions to meet your needs.
|
|
5
5
|
Author-email: Suffolk Legal Innovation and Technology Lab <litlab@suffolk.edu>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '4.6.3'
|
|
@@ -275,12 +275,18 @@ class ALAddress(Address):
|
|
|
275
275
|
}
|
|
276
276
|
)
|
|
277
277
|
|
|
278
|
+
# All 'field' entries start with the full name of the object (i.e. 'users[1].address...'),
|
|
279
|
+
# so make sure the keys in maxlengths and required have that prefix
|
|
280
|
+
prefix = self.attr_name("")
|
|
281
|
+
rename_key = lambda key: key if key.startswith(prefix) else prefix + key
|
|
278
282
|
if maxlengths:
|
|
283
|
+
maxlengths = {rename_key(k): v for k, v in maxlengths.items()}
|
|
279
284
|
for field in fields:
|
|
280
285
|
if field["field"] in maxlengths:
|
|
281
286
|
field["maxlength"] = maxlengths[field["field"]]
|
|
282
287
|
|
|
283
288
|
if required:
|
|
289
|
+
required = {rename_key(k): v for k, v in required.items()}
|
|
284
290
|
for field in fields:
|
|
285
291
|
if field["field"] in required:
|
|
286
292
|
field["required"] = required[field["field"]]
|
|
@@ -1223,17 +1229,6 @@ class ALIndividual(Individual):
|
|
|
1223
1229
|
for field in fields:
|
|
1224
1230
|
field["show if"] = show_if
|
|
1225
1231
|
|
|
1226
|
-
if maxlengths:
|
|
1227
|
-
for field in fields:
|
|
1228
|
-
if field["field"] in maxlengths:
|
|
1229
|
-
field["maxlength"] = maxlengths[field["field"]]
|
|
1230
|
-
|
|
1231
|
-
if required:
|
|
1232
|
-
for field in fields:
|
|
1233
|
-
if field["field"] in required:
|
|
1234
|
-
field["required"] = required[field["field"]]
|
|
1235
|
-
|
|
1236
|
-
return fields
|
|
1237
1232
|
elif person_or_business == "business":
|
|
1238
1233
|
fields = [
|
|
1239
1234
|
{
|
|
@@ -1244,17 +1239,6 @@ class ALIndividual(Individual):
|
|
|
1244
1239
|
if show_if:
|
|
1245
1240
|
fields[0]["show if"] = show_if
|
|
1246
1241
|
|
|
1247
|
-
if maxlengths:
|
|
1248
|
-
for field in fields:
|
|
1249
|
-
if field["field"] in maxlengths:
|
|
1250
|
-
field["maxlength"] = maxlengths[field["field"]]
|
|
1251
|
-
|
|
1252
|
-
if required:
|
|
1253
|
-
for field in fields:
|
|
1254
|
-
if field["field"] in required:
|
|
1255
|
-
field["required"] = required[field["field"]]
|
|
1256
|
-
|
|
1257
|
-
return fields
|
|
1258
1242
|
else:
|
|
1259
1243
|
# Note: the labels are template block objects: if they are keys,
|
|
1260
1244
|
# they should be converted to strings first
|
|
@@ -1317,17 +1301,23 @@ class ALIndividual(Individual):
|
|
|
1317
1301
|
}
|
|
1318
1302
|
)
|
|
1319
1303
|
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1304
|
+
# All 'field' entries start with the full name of the object (i.e. 'users[1].address...'),
|
|
1305
|
+
# so make sure the keys in maxlengths and required have that prefix
|
|
1306
|
+
prefix = self.attr_name("name.")
|
|
1307
|
+
rename_key = lambda key: key if key.startswith(prefix) else prefix + key
|
|
1308
|
+
if maxlengths:
|
|
1309
|
+
maxlengths = {rename_key(k): v for k, v in maxlengths.items()}
|
|
1310
|
+
for field in fields:
|
|
1311
|
+
if field["field"] in maxlengths:
|
|
1312
|
+
field["maxlength"] = maxlengths[field["field"]]
|
|
1324
1313
|
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1314
|
+
if required:
|
|
1315
|
+
required = {rename_key(k): v for k, v in required.items()}
|
|
1316
|
+
for field in fields:
|
|
1317
|
+
if field["field"] in required:
|
|
1318
|
+
field["required"] = required[field["field"]]
|
|
1329
1319
|
|
|
1330
|
-
|
|
1320
|
+
return fields
|
|
1331
1321
|
|
|
1332
1322
|
def address_fields(
|
|
1333
1323
|
self,
|
|
@@ -1428,12 +1418,18 @@ class ALIndividual(Individual):
|
|
|
1428
1418
|
if show_if:
|
|
1429
1419
|
fields[0]["show if"] = show_if
|
|
1430
1420
|
|
|
1421
|
+
# All 'field' entries start with the full name of the object (i.e. 'users[1].address...'),
|
|
1422
|
+
# so make sure the keys in maxlengths and required have that prefix
|
|
1423
|
+
prefix = self.attr_name("")
|
|
1424
|
+
rename_key = lambda key: key if key.startswith(prefix) else prefix + key
|
|
1431
1425
|
if maxlengths:
|
|
1426
|
+
maxlengths = {rename_key(k): v for k, v in maxlengths.items()}
|
|
1432
1427
|
for field in fields:
|
|
1433
1428
|
if field["field"] in maxlengths:
|
|
1434
1429
|
field["maxlength"] = maxlengths[field["field"]]
|
|
1435
1430
|
|
|
1436
1431
|
if required:
|
|
1432
|
+
required = {rename_key(k): v for k, v in required.items()}
|
|
1437
1433
|
for field in fields:
|
|
1438
1434
|
if field["field"] in required:
|
|
1439
1435
|
field["required"] = required[field["field"]]
|
|
@@ -1590,12 +1586,18 @@ class ALIndividual(Individual):
|
|
|
1590
1586
|
if show_if:
|
|
1591
1587
|
fields[0]["show if"] = show_if
|
|
1592
1588
|
|
|
1589
|
+
# All 'field' entries start with the full name of the object (i.e. 'users[1].address...'),
|
|
1590
|
+
# so make sure the keys in maxlengths and required have that prefix
|
|
1591
|
+
prefix = self.attr_name("")
|
|
1592
|
+
rename_key = lambda key: key if key.startswith(prefix) else prefix + key
|
|
1593
1593
|
if maxlengths:
|
|
1594
|
+
maxlengths = {rename_key(k): v for k, v in maxlengths.items()}
|
|
1594
1595
|
for field in fields:
|
|
1595
1596
|
if field["field"] in maxlengths:
|
|
1596
1597
|
field["maxlength"] = maxlengths[field["field"]]
|
|
1597
1598
|
|
|
1598
1599
|
if required:
|
|
1600
|
+
required = {rename_key(k): v for k, v in required.items()}
|
|
1599
1601
|
for field in fields:
|
|
1600
1602
|
if field["field"] in required:
|
|
1601
1603
|
field["required"] = required[field["field"]]
|
|
@@ -25,6 +25,10 @@ class test_aladdress(unittest.TestCase):
|
|
|
25
25
|
)
|
|
26
26
|
addr.instanceName = "addr"
|
|
27
27
|
fields = addr.address_fields(required={"addr.zip": True})
|
|
28
|
+
for field in fields:
|
|
29
|
+
if "zip" in field["field"]:
|
|
30
|
+
self.assertTrue(field["required"])
|
|
31
|
+
fields = addr.address_fields(required={"zip": True})
|
|
28
32
|
for field in fields:
|
|
29
33
|
if "zip" in field["field"]:
|
|
30
34
|
self.assertTrue(field["required"])
|
|
@@ -586,7 +590,7 @@ class TestALIndividual(unittest.TestCase):
|
|
|
586
590
|
# Test business case with required parameter
|
|
587
591
|
fields = self.individual.name_fields(
|
|
588
592
|
person_or_business="business",
|
|
589
|
-
required={"
|
|
593
|
+
required={"first": True},
|
|
590
594
|
title_choices=["a title"],
|
|
591
595
|
suffix_choices=["Jr.", "Sr."],
|
|
592
596
|
)
|
|
@@ -613,9 +617,7 @@ class TestALIndividual(unittest.TestCase):
|
|
|
613
617
|
) # Should not have required by default
|
|
614
618
|
|
|
615
619
|
# Test with required parameter
|
|
616
|
-
fields = self.individual.gender_fields(
|
|
617
|
-
required={"test_individual.gender": True}
|
|
618
|
-
)
|
|
620
|
+
fields = self.individual.gender_fields(required={"gender": True})
|
|
619
621
|
gender_field = fields[0]
|
|
620
622
|
self.assertEqual(gender_field["required"], True)
|
|
621
623
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: docassemble.AssemblyLine
|
|
3
|
-
Version: 4.6.
|
|
3
|
+
Version: 4.6.3
|
|
4
4
|
Summary: Quickly go from a paper court form to a runnable, guided, step-by-step web application powered by Docassemble. Swap out branding and pre-built questions to meet your needs.
|
|
5
5
|
Author-email: Suffolk Legal Innovation and Technology Lab <litlab@suffolk.edu>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "docassemble.AssemblyLine"
|
|
9
|
-
version = "4.6.
|
|
9
|
+
version = "4.6.3"
|
|
10
10
|
description = "Quickly go from a paper court form to a runnable, guided, step-by-step web application powered by Docassemble. Swap out branding and pre-built questions to meet your needs."
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
authors = [
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '4.6.2'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
{docassemble_assemblyline-4.6.2 → docassemble_assemblyline-4.6.3}/docassemble/AssemblyLine/sign.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|