Skip to content

Conversation

@joda9
Copy link
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
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.

2 participants