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

fix: Add more constraints to upcoming events #7244

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

iamareebjamal
Copy link
Member

@iamareebjamal iamareebjamal commented Sep 4, 2020

For #4697

@auto-label auto-label bot added the fix label Sep 4, 2020
or_(
Event.is_promoted,
and_(
Event.original_image_url != None,

Choose a reason for hiding this comment

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

comparison to None should be 'if cond is not None:'

@codecov
Copy link

codecov bot commented Sep 4, 2020

Codecov Report

Merging #7244 into development will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development    #7244      +/-   ##
===============================================
+ Coverage        62.98%   63.02%   +0.04%     
===============================================
  Files              259      259              
  Lines            13043    13034       -9     
===============================================
  Hits              8215     8215              
+ Misses            4828     4819       -9     
Impacted Files Coverage Δ
app/api/events.py 23.00% <100.00%> (+0.50%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e44870...f091014. Read the comment docs.

@iamareebjamal iamareebjamal merged commit 6b2adfb into development Sep 4, 2020
@iamareebjamal iamareebjamal deleted the upcoming-events branch September 4, 2020 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants