You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "frog_wrapper.pyx", line 80, in frog.FrogOptions.__init__
File "frog_wrapper.pyx", line 125, in frog.FrogOptions.__setitem__
File "<stringsource>", line 15, in string.from_py.__pyx_convert_string_from_py_std__in_string
TypeError: expected bytes, str found
I think it might need this for id and threads as well, such as it already does for skip, and/or it might need to check if the value has already been encoded to bytes.
Activity
proycon commentedon Nov 20, 2023
Thanks, good point indeed! I'll adapt it so it's more intuitive and you can pass strings.
Allow passing docid as string instead of bytes #26
proycon commentedon Nov 24, 2023
Fixed in v0.6.9 release