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

Provide ability to import / export the slices / dashboards metadata #1173

Closed
bkyryliuk opened this issue Sep 22, 2016 · 2 comments
Closed

Provide ability to import / export the slices / dashboards metadata #1173

bkyryliuk opened this issue Sep 22, 2016 · 2 comments
Assignees
Labels
airbnb Airbnb related change:backend Requires changing the backend enhancement:request Enhancement request submitted by anyone from the community

Comments

@bkyryliuk
Copy link
Member

No description provided.

@bkyryliuk bkyryliuk added enhancement:request Enhancement request submitted by anyone from the community airbnb Airbnb related change:backend Requires changing the backend labels Sep 22, 2016
@bkyryliuk bkyryliuk self-assigned this Sep 22, 2016
@bkyryliuk
Copy link
Member Author

bkyryliuk commented Sep 23, 2016

pickle may be an option for it:

from caravel import models, db
from sqlalchemy.orm import joinedload  # enforce eager loading
dashboard = db.session.query(models.Dashboard).options(joinedload('slices')).all()[0]
db.session.expunge(dashboard)
dashboard
dashboard.slices
dash = pickle.dumps(dashboard)
r_dash = pickle.loads(dash)
r_dash.slices

@bkyryliuk bkyryliuk added this to the Los Cabos Sprint 2016-10-03 milestone Oct 3, 2016
@bkyryliuk
Copy link
Member Author

Update the requirements and implemented the tables dashboards

@dpgaspar dpgaspar mentioned this issue Dec 9, 2019
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
airbnb Airbnb related change:backend Requires changing the backend enhancement:request Enhancement request submitted by anyone from the community
Projects
None yet
Development

No branches or pull requests

1 participant