Skip to content

Conversation

@Ronitsabhaya75
Copy link

This PR removes unused base_url and session parameters from the replace_images() function in page_contents.py. These parameters were passed but never used in the function body, creating unnecessary complexity and potential confusion for future maintainers.
With this PR, the function signature is simplified from replace_images(root, base_url, session) to replace_images(root), and the single call site is updated accordingly. All 25 existing tests pass, confirming no functional changes

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