The surf.plugin Module

The surf.plugin.Plugin Base Class

class surf.plugin.Plugin(*args, **kwargs)[source]

Bases: object

Super class for all SuRF plugins, provides basic instantiation and logging.

close()[source]

Close the plugin and free any resources it may hold.

enable_logging(enable=True)[source]

Enables or disable logging for the current plugin.

inference

Toggle logical inference on / off. The property has any effect only if such functionality is supported by the underlying data store.

is_enable_logging()[source]

True if logging is enabled.

Table Of Contents

Previous topic

The surf.rdf module

Next topic

The surf.plugin.manager Module

This Page