assembl.models.edgesense_drupal module¶
Utilities for extracting posts and comments from Drupal using the output of the Edgesense Drupal module.
-
class
assembl.models.edgesense_drupal.
EdgeSenseComment
(*args, **kwargs)[source]¶ Bases:
assembl.models.edgesense_drupal.EdgeSenseSpecificPost
-
body_mime_type
¶ The mime type of the body of the imported content. See Content::get_body_mime_type() for allowed values.
-
message_id
¶ The email-compatible message-id for the post.
-
source_post_id
¶ The source-specific unique id of the imported post. A listener keeps the message_id in the post class in sync
-
-
class
assembl.models.edgesense_drupal.
EdgeSenseNode
(*args, **kwargs)[source]¶ Bases:
assembl.models.edgesense_drupal.EdgeSenseSpecificPost
-
body_mime_type
¶ The mime type of the body of the imported content. See Content::get_body_mime_type() for allowed values.
-
message_id
¶ The email-compatible message-id for the post.
-
source_post_id
¶ The source-specific unique id of the imported post. A listener keeps the message_id in the post class in sync
-
-
class
assembl.models.edgesense_drupal.
EdgeSenseSpecificPost
(*args, **kwargs)[source]¶ Bases:
assembl.models.edgesense_drupal.SourceSpecificPost
-
body_mime_type
¶ The mime type of the body of the imported content. See Content::get_body_mime_type() for allowed values.
-
message_id
¶ The email-compatible message-id for the post.
-
source_post_id
¶ The source-specific unique id of the imported post. A listener keeps the message_id in the post class in sync
-
-
class
assembl.models.edgesense_drupal.
SourceSpecificAccount
(**kwargs)[source]¶ Bases:
assembl.models.auth.AbstractAgentAccount
It is important to note that the IDs that come from edgeryder and other drupal sources will NOT be unique.
In order to ensure uniqueness within the platform, for users at least, the IDs are namespaced by adding a uniqueness constraint to the IDs stored, by the source that they come from.
-
class
assembl.models.edgesense_drupal.
SourceSpecificPost
(*args, **kwargs)[source]¶ Bases:
assembl.models.post.ImportedPost
-
body_mime_type
¶ The mime type of the body of the imported content. See Content::get_body_mime_type() for allowed values.
-
message_id
¶ The email-compatible message-id for the post.
-
source_post_id
¶ The source-specific unique id of the imported post. A listener keeps the message_id in the post class in sync
-
-
class
assembl.models.edgesense_drupal.
SourceSpecificUnknownAccount
(**kwargs)[source]¶ Bases:
assembl.models.edgesense_drupal.SourceSpecificAccount