Skip to content

Commit

Permalink
♻️ webserver: fixes mypy issues in version_control plugin (#4102)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov authored Apr 14, 2023
1 parent 10d1ef7 commit ae41466
Show file tree
Hide file tree
Showing 29 changed files with 884 additions and 895 deletions.
16 changes: 8 additions & 8 deletions api/specs/webserver/openapi-version-control.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ paths:
- repository
summary: List Repos
description: List info about versioned projects
operationId: simcore_service_webserver.version_control_handlers._list_repos_handler
operationId: simcore_service_webserver.version_control._rest_handlers._list_repos_handler
parameters:
- description: index to the first item to return (pagination)
required: false
Expand Down Expand Up @@ -47,7 +47,7 @@ paths:
- repository
summary: List Checkpoints
description: Lists commits&tags tree of the project
operationId: simcore_service_webserver.version_control_handlers._list_checkpoints_handler
operationId: simcore_service_webserver.version_control._rest_handlers._list_checkpoints_handler
parameters:
- description: Project unique identifier
required: true
Expand Down Expand Up @@ -96,7 +96,7 @@ paths:
tags:
- repository
summary: Create Checkpoint
operationId: simcore_service_webserver.version_control_handlers._create_checkpoint_handler
operationId: simcore_service_webserver.version_control._rest_handlers._create_checkpoint_handler
parameters:
- description: Project unique identifier
required: true
Expand Down Expand Up @@ -132,7 +132,7 @@ paths:
- repository
summary: Gets HEAD (i.e. current) checkpoint
description: Get current commit
operationId: simcore_service_webserver.version_control_handlers._get_checkpoint_handler_head
operationId: simcore_service_webserver.version_control._rest_handlers._get_checkpoint_handler_head
parameters:
- description: Project unique identifier
required: true
Expand Down Expand Up @@ -162,7 +162,7 @@ paths:
- repository
summary: Get Checkpoint
description: Set ref_id=HEAD to return current commit
operationId: simcore_service_webserver.version_control_handlers._get_checkpoint_handler
operationId: simcore_service_webserver.version_control._rest_handlers._get_checkpoint_handler
parameters:
- description: A repository ref (commit, tag or branch)
required: true
Expand Down Expand Up @@ -201,7 +201,7 @@ paths:
tags:
- repository
summary: Update Checkpoint Annotations
operationId: simcore_service_webserver.version_control_handlers._update_checkpoint_annotations_handler
operationId: simcore_service_webserver.version_control._rest_handlers._update_checkpoint_annotations_handler
parameters:
- description: A repository ref (commit, tag or branch)
required: true
Expand Down Expand Up @@ -250,7 +250,7 @@ paths:
description: |-
Affect current working copy of the project, i.e. get_project will now return
the check out
operationId: simcore_service_webserver.version_control_handlers._checkout_handler
operationId: simcore_service_webserver.version_control._rest_handlers._checkout_handler
parameters:
- description: A repository ref (commit, tag or branch)
required: true
Expand Down Expand Up @@ -291,7 +291,7 @@ paths:
- repository
summary: View Project Workbench
description: Returns a view of the workbench for a given project's version
operationId: simcore_service_webserver.version_control_handlers._view_project_workbench_handler
operationId: simcore_service_webserver.version_control._rest_handlers._view_project_workbench_handler
parameters:
- description: A repository ref (commit, tag or branch)
required: true
Expand Down
2 changes: 1 addition & 1 deletion api/specs/webserver/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.0
info:
title: "osparc-simcore web API"
version: 0.17.1
version: 0.17.2
description: "API designed for the front-end app"
contact:
name: IT'IS Foundation
Expand Down
2 changes: 1 addition & 1 deletion services/web/server/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.17.1
0.17.2
2 changes: 1 addition & 1 deletion services/web/server/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.17.1
current_version = 0.17.2
commit = True
message = services/webserver api version: {current_version} → {new_version}
tag = False
Expand Down
10 changes: 10 additions & 0 deletions services/web/server/src/simcore_service_webserver/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,13 @@

# Public config per product returned in /config
APP_PUBLIC_CONFIG_PER_PRODUCT: Final[str] = f"{__name__}.APP_PUBLIC_CONFIG_PER_PRODUCT"


__all__: tuple[str, ...] = (
"APP_CONFIG_KEY",
"APP_DB_ENGINE_KEY",
"APP_FIRE_AND_FORGET_TASKS_KEY",
"APP_JSONSCHEMA_SPECS_KEY",
"APP_OPENAPI_SPECS_KEY",
"APP_SETTINGS_KEY",
)
Loading

0 comments on commit ae41466

Please sign in to comment.