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

Enable extractionFn on Search Filter and Like Filter #209

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SongYunSeop
Copy link
Contributor

@SongYunSeop SongYunSeop commented Apr 21, 2020

Fixes #208

  • Add mock on requirements-dev.txt for testing
  • Enable extractionFn on Search Filter and Like Filter

@SongYunSeop
Copy link
Contributor Author

@mistercrunch @john-bodley Can you please review this PR?

@@ -5,3 +5,4 @@ ipdb==0.12
pip-tools==3.7.0
pre-commit==1.17.0
tox==3.11.1
mock==4.0.2
Copy link
Contributor

Choose a reason for hiding this comment

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

Note this will be resolved via #190.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👌 I'll remove it.

d = filters.Dimension('dim')
actual = filters.Filter.build_filter(d == 'val')
expected = {'type': 'selector', 'dimension': 'dim', 'value': 'val'}
d = filters.Dimension("dim")
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry would you mind disabling black formatting (or similar) when saving this file as it's hard to easily determine what your change encompasses. I sense black will probably be enabled for the entire repo in the foreseeable future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I understand. I'll revert black in this PR.
And how about we create issue about apply black?

Copy link
Contributor

Choose a reason for hiding this comment

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

@SongYunSeop there should definitely be a PR which formats the entire code using black and adds a CI test to enforce all code is black formatted going forward.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@john-bodley I created issue(#211) and PR(#212) 😎

@SongYunSeop SongYunSeop mentioned this pull request Apr 24, 2020
@armanaxh armanaxh mentioned this pull request Jun 16, 2020
@SongYunSeop
Copy link
Contributor Author

@mistercrunch @john-bodley Dose it need any update?

@john-bodley
Copy link
Contributor

@SongYunSeop I'm not an admin and thus cannot merge your PR.

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.

Enable extractionFn on Search Filter and Like Filter
2 participants