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

Improve documentation and add default to ConstantUnhandledPredicatehook #3

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

alamb
Copy link

@alamb alamb commented Oct 11, 2024

Targets apache#12850 from @adriangb

Here are some small API suggestions to improve the documentation and the creation of the default hook

@github-actions github-actions bot added the core label Oct 11, 2024
#[derive(Debug, Clone)]
struct ConstantUnhandledPredicateHook {
default: Arc<dyn PhysicalExpr>,
}

impl Default for ConstantUnhandledPredicateHook {
Copy link
Author

Choose a reason for hiding this comment

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

I felt like using Default was more standard than a function

@adriangb adriangb merged commit e823c88 into pydantic:rewrite-hook Oct 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants