Package zeroinstall :: Package injector :: Module selections :: Class Selection
[frames] | no frames]

Class Selection

source code

object --+
         |
        Selection

A single selected implementation in a Selections set.

Instance Methods
 
local_path(self) source code
 
__repr__(self)
repr(x)
source code
bool
is_available(self, stores)
Is this implementation available locally? (a local implementation or a cached ZeroInstallImplementation)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  interface = property(lambda self: self.attrs ['interface'])
  id = property(lambda self: self.attrs ['id'])
  feed = property(lambda self: self.attrs.get('from-feed', self....
  main = property(lambda self: self.attrs.get('main', None))
Instance Variables
str version = property(lambda self: self.attrs ['version'])
the implementation's version number
{str: str} attrs
XML attributes map (name is in the format "{namespace} {localName}")
[model.Dependency] dependencies
list of dependencies
Properties

Inherited from object: __class__

Method Details

local_path(self)

source code 
Decorators:
  • @property

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

is_available(self, stores)

source code 

Is this implementation available locally? (a local implementation or a cached ZeroInstallImplementation)

Returns: bool

Since: 0.53


Class Variable Details

feed

Value:
property(lambda self: self.attrs.get('from-feed', self.interface))