Skip to content
Snippets Groups Projects
Commit 063e8e53 authored by Erik Wijmans's avatar Erik Wijmans Committed by Oleksandr
Browse files

Fixes the registry (#99)

Our registry pattern is far from idea and thus we haven't used it consistent. This PR aims to resolve this by copying the registry pattern used in Pythia (as it is much nicer) and then registering all current measures and sensors and using the register to query for those instead of getattr as this is a more clearly extendable pattern (as compared to monkey patching).
parent 028fa126
No related branches found
No related tags found
Loading
Showing
with 385 additions and 199 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment