Skip to content

Commit d511865

Browse files
chore: add missing docstrings
1 parent f64c32a commit d511865

9 files changed

Lines changed: 130 additions & 0 deletions

src/brand/dev/types/brand_ai_query_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ class DataToExtract(TypedDict, total=False):
5656

5757

5858
class SpecificPages(TypedDict, total=False):
59+
"""Optional object specifying which pages to analyze"""
60+
5961
about_us: bool
6062
"""Whether to analyze the about us page"""
6163

src/brand/dev/types/brand_identify_from_transaction_response.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727
class BrandAddress(BaseModel):
28+
"""Physical address of the brand"""
29+
2830
city: Optional[str] = None
2931
"""City name"""
3032

@@ -56,6 +58,8 @@ class BrandBackdropColor(BaseModel):
5658

5759

5860
class BrandBackdropResolution(BaseModel):
61+
"""Resolution of the backdrop image"""
62+
5963
aspect_ratio: Optional[float] = None
6064
"""Aspect ratio of the image (width/height)"""
6165

@@ -340,11 +344,15 @@ class BrandIndustriesEic(BaseModel):
340344

341345

342346
class BrandIndustries(BaseModel):
347+
"""Industry classification information for the brand"""
348+
343349
eic: Optional[List[BrandIndustriesEic]] = None
344350
"""Easy Industry Classification - array of industry and subindustry pairs"""
345351

346352

347353
class BrandLinks(BaseModel):
354+
"""Important website links for the brand"""
355+
348356
blog: Optional[str] = None
349357
"""URL to the brand's blog or news page"""
350358

@@ -373,6 +381,8 @@ class BrandLogoColor(BaseModel):
373381

374382

375383
class BrandLogoResolution(BaseModel):
384+
"""Resolution of the logo image"""
385+
376386
aspect_ratio: Optional[float] = None
377387
"""Aspect ratio of the image (width/height)"""
378388

@@ -413,6 +423,10 @@ class BrandSocial(BaseModel):
413423

414424

415425
class BrandStock(BaseModel):
426+
"""
427+
Stock market information for this brand (will be null if not a publicly traded company)
428+
"""
429+
416430
exchange: Optional[str] = None
417431
"""Stock exchange name"""
418432

@@ -421,6 +435,8 @@ class BrandStock(BaseModel):
421435

422436

423437
class Brand(BaseModel):
438+
"""Detailed brand information"""
439+
424440
address: Optional[BrandAddress] = None
425441
"""Physical address of the brand"""
426442

src/brand/dev/types/brand_retrieve_by_email_response.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727
class BrandAddress(BaseModel):
28+
"""Physical address of the brand"""
29+
2830
city: Optional[str] = None
2931
"""City name"""
3032

@@ -56,6 +58,8 @@ class BrandBackdropColor(BaseModel):
5658

5759

5860
class BrandBackdropResolution(BaseModel):
61+
"""Resolution of the backdrop image"""
62+
5963
aspect_ratio: Optional[float] = None
6064
"""Aspect ratio of the image (width/height)"""
6165

@@ -340,11 +344,15 @@ class BrandIndustriesEic(BaseModel):
340344

341345

342346
class BrandIndustries(BaseModel):
347+
"""Industry classification information for the brand"""
348+
343349
eic: Optional[List[BrandIndustriesEic]] = None
344350
"""Easy Industry Classification - array of industry and subindustry pairs"""
345351

346352

347353
class BrandLinks(BaseModel):
354+
"""Important website links for the brand"""
355+
348356
blog: Optional[str] = None
349357
"""URL to the brand's blog or news page"""
350358

@@ -373,6 +381,8 @@ class BrandLogoColor(BaseModel):
373381

374382

375383
class BrandLogoResolution(BaseModel):
384+
"""Resolution of the logo image"""
385+
376386
aspect_ratio: Optional[float] = None
377387
"""Aspect ratio of the image (width/height)"""
378388

@@ -413,6 +423,10 @@ class BrandSocial(BaseModel):
413423

414424

415425
class BrandStock(BaseModel):
426+
"""
427+
Stock market information for this brand (will be null if not a publicly traded company)
428+
"""
429+
416430
exchange: Optional[str] = None
417431
"""Stock exchange name"""
418432

