mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-05 07:38:26 +00:00
ISSUE-3542: Added fields in config file (#3549)
* ISSUE-3542: Added fields in congig file * Removed callback_url key from config Co-authored-by: Onkar Ravgan <onkarravgan@Onkars-MacBook-Pro.local>
This commit is contained in:
parent
4b7358dfbf
commit
32b80ef329
@ -63,6 +63,8 @@ def get_lineage_config() -> OpenMetadataLineageConfig:
|
||||
"lineage", "audience", fallback="https://www.googleapis.com/oauth2/v4/token"
|
||||
)
|
||||
auth_header = conf.get("lineage", "auth_header", fallback="Authorization")
|
||||
authority = conf.get("lineage", "authority", fallback=None)
|
||||
scopes = conf.get("lineage", "scopes", fallback=None)
|
||||
return OpenMetadataLineageConfig.parse_obj(
|
||||
{
|
||||
"airflow_service_name": airflow_service_name,
|
||||
@ -79,6 +81,8 @@ def get_lineage_config() -> OpenMetadataLineageConfig:
|
||||
"retry_wait": retry_wait,
|
||||
"retry": retry,
|
||||
"api_version": api_version,
|
||||
"authority": authority,
|
||||
"scopes": scopes,
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user