envisage.service module

A trait type used to access services.

class envisage.service.Service(protocol=None, query='', minimize='', maximize='', **metadata)[source]

Bases: traits.trait_type.TraitType

A trait type used to access services.

Note that this is a trait type and hence does NOT have traits itself (i.e. it does not inherit from ‘HasTraits’).

get(obj, trait_name)[source]

Trait type getter.

set(obj, name, value)[source]

Trait type setter.