Add a filter that can only get or exclude strings when reading API users
Context
UI adds &UI to the end of all calls
nice to be able to split between API and UI users
Possible Implementation
add include filter, e.g. include_in_url = 'UI' This should default to None. If not None, query = query.filter(APIRequestSQL.url.like(f'%{include_in_url}%')
add exclude filter e.g. exclude_in_url = 'UI. This should default to None.
Detailed Description
Add a filter that can only get or exclude strings when reading API users
Context
Possible Implementation
query = query.filter(APIRequestSQL.url.like(f'%{include_in_url}%')