developmentseed / developmentseed/tipg
add regex excludes/includes expressions
Open
- Dominant language
- PLpgSQL
- Stars
- 219
- Forks
- 39
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 6
Description
Right now we can pass `TIPG_EXCLUDES` or `TIPG_INCLUDES` configs as List (e.g `TIPG_INCLUDES='["public.table1"]'`). This is nice but when you have to filter in/out a lot of table (which you may not know the name in advance) it's not great.
https://github.com/developmentseed/tipg/blob/0c0f5129fc4405e7548db5e074926bdedd995983/tipg/settings.py#L32-L33
I'm proposing we add `excludes_expr: str` and `includes_expr: str` (e.g `TIPG_EXCLUDES_EXPR="^pgstac\._item"`) settings in addition to excludes and includes lists
Contributor guide
Assessment
This issue has not been assessed yet.