@@ -421,6 +435,8 @@ class BrandStock(BaseModel):
421435

422436

423437
class Brand(BaseModel):
438+
"""Detailed brand information"""
439+
424440
address: Optional[BrandAddress] = None
425441
"""Physical address of the brand"""
426442

src/brand/dev/types/brand_retrieve_by_isin_response.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727
class BrandAddress(BaseModel):
28+
"""Physical address of the brand"""
29+
2830
city: Optional[str] = None
2931
"""City name"""
3032

@@ -56,6 +58,8 @@ class BrandBackdropColor(BaseModel):
5658

5759

5860
class BrandBackdropResolution(BaseModel):
61+
"""Resolution of the backdrop image"""
62+
5963
aspect_ratio: Optional[float] = None
6064
"""Aspect ratio of the image (width/height)"""
6165

@@ -340,11 +344,15 @@ class BrandIndustriesEic(BaseModel):
340344

341345

342346
class BrandIndustries(BaseModel):
347+
"""Industry classification information for the brand"""
348+
343349
eic: Optional[List[BrandIndustriesEic]] = None
344350
"""Easy Industry Classification - array of industry and subindustry pairs"""
345351

346352

347353
class BrandLinks(BaseModel):
354+
"""Important website links for the brand"""
355+
348356
blog: Optional[str] = None
349357
"""URL to the brand's blog or news page"""
350358

@@ -373,6 +381,8 @@ class BrandLogoColor(BaseModel):
373381

374382

375383
class BrandLogoResolution(BaseModel):
384+
"""Resolution of the logo image"""
385+
376386
aspect_ratio: Optional[float] = None
377387
"""Aspect ratio of the image (width/height)"""
378388

@@ -413,6 +423,10 @@ class BrandSocial(BaseModel):
413423

414424

415425
class BrandStock(BaseModel):
426+
"""
427+
Stock market information for this brand (will be null if not a publicly traded company)
428+
"""
429+
416430
exchange: Optional[str] = None
417431
"""Stock exchange name"""
418432

@@ -421,6 +435,8 @@ class BrandStock(BaseModel):
421435

422436

423437
class Brand(BaseModel):
438+
"""Detailed brand information"""
439+
424440
address: Optional[BrandAddress] = None
425441
"""Physical address of the brand"""
426442

src/brand/dev/types/brand_retrieve_by_name_response.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727
class BrandAddress(BaseModel):
28+
"""Physical address of the brand"""
29+
2830
city: Optional[str] = None
2931
"""City name"""
3032

@@ -56,6 +58,8 @@ class BrandBackdropColor(BaseModel):
5658

5759

5860
class BrandBackdropResolution(BaseModel):
61+
"""Resolution of the backdrop image"""
62+
5963
aspect_ratio: Optional[float] = None
6064
"""Aspect ratio of the image (width/height)"""
6165

@@ -340,11 +344,15 @@ class BrandIndustriesEic(BaseModel):
340344

341345

342346
class BrandIndustries(BaseModel):
347+
"""Industry classification information for the brand"""
348+
343349
eic: Optional[List[BrandIndustriesEic]] = None
344350
"""Easy Industry Classification - array of industry and subindustry pairs"""
345351

346352

347353
class BrandLinks(BaseModel):
354+
"""Important website links for the brand"""
355+
348356
blog: Optional[str] = None
349357
"""URL to the brand's blog or news page"""
350358

@@ -373,6 +381,8 @@ class BrandLogoColor(BaseModel):
373381

374382

375383
class BrandLogoResolution(BaseModel):
384+
"""Resolution of the logo image"""
385+
376386
aspect_ratio: Optional[float] = None
377387
"""Aspect ratio of the image (width/height)"""
378388

@@ -413,6 +423,10 @@ class BrandSocial(BaseModel):
413423

414424

415425
class BrandStock(BaseModel):
426+
"""
427+
Stock market information for this brand (will be null if not a publicly traded company)
428+
"""
429+
416430
exchange: Optional[str] = None
417431
"""Stock exchange name"""
418432

@@ -421,6 +435,8 @@ class BrandStock(BaseModel):
421435

422436

