-
Notifications
You must be signed in to change notification settings - Fork 54
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
chore: streamline kwarg handling #264
Conversation
extract_images_in_pdf: bool = False, | ||
image_output_dir_path: Optional[str] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the guide line here? When do we explicit set and when do we implicitly trust a kwarg does something down the call stack? And why are those two explicit here? It doesn't seem those two parameters are modified in this function and they are just passing through?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are explicit since we don't want them passed down to get_model
, but we do want them passed down to .from_file
CHANGELOG.md
Outdated
@@ -1,5 +1,6 @@ | |||
## 0.7.10-dev1 | |||
## 0.7.10-dev2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make this is a release version
Improves kwarg handling so that kwargs are handled explicitly when needed, and suppressed otherwise.
Testing:
CI should pass.