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

petl-developers / petl / 30330059606
92%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2026 04:56AM UTC
Jobs 1
Files 126
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jul 2026 04:54AM UTC coverage: 91.588%. Remained the same
30330059606

push

github

web-flow
Fix DictsView.dicts instance attr shadowing Table.dicts() method (#697)

`fromdicts()` returns a `DictsView` that stores its input as
`self.dicts`, which shadows the `dicts()` method `Table` picks up from
`Table.dicts = dicts` in `petl/util/base.py`. The instance attribute
wins attribute lookup, so:

```python
>>> import petl as etl
>>> etl.fromdicts(etl.dummytable().dicts()).dicts()
TypeError: 'DictsView' object is not callable
```

Renames the internal attribute to `self._dicts` in `DictsView` and
`DictsGeneratorView`, following the `self._header` convention 5498411
introduced on this same class for the same collision (released in 1.7.5
as "Fix `fromdicts(...).header()` raising TypeError").

The last commit is separable: it keeps `.dicts` readable as the input
data via a property on `DictsView`, so the attribute behaves as it does
today while `.dicts()` starts working. Drop that commit for the plain
rename.

Fixes #643.

61 of 66 new or added lines in 2 files covered. (92.42%)

13763 of 15027 relevant lines covered (91.59%)

0.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
94.51
-2.16% petl/io/json.py
Jobs
ID Job ID Ran Files Coverage
1 30330059606.1 28 Jul 2026 04:56AM UTC 126
91.59
GitHub Action Run
Source Files on build 30330059606
  • Tree
  • List 126
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9c509050 on github
  • Prev Build on master (#29800110975)
  • Next Build on master (#30491666045)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc