stackit-intake 0.2.1__tar.gz → 0.4.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.
Files changed (38) hide show
  1. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/PKG-INFO +1 -1
  2. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/pyproject.toml +1 -1
  3. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/__init__.py +5 -1
  4. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/api/default_api.py +1 -1
  5. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/api_client.py +1 -1
  6. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/configuration.py +1 -1
  7. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/exceptions.py +1 -1
  8. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/__init__.py +2 -1
  9. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/catalog_auth.py +1 -1
  10. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/catalog_auth_patch.py +1 -1
  11. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/catalog_auth_type.py +1 -1
  12. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/client_config.py +1 -1
  13. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/create_intake_payload.py +10 -2
  14. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/create_intake_runner_payload.py +10 -2
  15. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/create_intake_user_payload.py +13 -3
  16. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/dremio_auth.py +1 -1
  17. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/dremio_auth_patch.py +1 -1
  18. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/intake_catalog.py +3 -3
  19. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/intake_catalog_patch.py +25 -3
  20. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/intake_response.py +1 -1
  21. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/intake_runner_response.py +1 -1
  22. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/intake_user_response.py +1 -1
  23. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/list_intake_runners_response.py +1 -1
  24. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/list_intake_users_response.py +1 -1
  25. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/list_intakes_response.py +1 -1
  26. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/partitioning_type.py +1 -1
  27. stackit_intake-0.4.0/src/stackit/intake/models/partitioning_update_type.py +37 -0
  28. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/update_intake_payload.py +1 -1
  29. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/update_intake_runner_payload.py +1 -1
  30. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/update_intake_user_payload.py +1 -1
  31. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/models/user_type.py +1 -1
  32. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/rest.py +1 -1
  33. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/LICENSE.md +0 -0
  34. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/NOTICE.txt +0 -0
  35. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/README.md +0 -0
  36. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/api/__init__.py +0 -0
  37. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/api_response.py +0 -0
  38. {stackit_intake-0.2.1 → stackit_intake-0.4.0}/src/stackit/intake/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stackit-intake
3
- Version: 0.2.1
3
+ Version: 0.4.0
4
4
  Summary: STACKIT Intake API
5
5
  License-File: LICENSE.md
6
6
  License-File: NOTICE.txt
@@ -3,7 +3,7 @@ name = "stackit-intake"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "stackit-intake"
6
- version = "v0.2.1"
6
+ version = "v0.4.0"
7
7
  authors = [
8
8
  "STACKIT Developer Tools <developer-tools@stackit.cloud>",
9
9
  ]
@@ -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.3.2
10
+ The version of the OpenAPI document: 1beta.3.5
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
13
13
  Do not edit the class manually.
@@ -46,6 +46,7 @@ __all__ = [
46
46
  "ListIntakeUsersResponse",
47
47
  "ListIntakesResponse",
48
48
  "PartitioningType",
49
+ "PartitioningUpdateType",
49
50
  "UpdateIntakePayload",
50
51
  "UpdateIntakeRunnerPayload",
51
52
  "UpdateIntakeUserPayload",
@@ -105,6 +106,9 @@ from stackit.intake.models.list_intakes_response import (
105
106
  ListIntakesResponse as ListIntakesResponse,
106
107
  )
107
108
  from stackit.intake.models.partitioning_type import PartitioningType as PartitioningType
109
+ from stackit.intake.models.partitioning_update_type import (
110
+ PartitioningUpdateType as PartitioningUpdateType,
111
+ )
108
112
  from stackit.intake.models.update_intake_payload import (
109
113
  UpdateIntakePayload as UpdateIntakePayload,
110
114
  )
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.3.2
9
+ The version of the OpenAPI document: 1beta.3.5
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
12
12
  Do not edit the class manually.
@@ -32,6 +32,7 @@ from stackit.intake.models.list_intake_runners_response import ListIntakeRunners
32
32
  from stackit.intake.models.list_intake_users_response import ListIntakeUsersResponse
33
33
  from stackit.intake.models.list_intakes_response import ListIntakesResponse
34
34
  from stackit.intake.models.partitioning_type import PartitioningType
35
+ from stackit.intake.models.partitioning_update_type import PartitioningUpdateType
35
36
  from stackit.intake.models.update_intake_payload import UpdateIntakePayload
36
37
  from stackit.intake.models.update_intake_runner_payload import UpdateIntakeRunnerPayload
37
38
  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.3.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
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.2
8
+ The version of the OpenAPI document: 1beta.3.5
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.2
8
+ The version of the OpenAPI document: 1beta.3.5
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(description="A password chosen by the user.")
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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -36,11 +36,11 @@ class IntakeCatalog(BaseModel):
36
36
  )
