Actually we have an array inside the stroke (bGPDstroke) with the weights, but this is not visible in the python API and the artists need to read this data.
The actual code in `rna_GpencilVertex_groups_begin` is not working because it does not display the full array of values.
```prop = RNA_def_property(srna, "groups", PROP_COLLECTION, PROP_NONE);
RNA_def_property_collection_funcs(prop,
"rna_GpencilVertex_groups_begin",
"rna_iterator_array_next",
"rna_iterator_array_end",
"rna_iterator_array_get",
NULL,
NULL,
NULL,
NULL);
RNA_def_property_struct_type(prop, "GpencilVertexGroupElement");
RNA_def_property_ui_text(
prop, "Groups", "Weights for the vertex groups this vertex is member of");```