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

lucyparsons / OpenOversight / 12815592904
89%

Build:
DEFAULT BRANCH: develop
Ran 16 Jan 2025 06:52PM UTC
Jobs 1
Files 100
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

16 Jan 2025 06:49PM UTC coverage: 89.042% (-0.08%) from 89.126%
12815592904

push

github

web-flow
Add generic `__repr__` and `to_dict` functions (#1143)

## Description of Changes
Adds a generic `__repr__` function and and a generic `to_dict` function
so that objects can be serialized in the future. The reason I didn't use
the SQLAlchemy class like we talked about in the previous PR was because
that would require a complete rework of most object instantiations and
how properties are ordered. For a greater view into that, you can look
at this PR: https://github.com/lucyparsons/OpenOversight/pull/1142

## Tests and Linting
- [x] This branch is up-to-date with the `develop` branch.
- [x] `pytest` passes on my local development environment.
- [x] `pre-commit` passes on my local development environment.

8800 of 9883 relevant lines covered (89.04%)

0.89 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
96.69
0.0% tests/test_utils.py
5
98.89
-1.11% app/models/database.py
Jobs
ID Job ID Ran Files Coverage
1 12815592904.1 16 Jan 2025 06:52PM UTC 100
89.04
GitHub Action Run
Source Files on build 12815592904
  • Tree
  • List 100
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12815592904
  • 80795a51 on github
  • Prev Build on develop (#12800900175)
  • Next Build on develop (#13141938753)
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