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

delete variable #3813

Merged
merged 4 commits into from
Jan 21, 2020
Merged

delete variable #3813

merged 4 commits into from
Jan 21, 2020

Conversation

taminif
Copy link
Contributor

@taminif taminif commented May 19, 2019

What type of PR is this? (check all applicable)

  • Refactor

Description

I found variable don't used and re-declarate. So it deleted

Related Tickets & Documents

@@ -251,7 +251,6 @@ def run_query(self, query, user):
step["$sort"] = SON(sort_list)

if not aggregate:
s = None
Copy link
Member

Choose a reason for hiding this comment

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

It looks like this whole if block can be removed, as it being overridden below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that's exactly. thanks!

@taminif
Copy link
Contributor Author

taminif commented Jun 6, 2019

Thanks for the reviews @arikfr . I updated code. Please review once again!

@arikfr arikfr merged commit 945f53f into getredash:master Jan 21, 2020
@arikfr
Copy link
Member

arikfr commented Jan 21, 2020

So it took me a while to get back to this, but it's merged now. Thanks.

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.

2 participants