Skip to content

Commit 830a57a

Browse files
committed
@sanderegg review: deprecation issue
1 parent 69346bd commit 830a57a

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

packages/models-library/src/models_library/projects_nodes.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ class Node(BaseModel):
244244
le=100,
245245
description="the node progress value",
246246
deprecated=True, # NOTE: still used in the File Picker (frontend nodes) and must be removed first from there before retiring it here
247+
# SEE https://github.com/ITISFoundation/osparc-simcore/issues/8365
247248
),
248249
] = None
249250

@@ -253,6 +254,7 @@ class Node(BaseModel):
253254
description="url of the latest screenshot of the node",
254255
examples=["https://placeimg.com/171/96/tech/grayscale/?0.jpg"],
255256
deprecated=True,
257+
# SEE https://github.com/ITISFoundation/osparc-simcore/issues/8365
256258
),
257259
] = None
258260

@@ -316,6 +318,7 @@ class Node(BaseModel):
316318
Field(
317319
deprecated=True,
318320
alias="outputNode",
321+
# SEE https://github.com/ITISFoundation/osparc-simcore/issues/8365
319322
),
320323
] = None
321324

@@ -325,6 +328,7 @@ class Node(BaseModel):
325328
description="Used in group-nodes. Node IDs of those connected to the output",
326329
alias="outputNodes",
327330
deprecated=True,
331+
# SEE https://github.com/ITISFoundation/osparc-simcore/issues/8365
328332
),
329333
] = None
330334

@@ -333,6 +337,7 @@ class Node(BaseModel):
333337
Field(
334338
description="Parent's (group-nodes') node ID s. Used to group",
335339
deprecated=True,
340+
# SEE https://github.com/ITISFoundation/osparc-simcore/issues/8365
336341
),
337342
] = None
338343

services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14006,13 +14006,12 @@ components:
1400614006
description: The short name of the node
1400714007
progress:
1400814008
anyOf:
14009-
- type: integer
14010-
maximum: 100
14011-
minimum: 0
14009+
- type: number
14010+
maximum: 100.0
14011+
minimum: 0.0
1401214012
- type: 'null'
1401314013
title: Progress
14014-
description: the node progress value (deprecated in DB, still used for API
14015-
only)
14014+
description: the node progress value
1401614015
deprecated: true
1401714016
thumbnail:
1401814017
anyOf:
@@ -14024,6 +14023,7 @@ components:
1402414023
- type: 'null'
1402514024
title: Thumbnail
1402614025
description: url of the latest screenshot of the node
14026+
deprecated: true
1402714027
runHash:
1402814028
anyOf:
1402914029
- type: string
@@ -14149,13 +14149,12 @@ components:
1414914149
description: The short name of the node
1415014150
progress:
1415114151
anyOf:
14152-
- type: integer
14153-
maximum: 100
14154-
minimum: 0
14152+
- type: number
14153+
maximum: 100.0
14154+
minimum: 0.0
1415514155
- type: 'null'
1415614156
title: Progress
14157-
description: the node progress value (deprecated in DB, still used for API
14158-
only)
14157+
description: the node progress value
1415914158
deprecated: true
1416014159
thumbnail:
1416114160
anyOf:
@@ -14167,6 +14166,7 @@ components:
1416714166
- type: 'null'
1416814167
title: Thumbnail
1416914168
description: url of the latest screenshot of the node
14169+
deprecated: true
1417014170
runHash:
1417114171
anyOf:
1417214172
- type: string

0 commit comments

Comments
 (0)