Versions¶
-
cassiopeia.
get_versions
(region: typing.Union[cassiopeia.data.Region, str] = None) → typing.List[str]¶
-
cassiopeia.
get_version
(date: datetime.date = None, region: typing.Union[cassiopeia.data.Region, str] = None) → typing.Union[NoneType, str]¶
-
class
cassiopeia.
Versions
(*args, region: typing.Union[cassiopeia.data.Region, str] = None)[source]¶ Bases:
cassiopeia.core.common.CassiopeiaGhostList
-
append
(object) → None -- append object to end¶
-
clear
() → None -- remove all items from L¶
-
contains
(item: typing.Any) → bool¶
-
copy
() → list -- a shallow copy of L¶
-
count
(value) → integer -- return number of occurrences of value¶
-
delete
(item: typing.Any) → None¶
-
enumerate
(item: typing.Any, reverse: bool = False) → typing.Generator[[typing.Tuple[int, typing.Any], NoneType], NoneType]¶
-
extend
(iterable) → None -- extend list by appending elements from the iterable¶
-
filter
(function)¶
-
find
(item: typing.Any, reverse: bool = False) → typing.Any¶
-
from_data
(data: typing.Union[list, cassiopeia.core.common.CoreData])¶
-
index
(value[, start[, stop]]) → integer -- return first index of value.¶ Raises ValueError if the value is not present.
-
insert
()¶ L.insert(index, object) – insert object before index
-
platform
¶
-
pop
([index]) → item -- remove and return item at index (default last).¶ Raises IndexError if list is empty or index is out of range.
-
property
(load_group_or_method: typing.Any) → typing.Union[property, typing.Callable[[typing.Callable[[typing.Any], typing.Any]], property]]¶
-
region
¶
-
remove
(value) → None -- remove first occurrence of value.¶ Raises ValueError if the value is not present.
-
reverse
()¶ L.reverse() – reverse IN PLACE
-
search
(item: typing.Any, streaming: bool = False, reverse: bool = False) → typing.Union[typing.SearchableList, typing.Generator[[typing.Any, NoneType], NoneType]]¶
-
sort
(key=None, reverse=False) → None -- stable sort *IN PLACE*¶
-