Skip to content

Conversation

@hultenvp
Copy link
Owner

@hultenvp hultenvp commented Dec 4, 2025

Copied over from VSCode due to github authentication issues

Refactor methods and improve docstrings for clarity.
Updated type hints and improved error handling in helper methods.
Refactor types.py to introduce SI unit types and improve normalization logic. Update various dimensioned types to inherit from the new SI base class, enhancing unit handling and conversions.
Updated method names in documentation and code to reflect changes from 'initialize_from_data' to 'from_data' and 'initialize_from_session' to 'from_session'. Adjusted API calls to use the new method names for creating entity instances.
Removed the api_instance fixture from test_exceptions.py.
Removed a test case for station_detail with all arguments filled and added a test case for invalid parameters.
@hultenvp hultenvp linked an issue Dec 4, 2025 that may be closed by this pull request
@hultenvp hultenvp merged commit b7c3c0d into main Dec 4, 2025
1 check passed
@hultenvp hultenvp deleted the 24-cleanup-new-entities branch December 4, 2025 15:53
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.

Cleanup new entities

2 participants