Browse Source

增加函数注释

xueyiming 1 tháng trước cách đây
mục cha
commit
74587f71d3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ad/pai_flow_operator.py

+ 1 - 1
ad/pai_flow_operator.py

@@ -149,7 +149,7 @@ def get_train_data_list(date_begin):
     date_list = remove_elements(date_list, filter_date_list)
     return date_list
 
-
+# 只替换第一次匹配的'where dt in ()'中的日期
 def update_data_date_range(old_str, date_begin='20250605'):
     date_list = get_train_data_list(date_begin)
     train_list = ["'" + item + "'" for item in date_list]