Skip to content

space

Module to interact with spaces.

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

Typical usage example:

```python
space = celonis.studio.get_space(space_id)
space.name = "NEW_NAME"
space.update()
space.delete()

packages = space.get_packages()
```

PublishedSpace

Bases: SpaceTransport

Space object to interact with space specific studio endpoints.

permissions class-attribute instance-attribute

permissions = Field(alias='permissions')

icon_reference class-attribute instance-attribute

icon_reference = Field(alias='iconReference')

creation_date class-attribute instance-attribute

creation_date = Field(alias='creationDate')

change_date class-attribute instance-attribute

change_date = Field(alias='changeDate')

object_id class-attribute instance-attribute

object_id = Field(alias='objectId')

client class-attribute instance-attribute

client = Field(..., exclude=True)

id instance-attribute

id

Id of space.

name instance-attribute

name

Name of space.

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: