]> git.mxchange.org Git - fba.git/blobdiff - fba/helpers/dicts.py
Continued:
[fba.git] / fba / helpers / dicts.py
index b3f2632386eb8526c7e385eef74fa482bc33cd17..cd9ccbde4ae4c5c8f436719423cbf2a032351f0f 100644 (file)
@@ -20,6 +20,7 @@ logger = logging.getLogger(__name__)
 
 def has_key(lists: list, key: str, value: any) -> bool:
     logger.debug("lists()=%d,key='%s',value[]='%s' - CALLED!", len(lists), key, type(value))
+
     if not isinstance(lists, list):
         raise ValueError(f"Parameter lists[]='{type(lists)}' is not of type 'list'")
     elif not isinstance(key, str):
@@ -31,6 +32,7 @@ def has_key(lists: list, key: str, value: any) -> bool:
     logger.debug("Checking lists()=%d ...", len(lists))
     for row in lists:
         logger.debug("row[%s]='%s", type(row), row)
+
         if not isinstance(row, dict):
             raise ValueError(f"row[]='{type(row)}' is not of type 'dict'")
         elif not key in row: