See the upstream example python plugin here:
https://gitlab.kitware.com/paraview/paraview/blob/master/Examples/Plugins/PythonAlgorithm/PythonAlgorithmExamples.py
On ParaView 5.6.2 for PythonSuperquadricSource doesn’t work choosing a string from the list of strings:
ERROR: In /Users/kitware/dashboards/buildbot-slave/a64f5607/build/superbuild/paraview/src/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 371
vtkPVSessionCore (0x7fd4f7a12640): Failed to convert return value from 'GetValueRange'.
while processing
Message 0 = Invoke
Argument 0 = vtk_object_pointer {vtkPythonAlgorithm (0x7fd4f8615fd0)}
Argument 1 = string_value {GetValueRange}
Actually, I have a set of dynamic field names for my data sources. Is it possible to allow user selection for one of them by some way?