mirror of https://github.com/apache/superset.git
commit
116b1c01f5
|
@ -32,5 +32,10 @@ def runserver(debug, port):
|
|||
print("Starting server with command: " + cmd)
|
||||
Popen(cmd, shell=True).wait()
|
||||
|
||||
@manager.command
|
||||
def load_examples(self):
|
||||
"""Loads a set of Slices and Dashboards and a supporting dataset """
|
||||
print("Loading examples")
|
||||
|
||||
if __name__ == "__main__":
|
||||
manager.run()
|
||||
|
|
|
@ -49,6 +49,9 @@ class BaseViz(object):
|
|||
d = self.args.copy()
|
||||
d.update(kwargs)
|
||||
href = Href('/panoramix/table/2/')
|
||||
href = Href(
|
||||
'/panoramix/{self.datasource.type}/'
|
||||
'{self.datasource.id}/'.format(**locals()))
|
||||
return href(d)
|
||||
|
||||
def get_df(self):
|
||||
|
|
Loading…
Reference in New Issue