• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

deepset-ai / haystack / 12709332184

10 Jan 2025 12:11PM UTC coverage: 91.1% (+0.001%) from 91.099%
12709332184

Pull #8702

github

web-flow
Merge 3e4d6bfca into 08cf09f83
Pull Request #8702: fix: `OpenAIChatGenerator` - do not pass tools to the OpenAI client when none are provided

8660 of 9506 relevant lines covered (91.1%)

0.91 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
haystack/marshal/protocol.py
1
# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
2
#
3
# SPDX-License-Identifier: Apache-2.0
4

5
from typing import Any, Dict, Protocol, Union
1✔
6

7
# Ellipsis are needed for the type checker, it's safe to disable module-wide
8
# pylint: disable=unnecessary-ellipsis
9

10

11
class Marshaller(Protocol):
1✔
12
    def marshal(self, dict_: Dict[str, Any]) -> str:
1✔
13
        "Convert a dictionary to its string representation"
14
        ...
×
15

16
    def unmarshal(self, data_: Union[str, bytes, bytearray]) -> Dict[str, Any]:
1✔
17
        """Convert a marshalled object to its dictionary representation"""
18
        ...
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc