On Sat, 24 Oct 2009 07:22:56 Muharem Hrnjadovic wrote:
> Hmm .. interesting. IMHO the `ISeriesSourcePackageBranch` class has
> nothing to it that would preclude it from external exposure. Why is it
> banned from all APIs?
>
> The ISourcePackage.linked_branches() method returns a collection of
>
> (SeriesSourcePackageBranch.pocket, Branch) tuples
>
> which makes it difficult to declare its return type using something like
> @operation_returns_collection_of(). Or am I missing something?
>
I think all you have to do is to define that ISourcePackage inherits from
IHasBranches. That and the implementation class mixing in HasBranchesMixin.
On Sat, 24 Oct 2009 07:22:56 Muharem Hrnjadovic wrote: ackageBranch` class has linked_ branches( ) method returns a collection of ckageBranch. pocket, Branch) tuples returns_ collection_ of(). Or am I missing something?
> Hmm .. interesting. IMHO the `ISeriesSourceP
> nothing to it that would preclude it from external exposure. Why is it
> banned from all APIs?
>
> The ISourcePackage.
>
> (SeriesSourcePa
>
> which makes it difficult to declare its return type using something like
> @operation_
>
I think all you have to do is to define that ISourcePackage inherits from
IHasBranches. That and the implementation class mixing in HasBranchesMixin.