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

Clinical-Genomics / cg / 9581124118
86%

Build:
DEFAULT BRANCH: master
Ran 19 Jun 2024 11:24AM UTC
Jobs 1
Files 565
Run time 11min
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

19 Jun 2024 11:22AM UTC coverage: 84.589% (+0.03%) from 84.558%
9581124118

push

github

web-flow
Feat(config) Modernize api config (#3350)(patch)

## Description
The way the cg app is configured is very old fashioned. This causes instantiation of services used by the app to be very cumbersome (see `ext.py` and `app.py`).

This PR add pydantic-basesettings and utilises it to simplify the configuration. This in preparation for adding the freshdesk client.

### Added

- app_config.py containing the BaseSettings class AppConfig

### Changed

- keys in the app.config are now in snake_case to follow the normal use of BaseSettings 

### Fixed

- Unused config entries are removed

30 of 30 new or added lines in 3 files covered. (100.0%)

20572 of 24320 relevant lines covered (84.59%)

0.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9581124118.1 19 Jun 2024 11:24AM UTC 0
84.59
Source Files on build 9581124118
Detailed source file information is not available for this build.
  • Back to Repo
  • 3da7a063 on github
  • Prev Build on master (#9579647328)
  • Next Build on master (#9581276104)
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