libioc.ResourceSelector module¶
ioc resource selector type.
-
class
libioc.ResourceSelector.ResourceSelector(name, logger=None)[source]¶ Bases:
objectParse and wrap resource selectors.
-
SOURCE_NAME_PATTERN= re.compile('^[A-Za-z0-9]+((\\-|_)?[A-Za-z0-9]+)*$')¶
-
filter_datasets(datasets)[source]¶ Filter given Datasets according to the resource selector source.
- Return type
-
property
name¶ Return the given name without the source.
- Return type
str
-