You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by "akashchamp (via GitHub)" <gi...@apache.org> on 2026/09/11 18:08:01 UTC

[PR] [#4885] Return complete adapter descriptions in Python client

akashchamp opened a new pull request, #4919:
URL: https://github.com/apache/streampipes/pull/4919

   ### Purpose
   
   Fixes #4885.
   
   Make `adapterApi.get(identifier)` retrieve the complete adapter resource from `/api/v2/connect/master/adapters/{identifier}` and return an `AdapterDescription`. This preserves adapter configuration and data-stream detail needed for automation and reporting, while `adapterApi.all()` continues to return summary resources.
   
   ### Remarks
   
   `AdapterDescription` extends `AdapterSummary`, preserves unmodeled response fields for forward compatibility, and keeps the summary fields available to existing callers.
   
   Validation:
   
   - Manually exercised the real Python client against a local HTTP endpoint serving an adapter detail response. The client requested `/api/v2/connect/master/adapters/adapter-1` and retained the OPC UA server configuration and data-stream detail.
   - `make unit-tests` passed: 73 tests, 93.72% total coverage.
   - Focused mypy, flake8, isort, and Black checks passed for the changed files.
   - The full `make check` currently stops at existing project-wide mypy errors in untouched files. Repository-wide flake8 also reports two existing violations in unchanged `resource_container.py` and `exceptions.py`.
   
   PR introduces (a) breaking change(s): no
   
   PR introduces (a) deprecation(s): no
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4885] Return complete adapter descriptions in Python client

Posted by "akashchamp (via GitHub)" <gi...@apache.org>.
akashchamp closed pull request #4919: [#4885] Return complete adapter descriptions in Python client
URL: https://github.com/apache/streampipes/pull/4919


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org