fix(doc): presto-on-hive - Removing new lines from docs to fix doc generation (#5755)

This commit is contained in:
Tamas Nemeth 2022-08-29 13:42:07 +02:00 committed by GitHub
parent ee43262f7c
commit 7e15947a37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,15 +79,11 @@ class PrestoOnHiveConfig(BasicSQLAlchemyConfig):
scheme: str = Field(default="mysql+pymysql", description="", exclude=True)
metastore_db_name: Optional[str] = Field(
default=None,
description="""Name of the Hive metastore's database (usually: metastore).
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""",
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",
)
mode: PrestoOnHiveConfigMode = Field(
default=PrestoOnHiveConfigMode.presto_on_hive,
description=f"""The ingested data will be stored under this platform.
Valid options: {[e.value for e in PrestoOnHiveConfigMode]}""",
description=f"The ingested data will be stored under this platform. Valid options: {[e.value for e in PrestoOnHiveConfigMode]}",
)
def get_sql_alchemy_url(self, uri_opts: Optional[Dict[str, Any]] = None) -> str: