Explorar el Código

修改数据获取方式

xueyiming hace 1 semana
padre
commit
180f697c44
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/sync/demand_pool_sync.py

+ 1 - 1
app/sync/demand_pool_sync.py

@@ -153,7 +153,7 @@ def _fetch_partition_rows_from_secondary_source(partition_dt: str) -> list[dict[
                 continue
 
             demand_name = _secondary_demand_display_name(
-                record.get("merge_leve2"),
+                record["merge_leve2"],
                 demand_raw,
             )
             if not demand_name: