package
Module to interact with Packages.
This module contains class to interact with Packages in Apps.
PublishedPackage ¶
Bases: PublishedContentNode
PublishedPackage object to interact with package specific apps endpoints.
parent_node_key
class-attribute
instance-attribute
¶
parent_node_id
class-attribute
instance-attribute
¶
invalid_content
class-attribute
instance-attribute
¶
serialization_type
class-attribute
instance-attribute
¶
working_draft_id
class-attribute
instance-attribute
¶
activated_draft_id
class-attribute
instance-attribute
¶
show_in_viewer_mode
class-attribute
instance-attribute
¶
public_available
class-attribute
instance-attribute
¶
asset_metadata_transport
class-attribute
instance-attribute
¶
creation_date
class-attribute
instance-attribute
¶
created_by_name
class-attribute
instance-attribute
¶
from_transport
classmethod
¶
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.
get_content_node ¶
Gets published content node located in package with given id.
Parameters:
-
id_
(str
) –Id of published content node.
Returns:
-
PublishedContentNode
–A PublishedContentNode object for published content node with given id.
Raises:
-
PyCelonisNotFoundError
–No published content node with given id located in package
get_content_nodes ¶
Gets all published content nodes of given package.
Returns:
-
CelonisCollection[PublishedContentNode]
–A list containing all published content nodes.
get_analysis ¶
Gets analysis of given package.
Parameters:
-
id_
(str
) –Id of analysis.
Returns:
-
PublishedAnalysis
–Analysis with given id.
get_analyses ¶
Gets all analyses of given package.
Returns:
-
CelonisCollection[PublishedAnalysis]
–A list containing all analyses.
get_folder ¶
Get folder of given package.
Parameters:
-
id_
(str
) –Id of folder.
Returns:
-
PublishedFolder
–Folder with given id.
get_folders ¶
Get all folders of given package.
Returns:
-
CelonisCollection[PublishedFolder]
–A list containing all folders.
get_simulation ¶
Gets simulation of given package.
Parameters:
-
id_
(str
) –Id of simulation.
Returns:
-
PublishedSimulation
–Simulation with given id.
get_simulations ¶
Gets all simulations of given package.
Returns:
-
CelonisCollection[PublishedSimulation]
–A list containing all simulations.
get_view ¶
Gets view of given package.
Parameters:
-
id_
(str
) –Id of view.
Returns:
-
PublishedView
–View with given id.
get_views ¶
Gets all views of given package.
Returns:
-
CelonisCollection[PublishedView]
–A list containing all views.