Replies: 3 comments 3 replies
-
|
Also the automated testing check for emitting the deprecated warning, but it is in contrast to the changelog. Which is the correct way? |
Beta Was this translation helpful? Give feedback.
-
|
The change log says what I intended to do, the software (and my test modules) do the opposite! I've no idea how I got that wrong. Reading back over my changes I think I intended to make the Python interface more like the C API, where you have to pass a |
Beta Was this translation helpful? Give feedback.
-
|
I've created a bug (#192) from this discussion and committed a fix. I think my reasoning was that it's ever so slightly more efficient to reuse an existing |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @jim-easterbrook ,
in latest changelog I found I should not pass a CameraFile to file_get and capture_preview.
But when I do not, I get DeprecationWarnings which claim I should pass a CameraFile.
Example:
NOT passing a CameraFile like this example
results in a deprecation warning
When passing a CameraFile in agreement with the changelog for v2.6.1, I get no deprecation warning:
I am using v2.6.1 - am I missing something obvious here?
Beta Was this translation helpful? Give feedback.
All reactions