Skip to content

space

Module to interact with spaces.

This module contains class to interact with a space in EMS Studio.

Typical usage example
space = celonis.studio.get_space(space_id)
space.name = "NEW_NAME"
space.update()
space.delete()

PublishedSpace

Bases: SpaceTransport

Space object to interact with space specific studio endpoints.

client class-attribute

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

id class-attribute

id: str

from_transport classmethod

from_transport(client, space_transport)

Creates high-level published space object from given SpaceTransport.

Parameters:

  • client (Client) –

    Client to use to make API calls for given space.

  • space_transport (SpaceTransport) –

    SpaceTransport object containing properties of space.

Returns:

  • PublishedSpace

    A PublishedSpace object with properties from transport and given client.

sync

sync()

Syncs space properties with EMS.

get_package

get_package(id_)

Gets published package with given id.

Parameters:

  • id_ (str) –

    Id of published package.

Returns:

  • PublishedPackage

    A PublishedPackage object for published package with given id.

Raises:

get_packages

get_packages()

Gets all published packages of given space.

Returns: