Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
T-Born opened this issue Jan 16, 2020 · 0 comments
Open

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

T-Born opened this issue Jan 16, 2020 · 0 comments

Comments

@T-Born
Copy link

T-Born commented Jan 16, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant