RSPImageTagCollection¶
- class controller.models.domain.rsptag.RSPImageTagCollection(tags)¶
Bases:
objectHold and perform operations on a set of
RSPImageTagobjects.- Parameters:
tags (
Iterable[RSPImageTag]) –RSPImageTagobjects to store.
Methods Summary
all_tags()Iterate over all tags.
from_tag_names(tag_names, aliases[, cycle])Create a collection from tag strings.
subset(*[, releases, weeklies, dailies, include])Return a subset of the tag collection.
tag_for_tag_name(tag_name)Look up a tag by tag name.
Methods Documentation
- all_tags()¶
Iterate over all tags.
- Yields:
RSPImageTag – Each tag in sorted order.
- Return type:
- classmethod from_tag_names(tag_names, aliases, cycle=None)¶
Create a collection from tag strings.
- Parameters:
- Returns:
The resulting collection of tags.
- Return type:
- subset(*, releases=0, weeklies=0, dailies=0, include=None)¶
Return a subset of the tag collection.
- Parameters:
- Returns:
The desired subset.
- Return type: