Skip to content

Fix PE API key login controller loading#191

Closed
ilyar wants to merge 2 commits into
thingsboard:masterfrom
ever-guild:fix/pe-api-key-login-controllers
Closed

Fix PE API key login controller loading#191
ilyar wants to merge 2 commits into
thingsboard:masterfrom
ever-guild:fix/pe-api-key-login-controllers

Conversation

@ilyar
Copy link
Copy Markdown

@ilyar ilyar commented May 27, 2026

Summary

  • reload PE controllers after RestClientPE.api_key_login(...)
  • add a serverless regression test for PE controller selection after API-key login

Fixes #190

Validation

  • python3 -m py_compile tb_rest_client/rest_client_pe.py
  • python3 -m unittest test.test_rest_client_pe_api_key_login

@ilyar ilyar marked this pull request as ready for review May 27, 2026 15:17
@ilyar
Copy link
Copy Markdown
Author

ilyar commented May 27, 2026

Closing this as a duplicate of #189. I opened a smaller follow-up PR with only regression coverage against the existing branch: eRJx#1

@ilyar ilyar closed this May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initializing the incorrect API version of controllers (from CE instead of PE) when using the api_key_login(..) method on a RestClientPE object.

1 participant