Skip to content

Commit

Permalink
@sanderegg review: doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Oct 31, 2022
1 parent fcfb066 commit 27e03eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ class ServicePortGet(BaseModel):
)
kind: PortKindStr
content_media_type: Optional[str] = None
content_schema: Optional[dict[str, Any]] = None
content_schema: Optional[dict[str, Any]] = Field(
None,
description="jsonschema for the port's value. SEE https://json-schema.org/understanding-json-schema/",
)

class Config:
schema_extra = {
Expand Down
9 changes: 4 additions & 5 deletions services/catalog/tests/unit/with_dbs/conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint:disable=unused-variable
# pylint:disable=unused-argument
# pylint:disable=redefined-outer-name
# pylint:disable=not-context-manager
# pylint: disable=not-context-manager
# pylint: disable=redefined-outer-name
# pylint: disable=unused-argument
# pylint: disable=unused-variable

import itertools
import random
Expand Down Expand Up @@ -249,7 +249,6 @@ async def service_metadata_faker(faker: Faker) -> Callable:
"""Returns a factory to produce fake
service metadata
"""
# TODO: use ServiceDockerData.Config.schema_extra as well
template = {
"integration-version": "1.0.0",
"key": "simcore/services/comp/itis/sleeper",
Expand Down

0 comments on commit 27e03eb

Please sign in to comment.