ProxyOrderedViewSet
- class app.portfolio.collections.proxy.set.ordered_view_set.ProxyOrderedViewSet[source]
Bases:
GenericProxySet
[T_Item
,T_Proxy
,OrderedViewSet
],Generic
Inheritance Diagram for ProxyOrderedViewSet
Methods
get_proxy_sequence_type
(cls[, source])Resolve and cache the concrete parent argument defined by the descriptor.
Attributes
- 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:
cls (type[T])
source (type[T] | None)
kwargs (Unpack[GetConcreteParentArgumentKwargs])
- Return type:
type[R]
- property sorted: ProxySequence[source]