File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
packages/models-library/src/models_library
services/web/server/src/simcore_service_webserver/api/v0 Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class SearchFilters(InputSchema):
8686 str ,
8787 ensure_pattern_has_enough_characters (),
8888 Field (
89- description = f"Name pattern with wildcard support { tuple (WILDCARD_CHARS )} . "
89+ description = f"Name pattern with wildcard support ( { ', ' . join (WILDCARD_CHARS )} ) . "
9090 f"Minimum of { MIN_NON_WILDCARD_CHARS } non-wildcard characters required." ,
9191 ),
9292 ]
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class MyModel(BaseModel):
2525from pydantic import BaseModel , BeforeValidator
2626from pydantic .alias_generators import to_camel
2727
28- WILDCARD_CHARS : Final [set [str ]] = { "*" , "?" }
28+ WILDCARD_CHARS : Final [list [str ]] = [ "*" , "?" ]
2929MIN_NON_WILDCARD_CHARS : Final [int ] = 3
3030
3131
Original file line number Diff line number Diff line change @@ -17124,13 +17124,20 @@ components:
1712417124 namePattern:
1712517125 type: string
1712617126 title: Namepattern
17127- description: Name pattern with wildcard support ('*', '?' ). Minimum of 3
17128- non-wildcard characters required.
17127+ description: Name pattern with wildcard support (*, ? ). Minimum of 3 non-wildcard
17128+ characters required.
1712917129 modifiedAt:
1713017130 anyOf:
1713117131 - $ref: '#/components/schemas/SearchTimerangeFilter'
1713217132 - type: 'null'
1713317133 description: Filter results based on modification date range
17134+ projectId:
17135+ anyOf:
17136+ - type: string
17137+ format: uuid
17138+ - type: 'null'
17139+ title: Projectid
17140+ description: If provided, only files within this project are searched
1713417141 type: object
1713517142 required:
1713617143 - namePattern
You can’t perform that action at this time.
0 commit comments