-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indicator data input #245
Indicator data input #245
Commits on Apr 12, 2022
-
Implement Layer dataclass for layers with data
attached to itself. Factor out the layer classes from `base/indicator.py` to own module.
Configuration menu - View commit details
-
Copy full SHA for 3807ce7 - Browse repository at this point
Copy the full SHA 3807ce7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2c9666 - Browse repository at this point
Copy the full SHA b2c9666View commit details -
Indicators are initialized with a Layer object
Instead of initializing an Indicator with a `layer_name` as string initialize an Indicator with a `layer` as Layer object.
Configuration menu - View commit details
-
Copy full SHA for 4fcccdb - Browse repository at this point
Copy the full SHA 4fcccdbView commit details -
Add function
create_indicator
using custom LayerAlso first instantiate a Layer object and then pass it as init parameter to the Indicator object.
Configuration menu - View commit details
-
Copy full SHA for 1ca9f28 - Browse repository at this point
Copy the full SHA 1ca9f28View commit details -
If Layer has data attached return data immediately
instead of making a request to the ohsome API to retrieve data Call ohsome.query function with args not kwargs.
Configuration menu - View commit details
-
Copy full SHA for a445d66 - Browse repository at this point
Copy the full SHA a445d66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dc26fd - Browse repository at this point
Copy the full SHA 7dc26fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d082788 - Browse repository at this point
Copy the full SHA d082788View commit details -
Improve usage of generic function (singledispatch)
Make usage of singledispatch more concise. Address review comments of the dispatch functions: - Adhere to convention to name overloaded func '_' - Remove # noqa comments - Rename 'kargs' to 'kwargs' - Add test cases for generic functions covering 'NotImplemented'
Configuration menu - View commit details
-
Copy full SHA for 99af1da - Browse repository at this point
Copy the full SHA 99af1daView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7830f8 - Browse repository at this point
Copy the full SHA f7830f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d80785f - Browse repository at this point
Copy the full SHA d80785fView commit details -
Various small improvements to the tests
Ignore duplications in the tests fixtures.py Fix timestamp range in test fixtures Avoid loading the same fixture for each test case In test do not use empty string for layer name
Configuration menu - View commit details
-
Copy full SHA for b1ea2e4 - Browse repository at this point
Copy the full SHA b1ea2e4View commit details -
Add layer name and description to request examples
of the API instead of using empty strings.
Configuration menu - View commit details
-
Copy full SHA for 5662d55 - Browse repository at this point
Copy the full SHA 5662d55View commit details