Service

class Cauldron.local.client.Service[source] [edit on github]

Bases: Cauldron.base.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.

Methods Summary

has_keyword(name) Check for the existence of a keyword.
keywords() Return the list of all available keywords in this service instance.
shutdown() Shutdown this client.

Methods Documentation

has_keyword(name)[source] [edit on github]

Check for the existence of a keyword.

keywords()[source] [edit on github]

Return the list of all available keywords in this service instance.

shutdown()[source] [edit on github]

Shutdown this client.