stackit-intake 0.1.1__tar.gz → 0.1.2__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.1.1 → stackit_intake-0.1.2}/PKG-INFO +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/pyproject.toml +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/__init__.py +3 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/api/default_api.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/api_client.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/configuration.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/exceptions.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/__init__.py +2 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/catalog_auth.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/catalog_auth_patch.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/catalog_auth_type.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/client_config.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/create_intake_payload.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/create_intake_runner_payload.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/create_intake_user_payload.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/dremio_auth.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/dremio_auth_patch.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/intake_catalog.py +18 -3
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/intake_catalog_patch.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/intake_response.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/intake_runner_response.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/intake_user_response.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/list_intake_runners_response.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/list_intake_users_response.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/list_intakes_response.py +1 -1
- stackit_intake-0.1.2/src/stackit/intake/models/partitioning_type.py +37 -0
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/update_intake_payload.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/update_intake_runner_payload.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/update_intake_user_payload.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/models/user_type.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/rest.py +1 -1
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/LICENSE.md +0 -0
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/NOTICE.txt +0 -0
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/README.md +0 -0
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/api/__init__.py +0 -0
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/api_response.py +0 -0
- {stackit_intake-0.1.1 → stackit_intake-0.1.2}/src/stackit/intake/py.typed +0 -0
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
This API provides endpoints for managing Intakes.
|
|
9
9
|
|
|
10
|
-
The version of the OpenAPI document: 1beta.
|
|
10
|
+
The version of the OpenAPI document: 1beta.3.1
|
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
12
|
|
|
13
13
|
Do not edit the class manually.
|
|
@@ -45,6 +45,7 @@ __all__ = [
|
|
|
45
45
|
"ListIntakeRunnersResponse",
|
|
46
46
|
"ListIntakeUsersResponse",
|
|
47
47
|
"ListIntakesResponse",
|
|
48
|
+
"PartitioningType",
|
|
48
49
|
"UpdateIntakePayload",
|
|
49
50
|
"UpdateIntakeRunnerPayload",
|
|
50
51
|
"UpdateIntakeUserPayload",
|
|
@@ -103,6 +104,7 @@ from stackit.intake.models.list_intake_users_response import (
|
|
|
103
104
|
from stackit.intake.models.list_intakes_response import (
|
|
104
105
|
ListIntakesResponse as ListIntakesResponse,
|
|
105
106
|
)
|
|
107
|
+
from stackit.intake.models.partitioning_type import PartitioningType as PartitioningType
|
|
106
108
|
from stackit.intake.models.update_intake_payload import (
|
|
107
109
|
UpdateIntakePayload as UpdateIntakePayload,
|
|
108
110
|
)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
This API provides endpoints for managing Intakes.
|
|
8
8
|
|
|
9
|
-
The version of the OpenAPI document: 1beta.
|
|
9
|
+
The version of the OpenAPI document: 1beta.3.1
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
@@ -31,6 +31,7 @@ from stackit.intake.models.intake_user_response import IntakeUserResponse
|
|
|
31
31
|
from stackit.intake.models.list_intake_runners_response import ListIntakeRunnersResponse
|
|
32
32
|
from stackit.intake.models.list_intake_users_response import ListIntakeUsersResponse
|
|
33
33
|
from stackit.intake.models.list_intakes_response import ListIntakesResponse
|
|
34
|
+
from stackit.intake.models.partitioning_type import PartitioningType
|
|
34
35
|
from stackit.intake.models.update_intake_payload import UpdateIntakePayload
|
|
35
36
|
from stackit.intake.models.update_intake_runner_payload import UpdateIntakeRunnerPayload
|
|
36
37
|
from stackit.intake.models.update_intake_user_payload import UpdateIntakeUserPayload
|
|
@@ -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.
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.1
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field
|
|
|
21
21
|
from typing_extensions import Annotated, Self
|
|
22
22
|
|
|
23
23
|
from stackit.intake.models.catalog_auth import CatalogAuth
|
|
24
|
+
from stackit.intake.models.partitioning_type import PartitioningType
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
class IntakeCatalog(BaseModel):
|
|
@@ -34,8 +35,11 @@ class IntakeCatalog(BaseModel):
|
|
|
34
35
|
description="The namespace to which data shall be written. It will be automatically created, if it does not exist.",
|
|
35
36
|
)
|
|
36
37
|
partition_by: Optional[List[Annotated[str, Field(strict=True, max_length=1024)]]] = Field(
|
|
37
|
-
default=None,
|
|
38
|
+
default=None,
|
|
39
|
+
description="List of Iceberg partitioning expressions to use when creating the target table. This setting can only be used when `partitioning` is set to `manual`. Partitioning configuration of an Intake cannot be changed after creation. See the [Apache Iceberg spec](https://iceberg.apache.org/spec/#partitioning) for more details. ",
|
|
40
|
+
alias="partitionBy",
|
|
38
41
|
)
|
|
42
|
+
partitioning: Optional[PartitioningType] = PartitioningType.NONE
|
|
39
43
|
table_name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=32)]] = Field(
|
|
40
44
|
default=None,
|
|
41
45
|
description="The table name is a short name chosen by the user to identify the table in Iceberg.",
|
|
@@ -47,7 +51,15 @@ class IntakeCatalog(BaseModel):
|
|
|
47
51
|
warehouse: Annotated[str, Field(strict=True, max_length=1024)] = Field(
|
|
48
52
|
description="The Iceberg warehouse to connect to, required when the catalog has no default warehouse configured."
|
|
49
53
|
)
|
|
50
|
-
__properties: ClassVar[List[str]] = [
|
|
54
|
+
__properties: ClassVar[List[str]] = [
|
|
55
|
+
"auth",
|
|
56
|
+
"namespace",
|
|
57
|
+
"partitionBy",
|
|
58
|
+
"partitioning",
|
|
59
|
+
"tableName",
|
|
60
|
+
"uri",
|
|
61
|
+
"warehouse",
|
|
62
|
+
]
|
|
51
63
|
|
|
52
64
|
model_config = ConfigDict(
|
|
53
65
|
populate_by_name=True,
|
|
@@ -110,6 +122,9 @@ class IntakeCatalog(BaseModel):
|
|
|
110
122
|
"auth": CatalogAuth.from_dict(obj["auth"]) if obj.get("auth") is not None else None,
|
|
111
123
|
"namespace": obj.get("namespace") if obj.get("namespace") is not None else "intake",
|
|
112
124
|
"partitionBy": obj.get("partitionBy"),
|
|
125
|
+
"partitioning": (
|
|
126
|
+
obj.get("partitioning") if obj.get("partitioning") is not None else PartitioningType.NONE
|
|
127
|
+
),
|
|
113
128
|
"tableName": obj.get("tableName"),
|
|
114
129
|
"uri": obj.get("uri"),
|
|
115
130
|
"warehouse": obj.get("warehouse"),
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
STACKIT Intake API
|
|
5
|
+
|
|
6
|
+
This API provides endpoints for managing Intakes.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1beta.3.1
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
|
|
16
|
+
import json
|
|
17
|
+
from enum import Enum
|
|
18
|
+
|
|
19
|
+
from typing_extensions import Self
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class PartitioningType(str, Enum):
|
|
23
|
+
"""
|
|
24
|
+
The target table's partitioning. * `none` disables partitioning, the default. * `intake-time` configures daily partitioning based on the automatically created ingestion time column `__intake_ts`. * `manual` allows arbitrary Iceberg partitioning expression to be set via `partitionBy`.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
allowed enum values
|
|
29
|
+
"""
|
|
30
|
+
NONE = "none"
|
|
31
|
+
INTAKE_MINUS_TIME = "intake-time"
|
|
32
|
+
MANUAL = "manual"
|
|
33
|
+
|
|
34
|
+
@classmethod
|
|
35
|
+
def from_json(cls, json_str: str) -> Self:
|
|
36
|
+
"""Create an instance of PartitioningType from a JSON string"""
|
|
37
|
+
return cls(json.loads(json_str))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|