Skip to content

[feat] python-databricks-sdk - #13

Draft
jrmcauliffe00 wants to merge 2 commits into
JordiNeil:mainfrom
jrmcauliffe00:sdk
Draft

jrmcauliffe00 wants to merge 2 commits into
JordiNeil:mainfrom
jrmcauliffe00:sdk

Conversation

@jrmcauliffe00

Copy link
Copy Markdown

Refactor main.py — use python databricks sdk instead of of requests library

# Initialize Databricks SDK client
def get_workspace_client() -> WorkspaceClient:
    """Create and return a Databricks WorkspaceClient"""
    if not all([DATABRICKS_HOST, DATABRICKS_TOKEN]):
        raise ValueError("Missing required Databricks credentials in .env file")
    
    return WorkspaceClient(
        host=f"https://{DATABRICKS_HOST}",
        token=DATABRICKS_TOKEN
    )

@jrmcauliffe00 jrmcauliffe00 changed the title Sdk [feat] python-databricks-sdk Nov 5, 2025
@jrmcauliffe00
jrmcauliffe00 marked this pull request as draft November 5, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant