feat: generate SDKs for Looker 26.14 - #1740
7 errors, 17 fail, 4 skipped, 113 pass in 35s
10 files 10 suites 35s ⏱️
141 tests 113 ✅ 4 💤 17 ❌ 7 🔥
799 runs 701 ✅ 23 💤 54 ❌ 21 🔥
Results for commit 3d3a0df.
Annotations
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_crud_user (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_8/large-ubuntu.Looker-26_8.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
def test_crud_user(sdk: mtds.Looker40SDK):
"""Test creating, retrieving, updating and deleting a user."""
# Create user
> user = sdk.create_user(
ml.WriteUser(
first_name=TEST_FIRST_NAME,
last_name=TEST_LAST_NAME,
is_disabled=False,
locale="fr",
)
)
tests/integration/test_methods.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13219: in create_user
self.post(
looker_sdk/rtl/api_methods.py:207: in post
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_crud_user (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_12/large-ubuntu.Looker-26_12.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
def test_crud_user(sdk: mtds.Looker40SDK):
"""Test creating, retrieving, updating and deleting a user."""
# Create user
> user = sdk.create_user(
ml.WriteUser(
first_name=TEST_FIRST_NAME,
last_name=TEST_LAST_NAME,
is_disabled=False,
locale="fr",
)
)
tests/integration/test_methods.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13219: in create_user
self.post(
looker_sdk/rtl/api_methods.py:207: in post
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_crud_user (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_10/large-ubuntu.Looker-26_10.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
def test_crud_user(sdk: mtds.Looker40SDK):
"""Test creating, retrieving, updating and deleting a user."""
# Create user
> user = sdk.create_user(
ml.WriteUser(
first_name=TEST_FIRST_NAME,
last_name=TEST_LAST_NAME,
is_disabled=False,
locale="fr",
)
)
tests/integration/test_methods.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13219: in create_user
self.post(
looker_sdk/rtl/api_methods.py:207: in post
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_crud_user_dict (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_8/large-ubuntu.Looker-26_8.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
def test_crud_user_dict(sdk): # no typing
"""Test creating, retrieving, updating and deleting a user."""
# Create user
> new_user = sdk.create_user(
dict(
first_name=TEST_FIRST_NAME,
last_name=TEST_LAST_NAME,
is_disabled=False,
locale="fr",
)
)
tests/integration/test_methods.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13219: in create_user
self.post(
looker_sdk/rtl/api_methods.py:207: in post
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_crud_user_dict (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_12/large-ubuntu.Looker-26_12.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
def test_crud_user_dict(sdk): # no typing
"""Test creating, retrieving, updating and deleting a user."""
# Create user
> new_user = sdk.create_user(
dict(
first_name=TEST_FIRST_NAME,
last_name=TEST_LAST_NAME,
is_disabled=False,
locale="fr",
)
)
tests/integration/test_methods.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13219: in create_user
self.post(
looker_sdk/rtl/api_methods.py:207: in post
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_crud_user_dict (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_10/large-ubuntu.Looker-26_10.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
def test_crud_user_dict(sdk): # no typing
"""Test creating, retrieving, updating and deleting a user."""
# Create user
> new_user = sdk.create_user(
dict(
first_name=TEST_FIRST_NAME,
last_name=TEST_LAST_NAME,
is_disabled=False,
locale="fr",
)
)
tests/integration/test_methods.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13219: in create_user
self.post(
looker_sdk/rtl/api_methods.py:207: in post
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_me_returns_correct_result (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_8/large-ubuntu.Looker-26_8.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
def test_me_returns_correct_result(sdk: mtds.Looker40SDK):
"""me() should return the current authenticated user"""
> me = sdk.me()
^^^^^^^^
tests/integration/test_methods.py:148:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13156: in me
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_me_returns_correct_result (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_12/large-ubuntu.Looker-26_12.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
def test_me_returns_correct_result(sdk: mtds.Looker40SDK):
"""me() should return the current authenticated user"""
> me = sdk.me()
^^^^^^^^
tests/integration/test_methods.py:148:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13156: in me
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_me_returns_correct_result (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_10/large-ubuntu.Looker-26_10.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
def test_me_returns_correct_result(sdk: mtds.Looker40SDK):
"""me() should return the current authenticated user"""
> me = sdk.me()
^^^^^^^^
tests/integration/test_methods.py:148:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13156: in me
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_me_field_filters (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_8/large-ubuntu.Looker-26_8.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
def test_me_field_filters(sdk: mtds.Looker40SDK):
"""me() should return only the requested fields."""
> me = sdk.me("id, first_name, last_name")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/integration/test_methods.py:157:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13156: in me
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_me_field_filters (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_12/large-ubuntu.Looker-26_12.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
def test_me_field_filters(sdk: mtds.Looker40SDK):
"""me() should return only the requested fields."""
> me = sdk.me("id, first_name, last_name")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/integration/test_methods.py:157:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13156: in me
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_me_field_filters (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_10/large-ubuntu.Looker-26_10.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
def test_me_field_filters(sdk: mtds.Looker40SDK):
"""me() should return only the requested fields."""
> me = sdk.me("id, first_name, last_name")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/integration/test_methods.py:157:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13156: in me
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.User'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check failure on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs with error: test_bad_user_search_returns_no_results (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_8/large-ubuntu.Looker-26_8.py3.x-integration.xml [took 0s]
Raw output
failed on setup with "looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:"
sdk40 = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
users = [{'first_name': 'Lloyd', 'last_name': 'Llookicorn'}, {'first_name': 'Zachary', 'last_name': 'Zoomify'}, {'first_name':...me': 'Bombastic'}, {'first_name': 'Aaron', 'last_name': 'Aardvark'}, {'first_name': 'Amanda', 'last_name': 'Aardvark'}]
email_domain = '@testfoo.com'
@pytest.fixture(name="test_users", scope="session")
def create_test_users(
sdk40: methods40.Looker40SDK, users: List[Dict[str, str]], email_domain: str
):
user_ids: List[int] = []
for u in users:
> users = sdk40.search_users(first_name=u["first_name"], last_name=u["last_name"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/conftest.py:92:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13306: in search_users
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = typing.Sequence[looker_sdk.sdk.api40.models.User]
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check failure on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs with error: test_bad_user_search_returns_no_results (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_12/large-ubuntu.Looker-26_12.py3.x-integration.xml [took 0s]
Raw output
failed on setup with "looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:"
sdk40 = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
users = [{'first_name': 'Lloyd', 'last_name': 'Llookicorn'}, {'first_name': 'Zachary', 'last_name': 'Zoomify'}, {'first_name':...me': 'Bombastic'}, {'first_name': 'Aaron', 'last_name': 'Aardvark'}, {'first_name': 'Amanda', 'last_name': 'Aardvark'}]
email_domain = '@testfoo.com'
@pytest.fixture(name="test_users", scope="session")
def create_test_users(
sdk40: methods40.Looker40SDK, users: List[Dict[str, str]], email_domain: str
):
user_ids: List[int] = []
for u in users:
> users = sdk40.search_users(first_name=u["first_name"], last_name=u["last_name"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/conftest.py:92:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13306: in search_users
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = typing.Sequence[looker_sdk.sdk.api40.models.User]
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check failure on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs with error: test_bad_user_search_returns_no_results (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_10/large-ubuntu.Looker-26_10.py3.x-integration.xml [took 0s]
Raw output
failed on setup with "looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:"
sdk40 = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
users = [{'first_name': 'Lloyd', 'last_name': 'Llookicorn'}, {'first_name': 'Zachary', 'last_name': 'Zoomify'}, {'first_name':...me': 'Bombastic'}, {'first_name': 'Aaron', 'last_name': 'Aardvark'}, {'first_name': 'Amanda', 'last_name': 'Aardvark'}]
email_domain = '@testfoo.com'
@pytest.fixture(name="test_users", scope="session")
def create_test_users(
sdk40: methods40.Looker40SDK, users: List[Dict[str, str]], email_domain: str
):
user_ids: List[int] = []
for u in users:
> users = sdk40.search_users(first_name=u["first_name"], last_name=u["last_name"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/conftest.py:92:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13306: in search_users
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = typing.Sequence[looker_sdk.sdk.api40.models.User]
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check failure on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs with error: test_search_users_matches_pattern (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_8/large-ubuntu.Looker-26_8.py3.x-integration.xml [took 0s]
Raw output
failed on setup with "looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:"
sdk40 = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
users = [{'first_name': 'Lloyd', 'last_name': 'Llookicorn'}, {'first_name': 'Zachary', 'last_name': 'Zoomify'}, {'first_name':...me': 'Bombastic'}, {'first_name': 'Aaron', 'last_name': 'Aardvark'}, {'first_name': 'Amanda', 'last_name': 'Aardvark'}]
email_domain = '@testfoo.com'
@pytest.fixture(name="test_users", scope="session")
def create_test_users(
sdk40: methods40.Looker40SDK, users: List[Dict[str, str]], email_domain: str
):
user_ids: List[int] = []
for u in users:
> users = sdk40.search_users(first_name=u["first_name"], last_name=u["last_name"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/conftest.py:92:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13306: in search_users
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = typing.Sequence[looker_sdk.sdk.api40.models.User]
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check failure on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs with error: test_search_users_matches_pattern (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_12/large-ubuntu.Looker-26_12.py3.x-integration.xml [took 0s]
Raw output
failed on setup with "looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:"
sdk40 = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
users = [{'first_name': 'Lloyd', 'last_name': 'Llookicorn'}, {'first_name': 'Zachary', 'last_name': 'Zoomify'}, {'first_name':...me': 'Bombastic'}, {'first_name': 'Aaron', 'last_name': 'Aardvark'}, {'first_name': 'Amanda', 'last_name': 'Aardvark'}]
email_domain = '@testfoo.com'
@pytest.fixture(name="test_users", scope="session")
def create_test_users(
sdk40: methods40.Looker40SDK, users: List[Dict[str, str]], email_domain: str
):
user_ids: List[int] = []
for u in users:
> users = sdk40.search_users(first_name=u["first_name"], last_name=u["last_name"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/conftest.py:92:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13306: in search_users
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = typing.Sequence[looker_sdk.sdk.api40.models.User]
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check failure on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs with error: test_search_users_matches_pattern (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_10/large-ubuntu.Looker-26_10.py3.x-integration.xml [took 0s]
Raw output
failed on setup with "looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:"
sdk40 = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
users = [{'first_name': 'Lloyd', 'last_name': 'Llookicorn'}, {'first_name': 'Zachary', 'last_name': 'Zoomify'}, {'first_name':...me': 'Bombastic'}, {'first_name': 'Aaron', 'last_name': 'Aardvark'}, {'first_name': 'Amanda', 'last_name': 'Aardvark'}]
email_domain = '@testfoo.com'
@pytest.fixture(name="test_users", scope="session")
def create_test_users(
sdk40: methods40.Looker40SDK, users: List[Dict[str, str]], email_domain: str
):
user_ids: List[int] = []
for u in users:
> users = sdk40.search_users(first_name=u["first_name"], last_name=u["last_name"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/conftest.py:92:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13306: in search_users
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = typing.Sequence[looker_sdk.sdk.api40.models.User]
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_csv_user_id_list (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_8/large-ubuntu.Looker-26_8.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
def test_csv_user_id_list(sdk: mtds.Looker40SDK):
"""all_users() should accept a delimited array of ids."""
> users = sdk.all_users()
^^^^^^^^^^^^^^^
tests/integration/test_methods.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13189: in all_users
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = typing.Sequence[looker_sdk.sdk.api40.models.User]
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_csv_user_id_list (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_12/large-ubuntu.Looker-26_12.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
def test_csv_user_id_list(sdk: mtds.Looker40SDK):
"""all_users() should accept a delimited array of ids."""
> users = sdk.all_users()
^^^^^^^^^^^^^^^
tests/integration/test_methods.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13189: in all_users
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = typing.Sequence[looker_sdk.sdk.api40.models.User]
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_csv_user_id_list (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_10/large-ubuntu.Looker-26_10.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
def test_csv_user_id_list(sdk: mtds.Looker40SDK):
"""all_users() should accept a delimited array of ids."""
> users = sdk.all_users()
^^^^^^^^^^^^^^^
tests/integration/test_methods.py:212:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13189: in all_users
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = typing.Sequence[looker_sdk.sdk.api40.models.User]
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_enum (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_8/large-ubuntu.Looker-26_8.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
def test_enum(sdk: mtds.Looker40SDK):
# TODO: there is currently no example in the Looker API of a "bare"
# ForwardRef property on a model that is returned by the API. We
# have unittests deserializing into "bare" ForwardRef properties,
# that will have to do for now.
query = ml.WriteQuery(
model="system__activity",
view="dashboard",
fields=["dashboard.id", "dashboard.title", "dashboard.count"],
)
> query_id = sdk.create_query(query).id
^^^^^^^^^^^^^^^^^^^^^^^
tests/integration/test_methods.py:229:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:10135: in create_query
self.post(
looker_sdk/rtl/api_methods.py:207: in post
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.Query'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_enum (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_12/large-ubuntu.Looker-26_12.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
def test_enum(sdk: mtds.Looker40SDK):
# TODO: there is currently no example in the Looker API of a "bare"
# ForwardRef property on a model that is returned by the API. We
# have unittests deserializing into "bare" ForwardRef properties,
# that will have to do for now.
query = ml.WriteQuery(
model="system__activity",
view="dashboard",
fields=["dashboard.id", "dashboard.title", "dashboard.count"],
)
> query_id = sdk.create_query(query).id
^^^^^^^^^^^^^^^^^^^^^^^
tests/integration/test_methods.py:229:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:10135: in create_query
self.post(
looker_sdk/rtl/api_methods.py:207: in post
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7fa99f91d550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.Query'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check warning on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs failed: test_enum (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_10/large-ubuntu.Looker-26_10.py3.x-integration.xml [took 0s]
Raw output
looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:
sdk = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
def test_enum(sdk: mtds.Looker40SDK):
# TODO: there is currently no example in the Looker API of a "bare"
# ForwardRef property on a model that is returned by the API. We
# have unittests deserializing into "bare" ForwardRef properties,
# that will have to do for now.
query = ml.WriteQuery(
model="system__activity",
view="dashboard",
fields=["dashboard.id", "dashboard.title", "dashboard.count"],
)
> query_id = sdk.create_query(query).id
^^^^^^^^^^^^^^^^^^^^^^^
tests/integration/test_methods.py:229:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:10135: in create_query
self.post(
looker_sdk/rtl/api_methods.py:207: in post
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f2cf2065550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = <class 'looker_sdk.sdk.api40.models.Query'>
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError
Check failure on line 0 in tests.integration.test_methods
github-actions / Python Tests
1 out of 4 runs with error: test_it_matches_email_domain_and_returns_sorted (tests.integration.test_methods)
artifacts/python-test-results-large-ubuntu-26_8/large-ubuntu.Looker-26_8.py3.x-integration.xml [took 0s]
Raw output
failed on setup with "looker_sdk.error.SDKError:
message: This license has expired, please contact Looker to receive a new one.
documentation_url: https://docs.cloud.google.com/looker/docs/
error_doc_url:
error details:"
sdk40 = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
users = [{'first_name': 'Lloyd', 'last_name': 'Llookicorn'}, {'first_name': 'Zachary', 'last_name': 'Zoomify'}, {'first_name':...me': 'Bombastic'}, {'first_name': 'Aaron', 'last_name': 'Aardvark'}, {'first_name': 'Amanda', 'last_name': 'Aardvark'}]
email_domain = '@testfoo.com'
@pytest.fixture(name="test_users", scope="session")
def create_test_users(
sdk40: methods40.Looker40SDK, users: List[Dict[str, str]], email_domain: str
):
user_ids: List[int] = []
for u in users:
> users = sdk40.search_users(first_name=u["first_name"], last_name=u["last_name"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/conftest.py:92:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
looker_sdk/sdk/api40/methods.py:13306: in search_users
self.get(
looker_sdk/rtl/api_methods.py:158: in get
return self._return(response, structure)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <looker_sdk.sdk.api40.methods.Looker40SDK object at 0x7f474fc51550>
response = Response(ok=False, value=b'{"message":"This license has expired, please contact Looker to receive a new one.","documentation_url":"https://docs.cloud.google.com/looker/docs/"}', response_mode=<ResponseMode.STRING: 2>, encoding='utf-8')
structure = typing.Sequence[looker_sdk.sdk.api40.models.User]
def _return(self, response: transport.Response, structure: TStructure) -> TReturn:
encoding = response.encoding
if not response.ok:
value = response.value.decode(encoding=encoding)
sdk_error: error.SDKError
try:
sdk_error = self.deserialize(data=value, structure=error.SDKError) # type: ignore
helper = error.ErrorDocHelper()
(sdk_error.error_doc_url, sdk_error.error_doc) = (
helper.parse_and_lookup(sdk_error.documentation_url)
)
for e in sdk_error.errors:
(e.error_doc_url, e.error_doc) = helper.parse_and_lookup(
e.documentation_url
)
except serialize.DeserializeError:
raise error.SDKError(value)
> raise sdk_error
E looker_sdk.error.SDKError:
E message: This license has expired, please contact Looker to receive a new one.
E documentation_url: https://docs.cloud.google.com/looker/docs/
E error_doc_url:
E error details:
looker_sdk/rtl/api_methods.py:102: SDKError