You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When @tmpayton built our new legal tests, she found a few sections of dead code that should be removed.
in legal.py we should remove lines 492-495:
if kwargs.get("case_dispositions"):
must_clauses.append(
Q("term", disposition__data__disposition=kwargs.get("case_dispositions"))
)
and lines 118-121
# if doc_types is not in one of ALL_DOCUMENT_TYPES
# then reset type = all (= ALL_DOCUMENT_TYPES)
if doc_types[0] not in ALL_DOCUMENT_TYPES:
doc_types = ALL_DOCUMENT_TYPES
Action item(s)
(These are the smaller tasks that should happen in order to complete this work)
Confirm above sections of code are dead/ Investigate any other extraneous code in legal.py
Remove unreachable code
Completion criteria
(What does the end state look like - as long as this task(s) is done, this work is complete)
All unreachable code is removed
The text was updated successfully, but these errors were encountered:
What we’re after
When @tmpayton built our new legal tests, she found a few sections of dead code that should be removed.
in legal.py we should remove lines 492-495:
and lines 118-121
Action item(s)
(These are the smaller tasks that should happen in order to complete this work)
Completion criteria
(What does the end state look like - as long as this task(s) is done, this work is complete)
The text was updated successfully, but these errors were encountered: