ID 144416 - Python API - Un-deprecate Version.versionIndex() or replace it with a recommended method

Follow

Problem summary

The Version.versionIndex() function is marked as deprecated but there is no alternative method offered for users to make use of versionIndex()

Customer Reported Version

n/a


Notes
No other recommended method is provided so Hiero/NukeStudio uses will need to use versionIndex() to query versions but due to the function being marked as deprecated, using it will flood the console with deprecation warnings which makes it difficult to debug the output from the ScriptEditor Window.

 

Reproduced by support
Reproduced in-house by development team

 

Expected behaviour
We should provide a recommended alternative for versionIndex()

Actual behaviour

Console is flooded with deprecation warnings

    We're sorry to hear that

    Please tell us why