6
mirror of https://github.com/AllSpiceIO/cofactr-cogs.git synced 2025-04-18 07:48:55 +00:00

Remove documentation for search strategies that aren't recommend by Cofactr

This commit is contained in:
Jonathan Tran 2024-05-23 12:26:42 -04:00
parent 7b299ff7e6
commit e91223ecff
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View File

@ -26,9 +26,9 @@ inputs:
default: Quantity
search_strategy:
description: >
The Cofactr search strategy. Can be: "default" (uses mpn), "mpn_sku_mfr",
"mpn_exact", "mpn_exact_mfr". Defaults to "mpn_sku_mfr". See Cofactr API
documentation for more information on search strategies.
The Cofactr search strategy. Can be: "default" (uses mpn), "mpn_sku_mfr".
Defaults to "mpn_sku_mfr". See Cofactr API documentation for more
information on search strategies.
default: mpn_sku_mfr
output_file:
description: >

View File

@ -134,8 +134,9 @@ if __name__ == "__main__":
)
parser.add_argument(
"--search-strategy",
help="The Cofactr search strategy. Can be: default, mpn_sku_mfr, mpn_exact, mpn_exact_mfr. "
+ "Defaults to '%(default)s'.",
help="The Cofactr search strategy. Can be: default or mpn_sku_mfr. "
+ "Defaults to '%(default)s'. The API also supports mpn_exact and mpn_exact_mfr, "
+ "but they are not recommended.",
default="mpn_sku_mfr",
)
parser.add_argument(