新增community_summary城市传参
This commit is contained in:
@@ -14,6 +14,7 @@ import pandas as pd
|
||||
from elasticsearch import helpers
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
from threading import Lock
|
||||
import sys
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
es206_client = ElasticSearchClient(host='192.168.0.206')
|
||||
@@ -140,4 +141,5 @@ def sync(city=None):
|
||||
log.info(f"完成同步附加标签至206 {index_name}")
|
||||
|
||||
|
||||
sync()
|
||||
city = sys.argv[1] if len(sys.argv) > 1 else None
|
||||
sync(city)
|
||||
Reference in New Issue
Block a user