Apply suggestion from @gemini-code-assist[bot]

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Nitzan Pomerantz
2025-10-25 00:43:26 +03:00
committed by GitHub
parent 8be71aec55
commit fde0afa7a1
+1 -1
View File
@@ -37,7 +37,7 @@ def strip_bloat_fields(deals: List[Dict]) -> List[Dict]:
Returns: Returns:
List of deals with bloat fields removed List of deals with bloat fields removed
""" """
bloat_fields = ['shape', 'sourceorder', 'source_polygon_id'] bloat_fields = {'shape', 'sourceorder', 'source_polygon_id'}
return [ return [
{k: v for k, v in deal.items() if k not in bloat_fields} {k: v for k, v in deal.items() if k not in bloat_fields}