Skip to content

Index

Module to interact with published content nodes.

This module contains class to interact with a published content node in Apps.

Typical usage example
package = space.get_package(package_id)
package.get_folder(folder.id)

PublishedContentNode

Bases: ContentNodeTransport

Published content node object to interact with content node specific apps endpoints.

client class-attribute

client: Client = Field(Ellipsis, exclude=True)

id class-attribute

id: str

key class-attribute

key: str

space_id class-attribute

space_id: str

from_transport classmethod

from_transport(client, content_node_transport)

Creates high-level published content node object from given ContentNodeTransport.

Parameters:

  • client (Client) –

    Client to use to make API calls for given published content node.

  • content_node_transport (ContentNodeTransport) –

    ContentNodeTransport object containing properties of published content node.

Returns:

  • PublishedContentNode

    A PublishedContentNode object with properties from transport and given client.

sync

sync()

Syncs content node properties with EMS.