developmentseed / eoapi-devseed

Custom eoAPI framework example for DevelopmentSeed
https://eoapi.dev/customization/
MIT License
5 stars 2 forks source link

Add logging to apps, reorg imports #12

Closed alukach closed 1 month ago

alukach commented 1 month ago

What I am changing

This PR adds a helper to enable stdout logging on the Python applications.

Additionally, I've refactored the imports to comply with PEP-0008 conventions:

Imports should be grouped in the following order:

  1. Standard library imports.
  2. Related third party imports.
  3. Local application/library specific imports.

How I did it

Add simple logs.py helper file.

How you can test it

Start up apps in debug mode, note debug logs regarding connection to the database.