Skip to content

Question: export/save the cube(s) from a workspace #485

Open

Description

@T-Born

Hi,
First, thanks a lot for developing cubes! I would really like to use the framework and participate in the project, if I am going to use cubes in production.
Currently we create cubes manually with VisualStudio for each new version of data. Because data is created with Python I would like to automate the cube creation in Python as well. Our CubesBrowser has come to age but will have to be used for about the next 2 years by our Customers. So my major interest would be the creation and deployment of the cubes. (I will certainly play around with the browsing capabilities to evaluate the replacement of our current viewer.)

Now to the Question:
My created cube works so far, but is not saved in the registered store. Is it possible to save the cube to a certain database or does it only live in the active workspace?

code:

ini = configparser.ConfigParser()
ini.read("edges_cube_config.ini")

workspace = Workspace(config=ini)

ini (edges_cube_config.ini):

[store]
type: sql
url: sqlite:///C:/test/cubes/TestDB.sqlite

[models]
main: edges_as_facts_model.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions