Skip to content

Commit 1f9e413

Browse files
author
Corentin
committed
Simplifying code
1 parent 26d5c75 commit 1f9e413

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

snippet.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import pyarrow as pa
21
from pyarrow import flight
32

4-
client = pa.flight.connect('grpc+tls://flight.spiceai.io')
3+
client = flight.connect('grpc+tls://flight.spiceai.io')
54

65
headers = [client.authenticate_basic_token('', 'API_KEY')]
76
options = flight.FlightCallOptions(headers=headers)

0 commit comments

Comments
 (0)