Skip to content

Commit

Permalink
Revert env var change
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkegley committed Feb 27, 2024
1 parent 34f7449 commit 8091ddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/posit/connect/external/databricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ def inner() -> Dict[str, str]:
return inner


# Use these environment varariables to determine if the
# Use this environment variable to determine if the
# client SDK was initialized from a piece of content running on a Connect server.
def is_local() -> bool:
return not os.getenv("CONNECT_SERVER") and not os.getenv("CONNECT_CONTENT_GUID")
return not os.getenv("RSTUDIO_PRODUCT") == "CONNECT"


def viewer_credentials_provider(client: Optional[Client] = None, user_identity: Optional[str] = None) -> Optional[CredentialsProvider]:
Expand Down

0 comments on commit 8091ddc

Please sign in to comment.