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 URL Filtering Capabilities to API Request Retrieval Functions #299

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Sahil-Chhoker
Copy link

Description

Adds URL filtering capabilities to API request retrieval functions, enabling more granular control over request filtering.

Changes

  • Added include_in_url and exclude_in_url optional parameters to API request retrieval functions
  • Implemented URL-based filtering using SQLAlchemy's like() method

Fixes

Fixes #298 with ability to filter API requests by URL content.

How Has This Been Tested?

  • Manual testing of new filtering parameters
  • Verified compatibility with existing codebase

Test Configuration

  • Python 3.8+
  • SQLAlchemy 1.4.x
  • Pytest for unit testing

Checklist

  • Follows OCF coding style guidelines
  • Performed self-review of code
  • Updated inline documentation
  • Added test cases (to be implemented)
  • Checked and corrected misspellings
  • Maintained existing function behavior

Sahil-Chhoker

This comment was marked as off-topic.

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

Successfully merging this pull request may close these issues.

Add a filter on api read
1 participant