Skip to content

Commit

Permalink
Skip over ALPeople as well
Browse files Browse the repository at this point in the history
  • Loading branch information
BryceStevenWilley committed Jan 12, 2024
1 parent 4b85d43 commit 6cca927
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,10 @@ code: |
for obj in objects:
obj_name = next(iter(obj.keys()), [""])
obj_type = next(iter(obj.values()), [""])
is_skippable_type = any(map(lambda val: obj_type.startswith(val), ["ALDocument.", "ALDocumentBundle.", "DAStaticFile."]))
if is_skippable_type:
# We skip types that don't need revisit screens, and types that have default revisit screens
# defined in AssemblyLine
skippable_types = ["ALDocument.", "ALDocumentBundle.", "DAStaticFile.", "ALPeopleList."]
if any(map(lambda val: obj_type.startswith(val), skippable_types)):
continue
review = {}
review["Edit"] = f"{ obj_name }.revisit"
Expand Down

0 comments on commit 6cca927

Please sign in to comment.