-
Notifications
You must be signed in to change notification settings - Fork 32
🐛 Enhance response when retrieving Solver functions #8153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
giancarloromeo
merged 15 commits into
ITISFoundation:master
from
giancarloromeo:is1905/fix-functions-endpoint-for-solvers
Jul 28, 2025
Merged
Changes from 9 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
b1961b8
fix: solver functions get response
giancarloromeo 4c549d5
feat: enrich solver functions response
giancarloromeo 4500527
fix: access rights
giancarloromeo e0173c4
fix: thumbnail
giancarloromeo 8b75bf6
fix: rename
giancarloromeo 8207d9e
fix: get service metadata from_attributes
giancarloromeo 6f6a4a7
tests: add solver function case
giancarloromeo 494a094
Merge branch 'master' into is1905/fix-functions-endpoint-for-solvers
giancarloromeo bc015d3
Merge branch 'master' into is1905/fix-functions-endpoint-for-solvers
giancarloromeo 39ead96
fix: remove unused logger
giancarloromeo 3bdabe2
Merge branch 'is1905/fix-functions-endpoint-for-solvers' of github.co…
giancarloromeo 7abd67d
Merge remote-tracking branch 'upstream/master' into is1905/fix-functi…
giancarloromeo c3d9252
fix: thumbnail
giancarloromeo e603d0a
fix: use caching
giancarloromeo d3e0c1c
fix: openapi-spec
giancarloromeo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
5 changes: 5 additions & 0 deletions
5
services/web/server/src/simcore_service_webserver/functions/_services_metadata/_errors.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| from common_library.errors_classes import OsparcErrorMixin | ||
|
|
||
|
|
||
| class ServiceMetadataNotFoundError(OsparcErrorMixin, Exception): | ||
| msg_template = "Service metadata for key {key} and version {version} not found" |
8 changes: 8 additions & 0 deletions
8
services/web/server/src/simcore_service_webserver/functions/_services_metadata/_models.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| from models_library.services_types import ServiceKey, ServiceVersion | ||
| from pydantic import BaseModel, HttpUrl | ||
|
|
||
|
|
||
| class ServiceMetadata(BaseModel): | ||
| key: ServiceKey | ||
| version: ServiceVersion | ||
| thumbnail: HttpUrl | None |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.