Skip to content

Added input validation for repos#1098

Open
Bhuvanesh2244 wants to merge 1 commit intooss-aspen:devfrom
Bhuvanesh2244:not-api
Open

Added input validation for repos#1098
Bhuvanesh2244 wants to merge 1 commit intooss-aspen:devfrom
Bhuvanesh2244:not-api

Conversation

@Bhuvanesh2244
Copy link
Copy Markdown

Added input validation for repos.
Converted repos to tuple to ensure safe SQL execution.
Rewrote subquery using CTE (WITH latest_repo_data) for clarity and optimization.
Reduced redundant repo_id IN %s usage from 2 to 1.
Replaced logging.warning with logging.info for proper log levels.
Improved CASE logic readability.

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.

1 participant