Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOM-42841 Removing beta messaging on datasource_client instantiation #85

Merged
merged 1 commit into from
Jan 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 0 additions & 10 deletions domino_data/data_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import configparser
import json
import logging
import os

import attr
Expand Down Expand Up @@ -521,15 +520,6 @@ class DataSourceClient:
token_file: Optional[str] = attr.ib(factory=lambda: os.getenv("DOMINO_TOKEN_FILE"))
token_url: Optional[str] = attr.ib(factory=lambda: os.getenv("DOMINO_API_PROXY"))

def __attrs_pre_init__(self):
is_local = os.getenv("DOMINO_IS_LOCAL_DATA_PLANE")
if is_local == "false":
logging.warning(
"Data Sources are in beta for all Nexus enabled deployments, "
"so some functionality may not work as expected. "
"Contact your Admin if you encounter any issues."
)

def __attrs_post_init__(self):
flight_host = os.getenv("DOMINO_DATASOURCE_PROXY_FLIGHT_HOST")
domino_host = os.getenv(
Expand Down