Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit e074646

Browse files
committed
remove debug code and small fixes
1 parent 87e7449 commit e074646

2 files changed

Lines changed: 3 additions & 16 deletions

File tree

samples/conftest.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,6 @@
1717

1818
import pytest
1919

20-
import logging
21-
22-
23-
PYTHONWARNINGS="default"
24-
# import http.client as http_client
25-
26-
# http_client.HTTPConnection.debuglevel = 3
27-
28-
logging.basicConfig()
29-
logging.getLogger("google").setLevel(logging.DEBUG)
30-
3120

3221
@pytest.fixture(scope="session")
3322
def project_id():

samples/pyarrow/append_rows_with_arrow.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,9 @@ def generate_write_request_with_pyarrow(row_num=10):
160160
def append_rows(bqstorage_write_client, table):
161161
append_rows_stream = create_stream(bqstorage_write_client, table)
162162
request = generate_write_request_with_pyarrow(row_num=20)
163-
try:
164-
response_future = append_rows_stream.send(request)
165-
print(response_future.result())
166-
except Exception as e:
167-
print(e)
163+
164+
response_future = append_rows_stream.send(request)
165+
response_future.result()
168166

169167

170168
def main(project_id, dataset):

0 commit comments

Comments
 (0)