MCPcopy
hub / github.com/apache/superset / get_upload_db

Function get_upload_db

tests/integration_tests/csv_upload_tests.py:118–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116
117
118def get_upload_db():
119 return db.session.query(Database).filter_by(database_name=CSV_UPLOAD_DATABASE).one()
120
121
122def upload_csv(filename: str, table_name: str, extra: Optional[Dict[str, str]] = None):

Callers 8

setup_csv_uploadFunction · 0.85
upload_csvFunction · 0.85
upload_excelFunction · 0.85
upload_columnarFunction · 0.85
test_import_csvFunction · 0.85
test_import_excelFunction · 0.85
test_import_parquetFunction · 0.85

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected