Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Ошибка 'map' object is not subscriptable #15

Open
Liliummobile opened this issue Apr 15, 2019 · 1 comment
Open

Ошибка 'map' object is not subscriptable #15

Liliummobile opened this issue Apr 15, 2019 · 1 comment

Comments

@Liliummobile
Copy link

При выгрузке визитов, получил ошибку 'map' object is not subscriptable, находящуюся в 135 строке clickhouse.py.

Дополнительное обертывание в list на 132 строке
ch_fields = list(map(get_ch_field_name, fields))

  • вроде бы решает проблему, но получается, что из коробки текущая версия не работает.

  • Я делаю что-то не так, и такая ошибка не должна возникать?

  • Допустимое ли это решение? Так как взял первый вариант из Google, Python не родной язык.

@KIRILLxBREAK
Copy link

плюсую проблему

KIRILLxBREAK added a commit to KIRILLxBREAK/logs_api_integration that referenced this issue Apr 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants