Skip to content

Commit 80fd501

Browse files
algolia-botkai687millotp
committed
fix(specs): adjust style for banner descriptions (generated)
algolia/api-clients-automation#4362 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent d2a552c commit 80fd501

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

algoliasearch/recommend/models/banner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _alias_generator(name: str) -> str:
3333

3434
class Banner(BaseModel):
3535
"""
36-
a search banner with image and url.
36+
Banner with image and link to redirect users.
3737
"""
3838

3939
image: Optional[BannerImage] = None

algoliasearch/recommend/models/banner_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def _alias_generator(name: str) -> str:
3232

3333
class BannerImage(BaseModel):
3434
"""
35-
image of a search banner.
35+
Image to show inside a banner.
3636
"""
3737

3838
urls: Optional[List[BannerImageUrl]] = None

algoliasearch/recommend/models/banner_image_url.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _alias_generator(name: str) -> str:
2929

3030
class BannerImageUrl(BaseModel):
3131
"""
32-
url for a search banner image.
32+
URL for an image to show inside a banner.
3333
"""
3434

3535
url: Optional[str] = None

algoliasearch/recommend/models/banner_link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _alias_generator(name: str) -> str:
2929

3030
class BannerLink(BaseModel):
3131
"""
32-
link for a banner defined in merchandising studio.
32+
Link for a banner defined in the Merchandising Studio.
3333
"""
3434

3535
url: Optional[str] = None

algoliasearch/recommend/models/widgets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ def _alias_generator(name: str) -> str:
3131

3232
class Widgets(BaseModel):
3333
"""
34-
widgets returned from any rules that are applied to the current search.
34+
Widgets returned from any rules that are applied to the current search.
3535
"""
3636

3737
banners: Optional[List[Banner]] = None
38-
""" banners defined in the merchandising studio for the given search. """
38+
""" Banners defined in the Merchandising Studio for a given search. """
3939

4040
model_config = ConfigDict(
4141
strict=False,

algoliasearch/search/models/banner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _alias_generator(name: str) -> str:
3333

3434
class Banner(BaseModel):
3535
"""
36-
a search banner with image and url.
36+
Banner with image and link to redirect users.
3737
"""
3838

3939
image: Optional[BannerImage] = None

algoliasearch/search/models/banner_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def _alias_generator(name: str) -> str:
3232

3333
class BannerImage(BaseModel):
3434
"""
35-
image of a search banner.
35+
Image to show inside a banner.
3636
"""
3737

3838
urls: Optional[List[BannerImageUrl]] = None

algoliasearch/search/models/banner_image_url.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _alias_generator(name: str) -> str:
2929

3030
class BannerImageUrl(BaseModel):
3131
"""
32-
url for a search banner image.
32+
URL for an image to show inside a banner.
3333
"""
3434

3535
url: Optional[str] = None

algoliasearch/search/models/banner_link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _alias_generator(name: str) -> str:
2929

3030
class BannerLink(BaseModel):
3131
"""
32-
link for a banner defined in merchandising studio.
32+
Link for a banner defined in the Merchandising Studio.
3333
"""
3434

3535
url: Optional[str] = None

algoliasearch/search/models/widgets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ def _alias_generator(name: str) -> str:
3131

3232
class Widgets(BaseModel):
3333
"""
34-
widgets returned from any rules that are applied to the current search.
34+
Widgets returned from any rules that are applied to the current search.
3535
"""
3636

3737
banners: Optional[List[Banner]] = None
38-
""" banners defined in the merchandising studio for the given search. """
38+
""" Banners defined in the Merchandising Studio for a given search. """
3939

4040
model_config = ConfigDict(
4141
strict=False,

0 commit comments

Comments
 (0)