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.
from_transport
classmethod
¶
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.
get_package ¶
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:
-
PyCelonisNotFoundError
–If no package with given id is located in space.
get_packages ¶
Gets all published packages of given space.
Returns:
-
CelonisCollection[PublishedPackage]
–A list containing all published packages.