pymiere icon indicating copy to clipboard operation
pymiere copied to clipboard

ComponentParam getKeys() invalid return type

Open lpequignot opened this issue 2 years ago • 0 comments

Hello,

I've seen a little omission in ComponentParam.getKeys() method. The returned object isn't of the correct type. for example, I got following result.

>>> p.sequences[41].videoTracks[1].clips[0].components[2].properties[8].getKeys()
{'pymiere_id': '7UEROfIzdT'}

I think it should return an Array and I'm getting the list of keys when I do

keys = Array(**self._parameter._eval_on_this_object("getKeys()")) So, it should be:

  def getKeys(self):
        return Array(**self._parameter._eval_on_this_object("getKeys()"))

Regards,

Louise

lpequignot avatar Jul 18 '22 15:07 lpequignot