Skip to content

Update Backend Config Files#663

Merged
Brain256 merged 5 commits intomainfrom
briany/update-backend-config
Feb 1, 2026
Merged

Update Backend Config Files#663
Brain256 merged 5 commits intomainfrom
briany/update-backend-config

Conversation

@Brain256
Copy link
Contributor

Purpose

Closes #656.
Replaced the original database configuration setup in config.py with a new Pydantic database config class.

New Changes

  • Created a database configuration Pydantic class and added it to the backend config class
  • wrote additional unit tests

Testing

Explain tests that you ran to verify code functionality.

  • I have unit-tested this PR. Otherwise, explain why it cannot be unit-tested.
  • I have included screenshots of the tests performed below.
image

Outstanding Changes

If there are non-critical changes (i.e. additional features) that can be made to this feature in the future, indicate them here.

@github-actions
Copy link

Pull reviewers stats

Stats of the last 120 days for UWOrbital:

User Total reviews Time to review Total comments
camspec
🥇
31
▀▀▀▀
2d 18h 50m
176
▀▀▀▀▀
Adityya-K
🥈
20
▀▀
5d 1h 12m
▀▀
61
▀▀
proprogrammer504
🥉
17
▀▀
17h 31m
44
Syzygicality
10
20h 5m
31
kepler452b123
2
3d 5h 7m
1
joannalauu
2
4d 2h 46m
10
c4bae
1
13d 1h 35m
▀▀▀▀
2
panthpatel2016
1
4h 30m
6

⚡️ Pull request stats

Copy link
Contributor

@Syzygicality Syzygicality left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made a few comments, ill let others review if they want

Copy link
Contributor

@Syzygicality Syzygicality left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small nitpick with imports in test_config_manager.py :) LGTM otherwise!

Copy link
Contributor

@Syzygicality Syzygicality left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Brain256 Brain256 merged commit 6ef5931 into main Feb 1, 2026
49 checks passed
@Brain256 Brain256 deleted the briany/update-backend-config branch February 1, 2026 18:49
@github-actions github-actions bot added this to the 26W milestone Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replacing Hardcoded Variables with Backend Config Files

2 participants