Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Unanswered
← Error Unable to import q2_sdk.entrypoints.update_installed_form due to: cannot import name 'soft_unicode' from 'markupsafe'

Hello,

Quick answer, update to the latest SDK version and this issue will be fixed.

Why did this happen and why updating to the latest version is necessary?
The q2-sdk library has a few dependencies one of them being Jinja2. Jinja2 has a dependency to markupsafe that is not version locked. Thus when markupsafe updated with a backwards incompatible change this broke on new installs of the q2-sdk. In any version of the SDK newer than 2.120.0 the issue will be fixed.

This did not break any existing sdk extensions running in production because we install all the dependencies and sub dependencies on build.

-Trey

Posted 4 years ago
Trey Teter
124 × 2 Administrator
0

Awesome thank you that worked for me. The command I use to upgrade was q2 upgrade and selected the newest sdk version.

— Jesus Guzman   4 years ago
15 Views
0 Answers
4 years ago
4 years ago