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

CenterForOpenScience / SHARE / 18131475012

30 Sep 2025 01:25PM UTC coverage: 81.489% (-0.2%) from 81.693%
18131475012

Pull #885

github

web-flow
Merge 04c15723e into 8f08e7f39
Pull Request #885: [ENG-8779][ENG-8783] api response in browser + fix streaming csv/tsv value-search

143 of 243 new or added lines in 22 files covered. (58.85%)

3 existing lines in 2 files now uncovered.

6185 of 7590 relevant lines covered (81.49%)

0.81 hits per line

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

92.86
/trove/render/rendering/streamable.py
1
from collections.abc import Iterator
1✔
2
import dataclasses
1✔
3

4
from trove import exceptions as trove_exceptions
1✔
5
from .proto import ProtoRendering
1✔
6

7

8
@dataclasses.dataclass
1✔
9
class StreamableRendering(ProtoRendering):
1✔
10
    mediatype: str
1✔
11
    content_stream: Iterator[str] = iter(())
1✔
12
    _started_already: bool = False
1✔
13

14
    def iter_content(self) -> Iterator[str]:
1✔
15
        if self._started_already:
1✔
NEW
16
            raise trove_exceptions.CannotRenderStreamTwice
×
17
        self._started_already = True
1✔
18
        yield from self.content_stream
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