Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Реализовать функцию set_addit_attr #11

Open
navolotsky opened this issue Oct 24, 2018 · 0 comments
Open

Реализовать функцию set_addit_attr #11

navolotsky opened this issue Oct 24, 2018 · 0 comments
Labels
priority/high High issue priority type/feature New feature as a list of functional requirements of the client's point of view type/task Formalizing definition of something that should be realized

Comments

@navolotsky
Copy link
Member

Task request

Цель задачи

Реализовать функцию set_addit_attr(docID: str, attr: dict)

Решение задачи

Функция будет вызываться из link_analysis с двумя аргументами: строкой c ID решения и словарем атрибутов, где ключи и значения являются строками. Функция должна обновить словарь header, который нашелся по ID, и при этом проверить, что в переданном словаре не содержится главных аттрибутов, которые их перезапишут. Если таковые содержатся, то заголовок не обновлять и вернуть False, иначе обновить и вернуть True.

Дополнительный контекст или ссылки на связанные с данной задачей issues

#9

@navolotsky navolotsky added type/feature New feature as a list of functional requirements of the client's point of view priority/high High issue priority type/task Formalizing definition of something that should be realized labels Oct 24, 2018
@navolotsky navolotsky added this to the Интенсив milestone Oct 24, 2018
@navolotsky navolotsky added this to To do in Веб-краулер via automation Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/high High issue priority type/feature New feature as a list of functional requirements of the client's point of view type/task Formalizing definition of something that should be realized
Projects
Development

No branches or pull requests

2 participants