mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
This reverts commit cb4d81d6ad.
This commit is contained in:
committed by
Arik Fraimovich
parent
ab39242cc4
commit
8456bbf762
@@ -79,15 +79,6 @@ query_factory = ModelFactory(redash.models.Query,
|
||||
data_source=data_source_factory.create,
|
||||
org_id=1)
|
||||
|
||||
table_metadata_factory = ModelFactory(redash.models.TableMetadata,
|
||||
data_source_id=1,
|
||||
exists=True,
|
||||
name='table')
|
||||
|
||||
column_metadata_factory = ModelFactory(redash.models.ColumnMetadata,
|
||||
table_id=1,
|
||||
name='column')
|
||||
|
||||
query_with_params_factory = ModelFactory(redash.models.Query,
|
||||
name='New Query with Params',
|
||||
description='',
|
||||
@@ -185,12 +176,6 @@ class Factory(object):
|
||||
|
||||
return org
|
||||
|
||||
def create_table_metadata(self, **kwargs):
|
||||
return table_metadata_factory.create(**kwargs)
|
||||
|
||||
def create_column_metadata(self, **kwargs):
|
||||
return column_metadata_factory.create(**kwargs)
|
||||
|
||||
def create_user(self, **kwargs):
|
||||
args = {
|
||||
'org': self.org,
|
||||
|
||||
Reference in New Issue
Block a user