Open eyeseast opened 2 years ago
I do this in three places:
This whole block is basically repeated: https://github.com/eyeseast/geocode-sqlite/blob/main/geocode_sqlite/utils.py#L50-L68. Part of the issue is that in the Python API, I'm using log.info and in the CLI I'm using click.echo. Maybe I can abstract that and pass in a print function.
log.info
click.echo
I do this in three places:
This whole block is basically repeated: https://github.com/eyeseast/geocode-sqlite/blob/main/geocode_sqlite/utils.py#L50-L68. Part of the issue is that in the Python API, I'm using
log.info
and in the CLI I'm usingclick.echo
. Maybe I can abstract that and pass in a print function.