Skip to content

Refactor BaseDatabaseManager initialization#95

Merged
javidahmed64592 merged 1 commit intomainfrom
update-base-db-manager
May 9, 2026
Merged

Refactor BaseDatabaseManager initialization#95
javidahmed64592 merged 1 commit intomainfrom
update-base-db-manager

Conversation

@javidahmed64592
Copy link
Copy Markdown
Owner

This pull request refactors the initialization process for the BaseDatabaseManager class to separate object creation from configuration. Now, the database manager must be explicitly configured after instantiation, improving flexibility and clarity. Corresponding updates have been made to the tests to reflect this change.

Refactoring of database manager initialization:

  • The BaseDatabaseManager no longer takes a db_config parameter in its constructor; instead, a new configure() method is introduced for setting up the database configuration after instantiation.

Test updates:

  • The test fixture and test methods in test_base_database_manager.py have been updated to use the new configuration pattern, ensuring the database manager is configured after creation and verifying correct setup.

@javidahmed64592 javidahmed64592 merged commit 6801cbe into main May 9, 2026
16 checks passed
@javidahmed64592 javidahmed64592 deleted the update-base-db-manager branch May 9, 2026 01:45
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.

1 participant