新增community_summary城市传参

This commit is contained in:
shenjian@fangjia.com
2023-02-20 18:29:04 +08:00
parent 8a49c13e45
commit e079380c50
20 changed files with 81 additions and 37 deletions
@@ -4,6 +4,7 @@
from goojia_utils import ElasticSearchClient, areautils, dateutils
import pandas as pd
import logging
import sys
from elasticsearch import helpers
from concurrent.futures import ThreadPoolExecutor
@@ -140,4 +141,5 @@ def sync(city=None):
sync_by_city(city)
sync()
city = sys.argv[1] if len(sys.argv) > 1 else None
sync(city)