mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-27 18:45:50 +00:00
style(ingest): fix lint checks for superset (#6548)
This commit is contained in:
parent
6255181169
commit
a12f5daaf4
@ -316,12 +316,15 @@ class SupersetSource(Source):
|
||||
# if the item is a custom label
|
||||
if isinstance(item, dict):
|
||||
item_value = item.get("label", "")
|
||||
if item_value != "": temp_group_bys.append(f"{item_value}_custom_label")
|
||||
else: temp_group_bys.append(item)
|
||||
if item_value != "":
|
||||
temp_group_bys.append(f"{item_value}_custom_label")
|
||||
else:
|
||||
temp_group_bys.append(str(item))
|
||||
|
||||
# if the item is a string
|
||||
elif isinstance(item, str): temp_group_bys.append(item)
|
||||
|
||||
elif isinstance(item, str):
|
||||
temp_group_bys.append(item)
|
||||
|
||||
group_bys = temp_group_bys
|
||||
|
||||
custom_properties = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user