hf_text-generation-inference/clients/python/text_generation
dconathan 7850119055
feat(python-client): add cookies to Client constructors and requests (#132)
I have a use case where we need to pass cookies (for auth reasons) to an
internally hosted server.

Note: I couldn't get the client tests to pass - do you need to have an
HF token?

```python
FAILED tests/test_client.py::test_generate - text_generation.errors.BadRequestError: Authorization header is correct, but the token seems invalid
```
2023-03-23 18:01:01 +01:00
..
__init__.py feat(python-client): add new parameters (#118) 2023-03-09 16:05:33 +01:00
client.py feat(python-client): add cookies to Client constructors and requests (#132) 2023-03-23 18:01:01 +01:00
errors.py feat(clients): Python client (#103) 2023-03-07 18:52:22 +01:00
inference_api.py feat(python-client): add cookies to Client constructors and requests (#132) 2023-03-23 18:01:01 +01:00
types.py feat(python-client): add new parameters (#118) 2023-03-09 16:05:33 +01:00