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

Clinical-Genomics / cg / 9581124118 / 1
83%
master: 83%

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

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

20572 of 24320 relevant lines covered (84.59%)

0.85 hits per line

Source Files on job 9581124118.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9581124118
  • 3da7a063 on github
  • Prev Job for on master (#9579647328.1)
  • Next Job for on master (#9581276104.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