423437
class Brand(BaseModel):
438+
"""Detailed brand information"""
439+
424440
address: Optional[BrandAddress] = None
425441
"""Physical address of the brand"""
426442

src/brand/dev/types/brand_retrieve_by_ticker_response.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727
class BrandAddress(BaseModel):
28+
"""Physical address of the brand"""
29+
2830
city: Optional[str] = None
2931
"""City name"""
3032

@@ -56,6 +58,8 @@ class BrandBackdropColor(BaseModel):
5658

5759

5860
class BrandBackdropResolution(BaseModel):
61+
"""Resolution of the backdrop image"""
62+
5963
aspect_ratio: Optional[float] = None
6064
"""Aspect ratio of the image (width/height)"""
6165

@@ -340,11 +344,15 @@ class BrandIndustriesEic(BaseModel):
340344

341345

342346
class BrandIndustries(BaseModel):
347+
"""Industry classification information for the brand"""
348+
343349
eic: Optional[List[BrandIndustriesEic]] = None
344350
"""Easy Industry Classification - array of industry and subindustry pairs"""
345351

346352

347353
class BrandLinks(BaseModel):
354+
"""Important website links for the brand"""
355+
348356
blog: Optional[str] = None
349357
"""URL to the brand's blog or news page"""
350358

@@ -373,6 +381,8 @@ class BrandLogoColor(BaseModel):
373381

374382

375383
class BrandLogoResolution(BaseModel):
384+
"""Resolution of the logo image"""
385+
376386
aspect_ratio: Optional[float] = None
377387
"""Aspect ratio of the image (width/height)"""
378388

@@ -413,6 +423,10 @@ class BrandSocial(BaseModel):
413423

414424

415425
class BrandStock(BaseModel):
426+
"""
427+
Stock market information for this brand (will be null if not a publicly traded company)
428+
"""
429+
416430
exchange: Optional[str] = None
417431
"""Stock exchange name"""
418432

@@ -421,6 +435,8 @@ class BrandStock(BaseModel):
421435

422436

423437
class Brand(BaseModel):
438+
"""Detailed brand information"""
439+
424440
address: Optional[BrandAddress] = None
425441
"""Physical address of the brand"""
426442

src/brand/dev/types/brand_retrieve_response.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727
class BrandAddress(BaseModel):
28+
"""Physical address of the brand"""
29+
2830
city: Optional[str] = None
2931
"""City name"""
3032

@@ -56,6 +58,8 @@ class BrandBackdropColor(BaseModel):
5658

5759

5860
class BrandBackdropResolution(BaseModel):
61+
"""Resolution of the backdrop image"""
62+
5963
aspect_ratio: Optional[float] = None
6064
"""Aspect ratio of the image (width/height)"""
6165

@@ -340,11 +344,15 @@ class BrandIndustriesEic(BaseModel):
340344

341345

342346
class BrandIndustries(BaseModel):
347+
"""Industry classification information for the brand"""
348+
343349
eic: Optional[List[BrandIndustriesEic]] = None
344350
"""Easy Industry Classification - array of industry and subindustry pairs"""
345351

346352

347353
class BrandLinks(BaseModel):
354+
"""Important website links for the brand"""
355+
348356
blog: Optional[str] = None
349357
"""URL to the brand's blog or news page"""
350358

@@ -373,6 +381,8 @@ class BrandLogoColor(BaseModel):
373381

374382

375383
class BrandLogoResolution(BaseModel):
384+
"""Resolution of the logo image"""
385+
376386
aspect_ratio: Optional[float] = None
377387
"""Aspect ratio of the image (width/height)"""
378388

@@ -413,6 +423,10 @@ class BrandSocial(BaseModel):
413423

414424

415425
class BrandStock(BaseModel):
426+
"""
427+
Stock market information for this brand (will be null if not a publicly traded company)
428+
"""
429+
416430
exchange: Optional[str] = None
417431
"""Stock exchange name"""
418432

@@ -421,6 +435,8 @@ class BrandStock(BaseModel):
421435

422436

423437
class Brand(BaseModel):
438+
"""Detailed brand information"""
439+
424440
address: Optional[BrandAddress] = None
425441
"""Physical address of the brand"""
426442

0 commit comments

Comments
 (0)