Skip to content

rdb python/ruby module: modifing items not possible as they are const #1632

Description

@sebastian-goeldi

Hi Matthias,

I am wondering whether there is a strong reason for the rdb module and RecordDatabase in particular to return const objects instead of modifiable items. I am in particular interested in setting tags (and potentially images) on items. Currently if I understand the inteface correctly, I would have to rebuild the whole rdb from scratch after reading it just to set tags. Is there already an easier way? (I know I could theoretically go through xml, but that seems unnecessarily complicated)

Would it be possible to create iterators which return the modifiable items? (same for categories etc would be nice, but I get it, maybe the architecture doesn't allow this)

Best,
Sebastian

Metadata

Metadata

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions