build on the terminal helper a bit

This commit is contained in:
matthewswspence 2024-08-26 16:14:17 -05:00
parent 4026e9be86
commit 7dafc863c0
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
2 changed files with 6 additions and 3 deletions

View file

@ -188,7 +188,9 @@ class PopulateScriptTemplate(ABC):
return f"{TerminalColors.FAIL}" f"Failed to update {record}" f"{TerminalColors.ENDC}"
def should_skip_record(self, record) -> bool: # noqa
"""Defines the condition in which we should skip updating a record. Override as needed."""
"""Defines the condition in which we should skip updating a record. Override as needed.
The difference between this and Custom_filter is that records matching these conditions
*will* be included in the run but will be skipped (and logged as such)."""
# By default - don't skip
return False