Looks good, +1
[1]
+ @operation_parameters( + import_status=Choice( + title=_("Status"), + description=_("Show only entries with this status"), + values=RosettaImportStatus.items, + required=False),
I think you can use vocabulary=RosettaImportStatus instead of values.
[2]
+ >>> print target_queue['entries'][0]['path'] + matching-entry.pot
Unless it's done elsewhere, it would be nice to document what is returned by this method, rather than just a the path property of the first entry.
« Back to merge proposal
Looks good, +1
[1]
+ @operation_ parameters( status= Choice( RosettaImportSt atus.items,
+ import_
+ title=_("Status"),
+ description=_("Show only entries with this status"),
+ values=
+ required=False),
I think you can use vocabulary= RosettaImportSt atus instead of values.
[2]
+ >>> print target_ queue[' entries' ][0]['path' ]
+ matching-entry.pot
Unless it's done elsewhere, it would be nice to document what is
returned by this method, rather than just a the path property of the
first entry.