Skip to content

Commit 054551d

Browse files
committed
pylint and oas
1 parent e9fda88 commit 054551d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/postgres-database/src/simcore_postgres_database/utils_projects_nodes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class ProjectNodeCreate(BaseModel):
7272
def get_field_names(cls, *, exclude: set[str]) -> set[str]:
7373
return cls.model_fields.keys() - exclude
7474

75-
def _get_node_exclude_fields(self) -> set[str]:
75+
def _get_node_exclude_fields(self) -> set[str]: # pylint: disable=no-self-use
7676
"""Get the base fields to exclude when converting to Node model."""
7777
return {"node_id", "required_resources"}
7878

@@ -100,7 +100,7 @@ class ProjectNode(ProjectNodeCreate):
100100

101101
model_config = ConfigDict(from_attributes=True)
102102

103-
def _get_node_exclude_fields(self) -> set[str]:
103+
def _get_node_exclude_fields(self) -> set[str]: # pylint: disable=no-self-use
104104
"""Get the fields to exclude when converting to Node model, including DB-specific fields."""
105105
base_excludes = super()._get_node_exclude_fields()
106106
return base_excludes | {"created", "modified"}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13523,13 +13523,15 @@ components:
1352313523
- type: 'null'
1352413524
title: Outputnodes
1352513525
description: Used in group-nodes. Node IDs of those connected to the output
13526+
deprecated: true
1352613527
parent:
1352713528
anyOf:
1352813529
- type: string
1352913530
format: uuid
1353013531
- type: 'null'
1353113532
title: Parent
1353213533
description: Parent's (group-nodes') node ID s. Used to group
13534+
deprecated: true
1353313535
position:
1353413536
anyOf:
1353513537
- $ref: '#/components/schemas/Position'
@@ -13656,13 +13658,15 @@ components:
1365613658
- type: 'null'
1365713659
title: Outputnodes
1365813660
description: Used in group-nodes. Node IDs of those connected to the output
13661+
deprecated: true
1365913662
parent:
1366013663
anyOf:
1366113664
- type: string
1366213665
format: uuid
1366313666
- type: 'null'
1366413667
title: Parent
1366513668
description: Parent's (group-nodes') node ID s. Used to group
13669+
deprecated: true
1366613670
position:
1366713671
anyOf:
1366813672
- $ref: '#/components/schemas/Position'

0 commit comments

Comments
 (0)