Skip to content

Conversation

a-klos
Copy link
Member

@a-klos a-klos commented Sep 2, 2025

This pull request introduces an improvement to the handling of the max_pages parameter in the Confluence extractor. The update ensures that the parameter is only included if it is properly set and of the correct type, which helps prevent potential issues when passing parameters to the ConfluenceLoader.

Parameter handling improvements:

  • In extractors/confluence_extractor.py, the code now removes the max_pages parameter from confluence_loader_parameters if it is missing or is a string, ensuring only valid integer values are passed to the loader.

This PR fixes following issue:
#85

Copy link
Collaborator

@youssefcamao youssefcamao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't want to log any errors or warning when there is an invalid max_pages?

@a-klos a-klos merged commit 5d453c5 into main Sep 2, 2025
12 checks passed
@a-klos a-klos deleted the fix/confluence_extractor branch September 2, 2025 09:21
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.

2 participants