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

Stb187 tags feature #187

Merged
merged 3 commits into from
Sep 22, 2018
Merged

Stb187 tags feature #187

merged 3 commits into from
Sep 22, 2018

Conversation

duker33
Copy link
Collaborator

@duker33 duker33 commented Sep 20, 2018

@duker33 duker33 self-assigned this Sep 20, 2018
raise http.Http404('Page without products does not exist.')
# @todo #187:30m Return back empty products list 404 check.
# Now we have problem with stb tests.
# Now stb tests don't aware of it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uncomment the check for empty products list.
Do it after stb tests will cover a case for it.

.filter_by_products(products)
.get_brands(products)
) if tags else defaultdict(lambda: None)
images = defaultdict()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you use defaultdict here? It seems we can use dict instead

@duker33 duker33 force-pushed the stb187_tags_feature branch from 9a5314e to 4f922de Compare September 21, 2018 09:04
@duker33
Copy link
Collaborator Author

duker33 commented Sep 22, 2018

merge it. It blocks huge set of tasks

@duker33 duker33 merged commit 8d25b32 into master Sep 22, 2018
@duker33 duker33 deleted the stb187_tags_feature branch September 22, 2018 12:55
@0pdd
Copy link
Collaborator

0pdd commented Sep 22, 2018

@duker33 the puzzle #189 is still not solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants