assembl.models.widgets module¶
Models for widgets, a set of bundled functionality.
In theory, arbitrary widgets could be added to IdeaLoom. In reality, the set of widget behaviours is constrained here.
-
class
assembl.models.widgets.
BaseIdeaCollection
(name=None)[source]¶ Bases:
assembl.views.traversal.RelationCollectionDefinition
The ‘collection’ of the
base_idea
of thisBaseIdeaWidget
-
class
assembl.models.widgets.
BaseIdeaDescendantsCollection
(name)[source]¶ Bases:
assembl.views.traversal.AbstractCollectionDefinition
The collection of the descendants of the
base_idea
of thisBaseIdeaWidget
-
class
assembl.models.widgets.
BaseIdeaWidget
(*args, **kwargs)[source]¶ Bases:
assembl.models.widgets.Widget
A widget attached to a
assembl.models.idea.Idea
, itsbase_idea
-
base_idea_link_class
¶
-
-
class
assembl.models.widgets.
IdeaCreatingWidget
(*args, **kwargs)[source]¶ Bases:
assembl.models.widgets.BaseIdeaWidget
A widget where new ideas are created
-
class
assembl.models.widgets.
IdeaCreativitySessionWidgetLink
(**kwargs)[source]¶ Bases:
assembl.models.widgets.PolymorphicMixinFactory.<locals>.PolymorphicMixin
,assembl.models.widgets.BaseIdeaWidgetLink
-
assembl.models.widgets.
IdeaDescendantsShowingWidgetLink
¶ alias of
assembl.models.widgets.PolymorphicMixinFactory.<locals>.PolymorphicMixin
-
class
assembl.models.widgets.
IdeaInspireMeWidgetLink
(**kwargs)[source]¶ Bases:
assembl.models.widgets.PolymorphicMixinFactory.<locals>.PolymorphicMixin
,assembl.models.widgets.BaseIdeaWidgetLink
-
assembl.models.widgets.
IdeaShowingWidgetLink
¶ alias of
assembl.models.widgets.PolymorphicMixinFactory.<locals>.PolymorphicMixin
-
class
assembl.models.widgets.
IdeaWidgetLink
(**kwargs)[source]¶
-
class
assembl.models.widgets.
InspirationWidget
(*args, **kwargs)[source]¶ Bases:
assembl.models.widgets.IdeaCreatingWidget
-
base_idea_link_class
¶
-
-
assembl.models.widgets.
PolymorphicMixinFactory
(base_class)[source]¶ A factory for PolymorphicMixin marker classes
-
class
assembl.models.widgets.
VotableIdeaWidgetLink
(**kwargs)[source]¶ Bases:
assembl.models.widgets.PolymorphicMixinFactory.<locals>.PolymorphicMixin
,assembl.models.widgets.IdeaWidgetLink
-
class
assembl.models.widgets.
Widget
(*args, **kwargs)[source]¶ Bases:
assembl.models.DiscussionBoundBase
-
classmethod
get_discussion_conditions
(discussion_id, alias_maker=None)[source]¶ Returns a list of SQLA expressions that constrain a query on this class to a given discussion.
-
classmethod
-
class
assembl.models.widgets.
WidgetUserConfig
(**kwargs)[source]¶