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

deepset-ai / haystack / 15182943497

22 May 2025 09:26AM UTC coverage: 90.284% (-0.2%) from 90.445%
15182943497

Pull #9345

github

web-flow
Merge 8b3c2c41f into e6a53b9dc
Pull Request #9345: feat: add serialization to `State` / move `State` to agents.state

11207 of 12413 relevant lines covered (90.28%)

0.9 hits per line

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

75.0
haystack/components/agents/__init__.py
1
# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
2
#
3
# SPDX-License-Identifier: Apache-2.0
4

5
import sys
1✔
6
from typing import TYPE_CHECKING
1✔
7

8
from lazy_imports import LazyImporter
1✔
9

10
_import_structure = {"agent": ["Agent"], "state": ["State"]}
1✔
11

12
if TYPE_CHECKING:
1✔
13
    from .agent import Agent
×
14
    from .state import State
×
15

16
else:
17
    sys.modules[__name__] = LazyImporter(name=__name__, module_file=__file__, import_structure=_import_structure)
1✔
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

© 2026 Coveralls, Inc