Commit Graph

86 Commits

Author SHA1 Message Date
Paul Makepeace 8e07662e65 Remove incomplete reconciliation response parsing. It's not exposed in the API yet and changed from Refine 2.0 to 2.1 2011-07-21 17:03:17 +00:00
Paul Makepeace e6a3038e46 Init key_column 2011-06-23 09:51:12 +00:00
Paul Makepeace 4405e4a9b1 Guard use of reconCandidates
which existed only up to Refine 2.0
2011-06-23 09:50:56 +00:00
Paul Makepeace a9066491a7 Don't use kwargs any more 2011-06-23 09:50:18 +00:00
Paul Makepeace 63258f58b1 Use + for consistency 2011-06-23 09:49:59 +00:00
Paul Makepeace bd43d001c4 Clean up interface to passing multiple facets into Engine() 2011-06-23 09:49:25 +00:00
Paul Makepeace 9a461607b9 Ensure clearing facet map 2011-06-23 09:48:16 +00:00
Paul Makepeace 5e544bb827 Move get_version() to RefineServer & add RefineServer.version lazy property 2011-06-10 17:49:06 +00:00
Paul Makepeace 7a77121e8c No engine for get-processes, and decode reconciliation JSON response 2011-06-10 14:39:54 +00:00
Paul Makepeace 59b9b51715 Fix up get_preference() 2011-06-10 14:39:20 +00:00
Paul Makepeace c345c465be Clarity docs (I hope) 2011-06-10 14:38:44 +00:00
Paul Makepeace 9ab8ab3695 Add query params option and tidy up parameter organization 2011-06-10 14:38:16 +00:00
Paul Makepeace d3163dd693 Add ReconJudgmentFacet 2011-06-10 14:31:05 +00:00
Paul Makepeace 316b60b387 Add RefineServer.url() staticmethod to report the Refine server's url 2011-06-10 12:53:46 +00:00
Paul Makepeace 30d119f5c8 Add untested reconciliation support. 2011-06-09 12:07:18 +00:00
Paul Makepeace 92504e0b34 Allow pending as a response 2011-06-09 12:03:15 +00:00
Paul Makepeace 550b3d9f51 Line wrap 2011-06-09 10:50:13 +00:00
Paul Makepeace 5fa24d3509 Add missing time import 2011-06-08 17:17:16 +00:00
Paul Makepeace cfd7b9ac99 Start Reconciliation API with guess_types_of_column 2011-06-08 17:05:55 +00:00
Paul Makepeace 31e30df5bd Script to list Refine project; apply a JSON operation history; and export a Refine project 2011-05-27 01:35:14 +01:00
Paul Makepeace b6137dd803 Allow REFINE_{HOST,PORT} to be set in code. 2011-05-27 01:19:44 +01:00
Paul Makepeace 45a80902ef Allow RefineProject to take just a project id as a convenience. 2011-05-27 00:36:43 +01:00
Benoit Thiell bd8d9e2727 Fix bad function calls
RefineProject.apply_operations and RefineProject.wait_until_idle called RefineProject.do when they are supposed to call RefineProject.do_json.
2011-05-18 15:03:06 -04:00
Paul Makepeace 1fa9679b23 Apply GPL 2011-05-01 17:24:12 +00:00
Paul Makepeace f863045f01 Fix swapped args in do_raw. Add project_url(). Test fix & RefineProject.export() 2011-04-28 18:00:04 +00:00
Paul Makepeace 3d5834c522 Add URL to all URLErrors 2011-04-28 17:13:19 +00:00
Paul Makepeace 461befef21 mv google/test to tests/ and make it a package 2011-04-28 15:47:10 +00:00
Paul Makepeace 885afe6f06 (was renamed) 2011-04-28 15:39:09 +00:00
Paul Makepeace b7e56fe203 Add some more diagnostics on server connection failure 2011-04-28 14:43:33 +00:00
Paul Makepeace 6d59e2e2cf Document compute_facets() 2011-04-27 05:04:46 +01:00
Paul Makepeace 5c4930cc78 Couple Engine to FacetsResponse to enable looking up computed facet by their originating object handle/id. Remove unused Engine.as_dict(). Add some commentary. 2011-04-26 23:52:13 -04:00
Paul Makepeace f30af6dcdd Remove loose line 2011-04-26 22:50:02 -04:00
Paul Makepeace ec52c05b3e Add in tests {6} - {9} and skip rest (at least for now) 2011-04-26 20:18:09 -04:00
Paul Makepeace a0e4ce60e8 Add NumericFacet.reset that clears the range (from, to) 2011-04-26 19:31:10 -04:00
Paul Makepeace dbe0ba518a Add expression to NumericFacet 2011-04-26 19:24:32 -04:00
Paul Makepeace 7ce6468d9b Add TutorialTestWebScraping (section 6) {1} - {4} 2011-04-26 19:11:56 -04:00
Paul Makepeace fe68217fba Take expression out of Facet and put it in TextFacet. Add case_sensitive to TextFilterFacet 2011-04-26 19:09:52 -04:00
Paul Makepeace 5f24f5bd69 Add (back in) self.columns and use in move_column to provide index='end' convenience to move a column to the end (rightmost in UI) 2011-04-26 18:59:32 -04:00
Paul Makepeace b23147ce48 Fix TextFilterFacet and make query most important option. 2011-04-26 18:56:59 -04:00
Paul Makepeace a34c8c72c9 Add HistoryEntry class for responses to many commands. Store that info in the project.history_entry which then allows the test suite to interrogate via assertInResponse (much tidier). 2011-04-26 18:21:43 -04:00
Paul Makepeace 87903f7808 Amend envvars for GOOGLE_REFINE_{HOST,PORT}. 2011-04-26 17:02:40 -04:00
Paul Makepeace 423a887f56 Add Engine.set_facets() so RefineProject.{compute_facets,get_rows}() don't lose the Engine's other attrs (i.e. mode). Split TestFacet into component classes in test_facet.py. 2011-04-26 16:59:17 -04:00
Paul Makepeace 0ba7c56ac3 Tidy grammar & test for no filtering. 2011-04-26 16:52:19 -04:00
Paul Makepeace df2661448a Simplify server URL parsing & allow a server behind e.g. Varnish. 2011-04-26 15:44:32 -04:00
Paul Makepeace 7bcf52996a Factor out RefineTestCase into test/refinetest.py 2011-04-26 15:15:47 -04:00
Paul Makepeace 25f144bf85 Move non-tutorial tests out to test_refine.py. 2011-04-26 15:05:26 -04:00
Paul Makepeace fa6c544cfc Rename test_{refine,tutorial}.py. 2011-04-26 14:58:56 -04:00
Paul Makepeace 5f8437327a Tidy & add test_refine commentary. 2011-04-26 14:55:18 -04:00
Paul Makepeace bde4eb7466 Add row indexing to get_rows()'s response.rows. 2011-04-26 14:54:44 -04:00
Paul Makepeace d5038c6618 Move camel case testing to test_facet 2011-04-26 14:20:47 -04:00