37
37
  partition_by: Optional[List[Annotated[str, Field(strict=True, max_length=1024)]]] = Field(
38
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. ",
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 can be changed after creation, but will only take effect once the table has been changed as well. In case of not updating the table to a new one, the old partitioning configuration will remain. See the [Apache Iceberg spec](https://iceberg.apache.org/spec/#partitioning) for more details. ",
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=32)]] = Field(
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",
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
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_patch import CatalogAuthPatch
24
+ from stackit.intake.models.partitioning_update_type import PartitioningUpdateType
24
25
 
25
26
 
26
27
  class IntakeCatalogPatch(BaseModel):
@@ -33,7 +34,13 @@ class IntakeCatalogPatch(BaseModel):
33
34
  default="intake",
34
35
  description="The namespace to which data shall be written. It will be automatically created, if it does not exist.",
35
36
  )
36
- table_name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=32)]] = Field(
37
+ partition_by: Optional[List[Annotated[str, Field(strict=True, max_length=1024)]]] = Field(
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`. See the [Apache Iceberg spec](https://iceberg.apache.org/spec/#partitioning) for more details. ",
40
+ alias="partitionBy",
41
+ )
42
+ partitioning: Optional[PartitioningUpdateType] = None
43
+ table_name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=1024)]] = Field(
37
44
  default=None,
38
45
  description="The table name is a short name chosen by the user to identify the table in Iceberg.",
39
46
  alias="tableName",
@@ -45,7 +52,15 @@ class IntakeCatalogPatch(BaseModel):
45
52
  default=None,
46
53
  description="The Iceberg warehouse to connect to, required when the catalog has no default warehouse configured.",
47
54
  )
48
- __properties: ClassVar[List[str]] = ["auth", "namespace", "tableName", "uri", "warehouse"]
55
+ __properties: ClassVar[List[str]] = [
56
+ "auth",
57
+ "namespace",
58
+ "partitionBy",
59
+ "partitioning",
60
+ "tableName",
61
+ "uri",
62
+ "warehouse",
63
+ ]
49
64
 
50
65
  model_config = ConfigDict(
51
66
  populate_by_name=True,
@@ -87,6 +102,11 @@ class IntakeCatalogPatch(BaseModel):
87
102
  # override the default output from pydantic by calling `to_dict()` of auth
88
103
  if self.auth:
89
104
  _dict["auth"] = self.auth.to_dict()
105
+ # set to None if partition_by (nullable) is None
106
+ # and model_fields_set contains the field
107
+ if self.partition_by is None and "partition_by" in self.model_fields_set:
108
+ _dict["partitionBy"] = None
109
+
90
110
  return _dict
91
111
 
92
112
  @classmethod
@@ -102,6 +122,8 @@ class IntakeCatalogPatch(BaseModel):
102
122
  {
103
123
  "auth": CatalogAuthPatch.from_dict(obj["auth"]) if obj.get("auth") is not None else None,
104
124
  "namespace": obj.get("namespace") if obj.get("namespace") is not None else "intake",
125
+ "partitionBy": obj.get("partitionBy"),
126
+ "partitioning": obj.get("partitioning"),
105
127
  "tableName": obj.get("tableName"),
106
128
  "uri": obj.get("uri"),
107
129
  "warehouse": obj.get("warehouse"),
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.5
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 PartitioningUpdateType(str, Enum):
23
+ """
24
+ The target table's partitioning. * `none` disables partitioning. * `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 PartitioningUpdateType from a JSON string"""
37
+ return cls(json.loads(json_str))
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.2
8
+ The version of the OpenAPI document: 1beta.3.5
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
File without changes