ProxyOrderedViewSet

class app.portfolio.collections.proxy.set.ordered_view_set.ProxyOrderedViewSet[source]

Bases: GenericProxySet[T_Item, T_Proxy, OrderedViewSet], Generic

Inheritance diagram of ProxyOrderedViewSet

Inheritance Diagram for ProxyOrderedViewSet

Methods

clear_sort_cache()

get_proxy_sequence_type(cls[, source])

Resolve and cache the concrete parent argument defined by the descriptor.

Attributes

sorted

clear_sort_cache() None[source]
Return type:

None

classmethod get_proxy_sequence_type(cls: type[T], source: type[T] | None = None, **kwargs: Unpack[GetConcreteParentArgumentKwargs]) type[R]

Resolve and cache the concrete parent argument defined by the descriptor.

The descriptor caches the result per owning class via instance_lru_cache() so repeated introspections remain constant time.

Raises:

GenericsError – If the underlying parent argument cannot be resolved to a concrete type.

Parameters:
Return type:

type[R]

property sorted: ProxySequence[source]