mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-07 23:13:05 +00:00
fix(doc): presto-on-hive - Removing new lines from docs to fix doc generation (#5755)
This commit is contained in:
parent
ee43262f7c
commit
7e15947a37
@ -79,15 +79,11 @@ class PrestoOnHiveConfig(BasicSQLAlchemyConfig):
|
|||||||
scheme: str = Field(default="mysql+pymysql", description="", exclude=True)
|
scheme: str = Field(default="mysql+pymysql", description="", exclude=True)
|
||||||
metastore_db_name: Optional[str] = Field(
|
metastore_db_name: Optional[str] = Field(
|
||||||
default=None,
|
default=None,
|
||||||
description="""Name of the Hive metastore's database (usually: metastore).
|
description="Name of the Hive metastore's database (usually: metastore). For backward compatibility, if this field is not provided, the database field will be used. If both the 'database' and 'metastore_db_name' fields are set then the 'database' field will be used to filter the hive/presto/trino database",
|
||||||
For backwardcompatibility, if this field is not provided, the 'database' field will be used.
|
|
||||||
If both the 'database' and 'metastore_db_name' fields are set then the 'database'
|
|
||||||
field will be used to filter the hive/presto/trino database""",
|
|
||||||
)
|
)
|
||||||
mode: PrestoOnHiveConfigMode = Field(
|
mode: PrestoOnHiveConfigMode = Field(
|
||||||
default=PrestoOnHiveConfigMode.presto_on_hive,
|
default=PrestoOnHiveConfigMode.presto_on_hive,
|
||||||
description=f"""The ingested data will be stored under this platform.
|
description=f"The ingested data will be stored under this platform. Valid options: {[e.value for e in PrestoOnHiveConfigMode]}",
|
||||||
Valid options: {[e.value for e in PrestoOnHiveConfigMode]}""",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_sql_alchemy_url(self, uri_opts: Optional[Dict[str, Any]] = None) -> str:
|
def get_sql_alchemy_url(self, uri_opts: Optional[Dict[str, Any]] = None) -> str:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user