python-sonic-client icon indicating copy to clipboard operation
python-sonic-client copied to clipboard

sonic search backend client in python

Results 10 python-sonic-client issues
Sort by recently updated
recently updated
newest added

**Describe the bug** After a while python crashes with this stacktrace: ``` #0 __libc_send (flags=, len=0x6, buf=0x55d6287fd840, fd=0x16) at ../sysdeps/unix/sysv/linux/send.c:28 #1 __libc_send (fd=0x16, buf=0x55d6287fd840, len=0x6, flags=0x0) at ../sysdeps/unix/sysv/linux/send.c:23 #2 0x00007efd6330a346...

bug

**Describe the bug** I'm having the same problem as previously reported in #13: when running a SearchClient.suggest() query, returns a `PENDING` string. **To Reproduce** Running the example code blocks from...

bug

**Describe the bug** Client's socket raise timout error when object or text (or bucket name? not tested.) containing Chinese character on Window platform, but it works expectedly on Linux. **To...

bug

The code came from https://github.com/ppshobi/psonic/blob/master/src/Ingest.php#L144 I don't understand how to compute chunk size, it's not clea in the [protocol documentation](https://github.com/valeriansaliou/sonic/blob/master/PROTOCOL.md) The tests pass, but doesn't test large chunk. See #10

**Describe the bug** When the pushed text is large, the client throw weird error. **To Reproduce** push few k of text. **Expected behavior** The command should use splitted content, like...

bug

**Is your feature request related to a problem? Please describe.** Client tests should done with a server. **Describe the solution you'd like** pytest for this client. **Describe alternatives you've considered**...

fr

**Describe the bug** When server returns error, client doesn't close socket. ``` ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.7/socket.py:660: ResourceWarning: unclosed self._sock = None ``` **Expected behavior**...

bug

Fix the rendered output with pdoc3 or remove it all together to something working.

When using this library with Python 3.12, several warnings are displayed: ```python ./.venv/lib/python3.12/site-packages/sonic/client.py:115: SyntaxWarning: invalid escape sequence '\(' matches = re.findall("protocol\((\w+)\)", text) ./.venv/lib/python3.12/site-packages/sonic/client.py:134: SyntaxWarning: invalid escape sequence '\(' matches =...