Package rosh :: Package impl :: Module service :: Class ServiceNS
[frames] | no frames]

Class ServiceNS

source code

         object --+    
                  |    
namespace.Namespace --+
                      |
                     ServiceNS

Instance Methods
 
__init__(self, name, config)
ctor.
source code
 
__repr__(self)
repr(x)
source code
 
__str__(self)
str(x)
source code
 
__call__(self, *args, **kwds)
Call service
source code
 
__getattribute__(self, key)
x.__getattribute__('name') <==> x.name (Inherited from rosh.impl.namespace.Namespace)
source code
 
__getitem__(self, key)
Dictionary-style accessor (Inherited from rosh.impl.namespace.Namespace)
source code
 
__iter__(self) (Inherited from rosh.impl.namespace.Namespace) source code

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

Properties

Inherited from object: __class__

Method Details

__init__(self, name, config)
(Constructor)

source code 

ctor.

Parameters:
  • config (NamespaceConfig) - Namespace configuration instance. Safe to set to None if self._config is initialize proper to calling any methods.
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)