Skip to content
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

add regex excludes/includes expressions #20

Open
vincentsarago opened this issue Feb 9, 2023 · 0 comments
Open

add regex excludes/includes expressions #20

vincentsarago opened this issue Feb 9, 2023 · 0 comments

Comments

@vincentsarago
Copy link
Member

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.

tipg/tipg/settings.py

Lines 32 to 33 in 0c0f512

includes: Optional[List[str]]
excludes: Optional[List[str]]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant