Migrating a few methods from app.py into more appropriate sub modules. After this I will break out the remaining logic in app.py into the ImageRequestHandler class in the next PR.
migrating get_extents(), get_inference_metadata_property(), and add_properties_to_features() into feature_utils.py
migrating sink_features() into sink_factory.py
Checklist
Before you submit a pull request, please make sure you have the following:
[x] Code changes are compact and well-structured to facilitate easy review
[x] Changes are documented in the README.md and other relevant documentation pages
[x] PR title and description accurately reflect the changes and are detailed enough for historical tracking
[x] PR contains tests that cover all new code and the code has been manual tested
[x] All new dependencies are declared (if any), and no unnecessary libraries are added
[x] Performance impacts (if any) of the changes are evaluated and documented
[x] Security implications of the changes (if any) are reviewed and addressed
Issue #, if available: n/a
Notes
Migrating a few methods from
app.py
into more appropriate sub modules. After this I will break out the remaining logic inapp.py
into theImageRequestHandler
class in the next PR.get_extents()
,get_inference_metadata_property()
, andadd_properties_to_features()
intofeature_utils.py
sink_features()
intosink_factory.py
Checklist
Before you submit a pull request, please make sure you have the following:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.