stackit-intake 0.2.1__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/PKG-INFO +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/pyproject.toml +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/__init__.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/api/default_api.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/api_client.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/configuration.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/exceptions.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/__init__.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/catalog_auth.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/catalog_auth_patch.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/catalog_auth_type.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/client_config.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/create_intake_payload.py +10 -2
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/create_intake_runner_payload.py +10 -2
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/create_intake_user_payload.py +13 -3
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/dremio_auth.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/dremio_auth_patch.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/intake_catalog.py +2 -2
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/intake_catalog_patch.py +2 -2
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/intake_response.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/intake_runner_response.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/intake_user_response.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/list_intake_runners_response.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/list_intake_users_response.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/list_intakes_response.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/partitioning_type.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/update_intake_payload.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/update_intake_runner_payload.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/update_intake_user_payload.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/user_type.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/rest.py +1 -1
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/LICENSE.md +0 -0
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/NOTICE.txt +0 -0
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/README.md +0 -0
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/api/__init__.py +0 -0
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/api_response.py +0 -0
- {stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/py.typed +0 -0
{stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/create_intake_payload.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -15,9 +15,10 @@ from __future__ import annotations
|
|
|
15
15
|
|
|
16
16
|
import json
|
|
17
17
|
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
18
19
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
20
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
21
22
|
from typing_extensions import Annotated, Self
|
|
22
23
|
|
|
23
24
|
from stackit.intake.models.intake_catalog import IntakeCatalog
|
|
@@ -44,6 +45,13 @@ class CreateIntakePayload(BaseModel):
|
|
|
44
45
|
)
|
|
45
46
|
__properties: ClassVar[List[str]] = ["catalog", "description", "displayName", "intakeRunnerId", "labels"]
|
|
46
47
|
|
|
48
|
+
@field_validator("display_name")
|
|
49
|
+
def display_name_validate_regular_expression(cls, value):
|
|
50
|
+
"""Validates the regular expression"""
|
|
51
|
+
if not re.match(r"^[\p{L}\p{N} -]{1,32}$", value):
|
|
52
|
+
raise ValueError(r"must validate the regular expression /^[\p{L}\p{N} -]{1,32}$/")
|
|
53
|
+
return value
|
|
54
|
+
|
|
47
55
|
model_config = ConfigDict(
|
|
48
56
|
populate_by_name=True,
|
|
49
57
|
validate_assignment=True,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -15,9 +15,10 @@ from __future__ import annotations
|
|
|
15
15
|
|
|
16
16
|
import json
|
|
17
17
|
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
18
19
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
20
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
|
|
21
22
|
from typing_extensions import Annotated, Self
|
|
22
23
|
|
|
23
24
|
|
|
@@ -50,6 +51,13 @@ class CreateIntakeRunnerPayload(BaseModel):
|
|
|
50
51
|
"maxMessagesPerHour",
|
|
51
52
|
]
|
|
52
53
|
|
|
54
|
+
@field_validator("display_name")
|
|
55
|
+
def display_name_validate_regular_expression(cls, value):
|
|
56
|
+
"""Validates the regular expression"""
|
|
57
|
+
if not re.match(r"^[\p{L}\p{N} -]{1,32}$", value):
|
|
58
|
+
raise ValueError(r"must validate the regular expression /^[\p{L}\p{N} -]{1,32}$/")
|
|
59
|
+
return value
|
|
60
|
+
|
|
53
61
|
model_config = ConfigDict(
|
|
54
62
|
populate_by_name=True,
|
|
55
63
|
validate_assignment=True,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -15,9 +15,10 @@ from __future__ import annotations
|
|
|
15
15
|
|
|
16
16
|
import json
|
|
17
17
|
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
18
19
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
20
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
21
22
|
from typing_extensions import Annotated, Self
|
|
22
23
|
|
|
23
24
|
from stackit.intake.models.user_type import UserType
|
|
@@ -38,10 +39,19 @@ class CreateIntakeUserPayload(BaseModel):
|
|
|
38
39
|
labels: Optional[Dict[str, StrictStr]] = Field(
|
|
39
40
|
default=None, description="Labels are key-value pairs associated with the resource."
|
|
40
41
|
)
|
|
41
|
-
password: Annotated[str, Field(strict=True, max_length=128)] = Field(
|
|
42
|
+
password: Annotated[str, Field(min_length=12, strict=True, max_length=128)] = Field(
|
|
43
|
+
description="A password chosen by the user. The password must consist of at least of each of these categories: * lower case letter * upper case letter * number * other character "
|
|
44
|
+
)
|
|
42
45
|
type: Optional[UserType] = UserType.INTAKE
|
|
43
46
|
__properties: ClassVar[List[str]] = ["description", "displayName", "labels", "password", "type"]
|
|
44
47
|
|
|
48
|
+
@field_validator("display_name")
|
|
49
|
+
def display_name_validate_regular_expression(cls, value):
|
|
50
|
+
"""Validates the regular expression"""
|
|
51
|
+
if not re.match(r"^[\p{L}\p{N} -]{1,32}$", value):
|
|
52
|
+
raise ValueError(r"must validate the regular expression /^[\p{L}\p{N} -]{1,32}$/")
|
|
53
|
+
return value
|
|
54
|
+
|
|
45
55
|
model_config = ConfigDict(
|
|
46
56
|
populate_by_name=True,
|
|
47
57
|
validate_assignment=True,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -40,7 +40,7 @@ class IntakeCatalog(BaseModel):
|
|
|
40
40
|
alias="partitionBy",
|
|
41
41
|
)
|
|
42
42
|
partitioning: Optional[PartitioningType] = PartitioningType.NONE
|
|
43
|
-
table_name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=
|
|
43
|
+
table_name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=1024)]] = Field(
|
|
44
44
|
default=None,
|
|
45
45
|
description="The table name is a short name chosen by the user to identify the table in Iceberg.",
|
|
46
46
|
alias="tableName",
|
{stackit_intake-0.2.1 → stackit_intake-0.3.0}/src/stackit/intake/models/intake_catalog_patch.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
This API provides endpoints for managing Intakes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1beta.3.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.4
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -33,7 +33,7 @@ class IntakeCatalogPatch(BaseModel):
|
|
|
33
33
|
default="intake",
|
|
34
34
|
description="The namespace to which data shall be written. It will be automatically created, if it does not exist.",
|
|
35
35
|
)
|
|
36
|
-
table_name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=
|
|
36
|
+
table_name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=1024)]] = Field(
|
|
37
37
|
default=None,
|
|
38
38
|
description="The table name is a short name chosen by the user to identify the table in Iceberg.",
|
|
39
39
|
alias="tableName",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|