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

Uptading cubes to python 3 #1

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

allisonverdam
Copy link
Member

No description provided.

KhaledTo and others added 20 commits October 29, 2016 19:20
Fix BUG DataBrewery#370 by getting fact table key column defined in StarSchema
`cubes.metadata.*` is added to `cubes.metadata` because the validate_model
was previously a function part of it (ascendance compatibility).

Then, it impacts necessarily the new import added to
`cubes.slicer.commands`.

In the function `cubes.slicer.commands`, the packages `cubes` and
`cubes.providers` are no longer available, the link to the owned
functions are so rebuild.
…cer_validate_model

Fix import regression which prevent from unsing the command `slicer model validate`.
…ewery#461)

The values returned by `OrderedDict.values()` is an instance of a class
that cannot be copied in py3k (a list in python 2). For this reason, the
following message appears :

> TypeError: can't pickle odict_values objects

The solution is to first copy the `OrderedDict` and then get the
iterator on his values.
* Add new test to check that the Workspace handle correctly the input parameter

* Refactor the code to use a single function to parse the configuration.

The config parser should be placed in a independent module to avoid the
mutual import issues.
Malformed example json fix.
* Updated doc with fix of importing slicer.ini and typos.
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

Successfully merging this pull request may close these issues.

8 participants