Skip to content

Commit

Permalink
use lakefs-sdk object and methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdikhashan committed Nov 29, 2024
1 parent 4f752b9 commit ff99bb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/spark/run-test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import argparse
import sys

import lakefs_client
from lakefs_client import models
from lakefs_client.client import LakeFSClient
import lakefs_sdk
from lakefs_sdk import models
from lakefs_sdk.client import LakeFSClient
from python_on_whales import docker
from tenacity import retry, stop_after_attempt, wait_fixed

Expand Down Expand Up @@ -48,7 +48,7 @@ def main():
submit_flags = ["--jars", "/target/client.jar"]

lfs_client = LakeFSClient(
lakefs_client.Configuration(username=lakefs_access_key,
lakefs_sdk.Configuration(username=lakefs_access_key,
password=lakefs_secret_key,
host='http://localhost:8000'))
wait_for_setup(lfs_client)
Expand Down

0 comments on commit ff99bb6

Please sign in to comment.