mirror of
https://github.com/hanzo-ds/connect.git
synced 2026-10-30 20:31:24 +00:00
The wire protocol was the last holdout and it was not cosmetic: the Hanzo Datastore server reads X-Datastore-User, and answers a request bearing X-ClickHouse-User with 401. Verified against the live server, both directions. So a client still sending the old headers is not merely off-brand, it cannot authenticate over HTTP. Everything else follows: types, dialects, error modules, docstrings and doc links now name Datastore, and doc URLs point at docs.hanzo.ai/datastore rather than the upstream vendor's site. Zero occurrences of the old name remain. Still cut from the pinned upstream version, so behaviour is unchanged.
13 lines
467 B
Python
13 lines
467 B
Python
import dev_config
|
|
|
|
SUPERSET_WEBSERVER_PORT = getattr(dev_config, 'SUPERSET_WEBSERVER_PORT', 8088)
|
|
SECRET_KEY = 'datastore_dev'
|
|
db_uri = getattr(dev_config, 'SQLALCHEMY_DATABASE_URI', None)
|
|
if db_uri:
|
|
SQLALCHEMY_DATABASE_URI = db_uri
|
|
SIP_15_ENABLED = True
|
|
|
|
# Set this API key to enable Mapbox visualizations
|
|
MAPBOX_API_KEY = getattr(dev_config, 'MAPBOX_API_KEY', '')
|
|
PREFERRED_DATABASES = getattr(dev_config, 'PREFERRED_DATABASES', ['Datastore Connect', 'MySQL'])
|