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

Add field identfier to provider cache tables. #7305

Merged
merged 6 commits into from
Nov 3, 2019

Conversation

p0psicles
Copy link
Contributor

@p0psicles p0psicles commented Nov 2, 2019

Currently by default use the url for the identifier. In future this can be overwritten per provider.
NOTE! This change will remove all provider cache tables, you will lose your cache

  • PR is based on the DEVELOP branch
  • Don't send big changes all at once. Split up big PRs into multiple smaller PRs that are easier to manage and review
  • Read the contribution guide

This could in the future fix providers like jacket and binsearch #7304

Currently by default use the url for the identifier. In future this can be overwritten per provider.
The method can be overwritten per provider.
@@ -781,6 +781,18 @@ def _get_title_and_url(self, item):

return title, url

def _get_identifier(self, item):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@medariox if you want to try it out. You'll have to copy this method into the provider, where you want to set the identifier. I can try it for binsearch. But you know more about the jacket stuff.

@medariox medariox merged commit c6174b1 into develop Nov 3, 2019
@medariox medariox deleted the feature/fix-cache-table-identifier branch November 3, 2019 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants