OrsAIApplicationPluginAbstract

A base class for “Segment with AI” and “Filter with AI” plugins

author:

Dragonfly Team

contact:

https://dragonfly.comet.tech

email:

support.dragonfly@comet.tech

organization:

Comet Technologies Canada Inc.

address:

460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7

copyright:

Comet Technologies Canada Inc. All rights reserved 2023.

date:

Jul 20 2017 13:53

dragonflyVersion:

3.0.0.271 (D)

UUID:

58c4c8146d7411e78a6fc86000a21918

Class Code

class OrsPythonPlugins.OrsAIApplicationPluginAbstract.OrsAIApplicationPluginAbstract.OrsAIApplicationPluginAbstract(*args, **kwargs)
cleanup()

Deletes the variables managed by the plugin. It is the place to remove callbacks and other references to Python objects that would prevent them to be garbage collected. This method is called during the process of deletion of the plugin. It calls for the cleanup and deletion of the forms.

classmethod importAllLoggingClasses()

This method is called to make any class extension available for macro playing. It should:

  1. import all class extension;

  2. return a list of classes where logging is supported.

Returns:

output (list of classes) – list of classes where logging is supported by the current plugin