:return: Dictionary with parameters that can be passed to http_request(). This will
at least include the hostname and headers sufficient to authenticate to Databricks.
if not profile:
profile = provider.DEFAULT_SECTION
config = provider.get_config_for_profile(profile)
hostname = config.host
if not hostname:
After Change
" in a future version.")
config = provider.get_config_for_profile(profile)
elif profile:
config = provider.ProfileConfigProvider(profile).get_config()
else:
config = provider.get_config()
hostname = config.host