Reformat comment

This commit is contained in:
Mark Veidemanis 2022-09-18 13:02:06 +01:00
parent 38d00f2c21
commit d4b8e11525
1 changed files with 1 additions and 1 deletions

2
db.py
View File

@ -50,7 +50,7 @@ async def store_kafka_batch(data):
batch = producer.create_batch() batch = producer.create_batch()
for msg in data: for msg in data:
if msg["type"] in TYPES_MAIN: if msg["type"] in TYPES_MAIN:
#index = "main" # index = "main"
index = MAIN_SRC_MAP[msg["src"]] index = MAIN_SRC_MAP[msg["src"]]
# schema = mc_s.schema_main # schema = mc_s.schema_main
elif msg["type"] in TYPES_META: elif msg["type"] in TYPES_META: