Skip to content

Commit 454d50d

Browse files
algolia-botsbellone
andcommitted
fix(specs): ingestion small fix + added source input descriptions (generated)
algolia/api-clients-automation#5515 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Sylvain Bellone <[email protected]>
1 parent f9f245c commit 454d50d

11 files changed

+10
-14
lines changed

algoliasearch/ingestion/models/authentication_update.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@
2020

2121
from algoliasearch.ingestion.models.auth_input_partial import AuthInputPartial
2222
from algoliasearch.ingestion.models.authentication_type import AuthenticationType
23-
from algoliasearch.ingestion.models.platform import Platform
2423

2524
_ALIASES = {
2625
"type": "type",
2726
"name": "name",
28-
"platform": "platform",
2927
"input": "input",
3028
}
3129

@@ -42,7 +40,6 @@ class AuthenticationUpdate(BaseModel):
4240
type: Optional[AuthenticationType] = None
4341
name: Optional[str] = None
4442
""" Descriptive name for the resource. """
45-
platform: Optional[Platform] = None
4643
input: Optional[AuthInputPartial] = None
4744

4845
model_config = ConfigDict(
@@ -81,7 +78,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
8178
return cls.model_validate(obj)
8279

8380
obj["type"] = obj.get("type")
84-
obj["platform"] = obj.get("platform")
8581
obj["input"] = (
8682
AuthInputPartial.from_dict(obj["input"])
8783
if obj.get("input") is not None

algoliasearch/ingestion/models/source_big_commerce.py

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

3737
class SourceBigCommerce(BaseModel):
3838
"""
39-
SourceBigCommerce
39+
Specific configuration attributes of a `bigcommerce` source.
4040
"""
4141

4242
store_hash: str

algoliasearch/ingestion/models/source_big_query.py

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

3838
class SourceBigQuery(BaseModel):
3939
"""
40-
SourceBigQuery
40+
Specific configuration attributes of a `bigquery` source.
4141
"""
4242

4343
project_id: str

algoliasearch/ingestion/models/source_commercetools.py

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

4040
class SourceCommercetools(BaseModel):
4141
"""
42-
SourceCommercetools
42+
Specific configuration attributes of a `commercetools` source.
4343
"""
4444

4545
store_keys: Optional[List[str]] = None

algoliasearch/ingestion/models/source_csv.py

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

3737
class SourceCSV(BaseModel):
3838
"""
39-
SourceCSV
39+
Specific configuration attributes of a `csv` source.
4040
"""
4141

4242
url: str

algoliasearch/ingestion/models/source_docker.py

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

3131
class SourceDocker(BaseModel):
3232
"""
33-
SourceDocker
33+
Specific configuration attributes of a `docker` source.
3434
"""
3535

3636
image: str

algoliasearch/ingestion/models/source_ga4_big_query_export.py

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

3232
class SourceGA4BigQueryExport(BaseModel):
3333
"""
34-
SourceGA4BigQueryExport
34+
Specific configuration attributes of a `ga4BigqueryExport` source.
3535
"""
3636

3737
project_id: str

algoliasearch/ingestion/models/source_json.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 SourceJSON(BaseModel):
3535
"""
36-
SourceJSON
36+
Specific configuration attributes of a `json` source.
3737
"""
3838

3939
url: str

algoliasearch/ingestion/models/source_update_commercetools.py

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

3939
class SourceUpdateCommercetools(BaseModel):
4040
"""
41-
SourceUpdateCommercetools
41+
Specific configuration attributes of a `commercetools` source.
4242
"""
4343

4444
store_keys: Optional[List[str]] = None

algoliasearch/ingestion/models/source_update_docker.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 SourceUpdateDocker(BaseModel):
3131
"""
32-
SourceUpdateDocker
32+
Specific configuration attributes of a `docker` source.
3333
"""
3434

3535
configuration: object

0 commit comments

Comments
 (0)