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

Fully Functional Python 3 - using requests in place of urllib2 #17

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

Conversation

daniel-butler
Copy link

Working on fixing the facet engine. All but some of the tutorial tests pass

@daniel-butler
Copy link
Author

All Tests pass! The changes to the test files were to adjust it to the defaults in 2.8 after I validated they were correct using the open refine UI. The very first test case I had to adjust, I had to make the column all numbers before the sting conversion would work for all columns. That was also the case when I used the UI.

@daniel-butler daniel-butler changed the title Python 2 to 3 adjusted urllib with requests. Tutorials tests don’t pass Fully Functional Python 3 - using requests in place of urllib2 May 20, 2018
@daniel-butler
Copy link
Author

fixes for the following issues # #11 #

@daniel-butler
Copy link
Author

@@ -639,12 +643,11 @@ def get_reconciliation_services(self):
def get_reconciliation_service_by_name_or_url(self, name):
recon_services = self.get_reconciliation_services()
for recon_service in recon_services:
if recon_service['name'] == name or recon_service['url'] == name:
if recon_service['name'] == name or recon_service['server_url'] == name:

Choose a reason for hiding this comment

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

This change breaks lookups on wikidata reconciliation for me. Also line 676.

@psychemedia
Copy link

Creating a new project in OR 3.1 fails for me; works okay-ish with OR 2.8, although the project is created as Untitled.

@psychemedia
Copy link

Do you have any minimal working examples of how to do reconciliation?

@felixlohmeier
Copy link

dbutlerdb:python2_2.8_&_3.0-beta (#18) and dbutlerdb:master (#17) is identical as of today.

see comment in #18 for some test results. maybe it works well with OpenRefine 3.0

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