We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6907658 commit 80d2473Copy full SHA for 80d2473
tables/automl/automl_tables_set_endpoint.py
@@ -27,4 +27,7 @@ def create_client_with_endpoint(gcp_project_id):
27
)
28
# [END automl_set_endpoint]
29
30
+ # do simple test to check client connectivity
31
+ print(client.list_datasets())
32
+
33
return client
tables/automl/endpoint_test.py
@@ -21,7 +21,6 @@
21
22
23
def test_client_creation(capsys):
24
- client = automl_tables_set_endpoint.create_client_with_endpoint(PROJECT)
25
- print(client.list_datasets())
+ automl_tables_set_endpoint.create_client_with_endpoint(PROJECT)
26
out, _ = capsys.readouterr()
assert "GRPCIterator" in out
0 commit comments