diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-05-14 21:29:04 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-05-14 21:29:04 +0200 |
commit | b9da2d88e21e5edda04e928352b45d203147be26 (patch) | |
tree | 2b62b862abe546d87e016a45e2df74d3ea7ba7a4 /src/ee/element14 | |
parent | ee62dd01720c8481599a717d067014164af7e096 (diff) | |
download | ee-python-b9da2d88e21e5edda04e928352b45d203147be26.tar.gz ee-python-b9da2d88e21e5edda04e928352b45d203147be26.tar.bz2 ee-python-b9da2d88e21e5edda04e928352b45d203147be26.tar.xz ee-python-b9da2d88e21e5edda04e928352b45d203147be26.zip |
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.
Diffstat (limited to 'src/ee/element14')
-rw-r--r-- | src/ee/element14/search_parts.py | 2 |
1 files changed, 0 insertions, 2 deletions
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) |