Service

class Cauldron.ktl.Service.Service

Bases: Cauldron.local.client.Service

A client-side KTL service object.

Parameters:
  • name – The KTL service name.
  • populate (bool) – Whether to pre-populate this KTL service with all of the known keys.

Services provide a dictionary-like access interface to KTL:

>>> svc = Service('myktl')          
>>> svc['mykey']                    
<Keyword service=myktl name=mykey>

Using dictionary indexing always returns a Keyword object.