Skip to content

Refactor database engine usage in import functions#532

Closed
joda9 wants to merge 5 commits into
devfrom
new_engine_handling
Closed

Refactor database engine usage in import functions#532
joda9 wants to merge 5 commits into
devfrom
new_engine_handling

Conversation

@joda9
Copy link
Copy Markdown
Collaborator

@joda9 joda9 commented Dec 4, 2025

Refactor the usage of the database engine in import functions to improve code consistency and readability. Remove the engine parameter from various functions, centralizing engine access through the EDisGo object. Update related tests and documentation accordingly.

@joda9 joda9 force-pushed the new_engine_handling branch from f18794f to 198b77f Compare December 4, 2025 14:55
- Removed the `engine` parameter from various functions in the `oedb` imports for generators, heat pumps, storage, and timeseries.
- Updated internal function calls to use `edisgo_object.engine` instead of passing the engine as a parameter.
- Adjusted related tests to reflect these changes, ensuring that the `engine` parameter is no longer required.
- Improved code consistency and readability by centralizing the engine access through the `EDisGo` object.
@joda9 joda9 force-pushed the new_engine_handling branch from 198b77f to 5a8df7a Compare December 4, 2025 19:17
@joda9 joda9 marked this pull request as draft March 18, 2026 17:17
@joda9 joda9 closed this May 19, 2026
@joda9 joda9 deleted the new_engine_handling branch May 19, 2026 09:48
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