-
Notifications
You must be signed in to change notification settings - Fork 240
Solve logical errors in configure_ and some more refactors of picamera2 module
#1248
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
Conversation
|
When the user passes a string name or a |
|
Hi, and sorry for the delay. I've been a bit pre-occupied lately doing AI models. Who isn't, these days!! I'm struggling a bit to remember all this configuration stuff, and there is quite a lot of history there. Here's what comes to mind:
I definitely think there's some rationalisation that needs to happen, though I worry a bit that it would break something for someone. But we should probably take the hit at some point. Sorry if that's not super helpful... |
|
if the user passes in a but if the user passes a we are patching this "custom" configuration of the user if it is a anyways, I'll put in a commit to test the changes that can be made from what I've understood so far and see if the CI is happy |
Signed-off-by: Asadullah Shaikh <[email protected]>
Signed-off-by: Asadullah Shaikh <[email protected]>
|
I would recommend changing the behaviour of the Currently: I propose: (this will obviously be a breaking change) Also change the default value of this parameter in all the methods to |
|
Thanks for the update. I'm always nervous about changing existing behaviour, but maybe what you propose is OK. I guess the usual idioms we find are
So I guess if all those work the same, that probably sounds fair, and we can flag any more subtle change in a release note. How far along do you think you are with this, are you wanting to get it merged at this point? Thanks. |
|
This PR is ready, I'll put in a separate PR for the |
Follow-up of #1234
CameraConfigurationconfigs were getting patched, notdict.self.libcamera_configbefore validation.elseblock would update thevideo_configurationproperty even when adictorCameraConfigurationconfig was passed.