@@ -385,7 +385,7 @@ def _format_property(prop: Dict[str, Any]) -> Optional[str]:
385
385
else :
386
386
return (
387
387
"Available options: "
388
- + f' { [_clean_string_values (el ) for el in prop [" values" ]]} '
388
+ + f" { [_clean_string_values (el ) for el in prop [' values' ]]} "
389
389
)
390
390
elif prop ["type" ] in [
391
391
"INTEGER" ,
@@ -395,14 +395,14 @@ def _format_property(prop: Dict[str, Any]) -> Optional[str]:
395
395
"LOCAL_DATE_TIME" ,
396
396
]:
397
397
if prop .get ("min" ) and prop .get ("max" ):
398
- return f' Min: { prop [" min" ]} , Max: { prop [" max" ] } '
398
+ return f" Min: { prop [' min' ]} , Max: { prop [' max' ] } "
399
399
else :
400
400
return f'Example: "{ prop ["values" ][0 ]} "' if prop .get ("values" ) else ""
401
401
elif prop ["type" ] == "LIST" :
402
402
if not prop .get ("min_size" ) or prop ["min_size" ] > LIST_LIMIT :
403
403
return None
404
404
else :
405
- return f' Min Size: { prop [" min_size" ]} , Max Size: { prop [" max_size" ] } '
405
+ return f" Min Size: { prop [' min_size' ]} , Max Size: { prop [' max_size' ] } "
406
406
return ""
407
407
408
408
@@ -551,7 +551,7 @@ def _build_str_clauses(
551
551
sanitize = sanitize ,
552
552
)[0 ]["value" ]
553
553
return_clauses .append (
554
- (f"values: { distinct_values } ," f" distinct_count: { len (distinct_values )} " )
554
+ (f"values: { distinct_values } , distinct_count: { len (distinct_values )} " )
555
555
)
556
556
else :
557
557
with_clauses .append (
@@ -595,7 +595,7 @@ def _build_list_clauses(prop_name: str) -> Tuple[str, str]:
595
595
)
596
596
597
597
return_clause = (
598
- f"min_size: `{ prop_name } _size_min`, " f" max_size: `{ prop_name } _size_max`"
598
+ f"min_size: `{ prop_name } _size_min`, max_size: `{ prop_name } _size_max`"
599
599
)
600
600
return with_clause , return_clause
601
601
@@ -630,7 +630,7 @@ def _build_num_date_clauses(
630
630
return_clauses = []
631
631
if not prop_index and not exhaustive :
632
632
with_clauses .append (
633
- f"collect(distinct toString(n.`{ prop_name } `)) " f" AS `{ prop_name } _values`"
633
+ f"collect(distinct toString(n.`{ prop_name } `)) AS `{ prop_name } _values`"
634
634
)
635
635
return_clauses .append (f"values: `{ prop_name } _values`" )
636
636
else :
0 commit comments