From b9da2d88e21e5edda04e928352b45d203147be26 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 14 May 2019 21:29:04 +0200 Subject: ee.xsd: o Removing distributor info, wasn't useful. o Removing part type, using a fact instead. part-search-list: o Putting in some smart rules about values for parts. Might be too smart for its own good. o Removing duplication checking, that is up to the searcher to decide. --- src/ee/element14/search_parts.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ee/element14') diff --git a/src/ee/element14/search_parts.py b/src/ee/element14/search_parts.py index cfa1d34..4a8b0a9 100644 --- a/src/ee/element14/search_parts.py +++ b/src/ee/element14/search_parts.py @@ -23,9 +23,7 @@ def search_parts(in_path: Path, out_path: Path, cache_dir: Path, config: Element client.search(term="manuPartNum:" + query) out_part = types.Part(id=out_id, - distributor_info=types.DistributorInfo(), references=part.referencesProp) - di = out_part.distributor_infoProp print("Saving {} work parts".format(out_parts.size())) save_db(out_path, out_parts, sort=True) -- cgit v1.2.3