Skip to content
Snippets Groups Projects

Resolve "Introduce a new filter for when rules should be run based on the source ID of a building."

Compare and Show latest version
3 files
+ 6
6
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 2
2
@@ -107,11 +107,11 @@ class AbstractRule(abc.ABC):
latitude (float):
Latitude of the building being processed.
source_id (int):
Integer representing the data's source ID, and determines the rule's relevance.
Integer representing the data-source ID, and determines the rule's relevance.
Returns:
bool:
True if all tests pass and False if at least one doesn't pass.
`True` if all tests pass and `False` if at least one doesn't pass.
"""
# Geographic filter, passes if the inputs coordinates lie within the boundary geometry.
Loading