stackit-dremio 0.1.0__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_dremio-0.1.0 → stackit_dremio-0.3.0}/PKG-INFO +2 -3
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/pyproject.toml +2 -3
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/api/default_api.py +15 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/create_dremio_instance_payload.py +7 -2
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/dremio_response.py +5 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/update_dremio_instance_payload.py +7 -2
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/.gitignore +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/LICENSE.md +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/NOTICE.txt +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/README.md +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/__init__.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/api/__init__.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/api_client.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/api_response.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/configuration.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/exceptions.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/__init__.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/auth_parameters.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/authentication.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/azuread.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/create_dremio_user_payload.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/dremio_user_response.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/endpoints.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/error.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/list_dremio_users_response.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/list_dremios_response.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/oauth.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/oauth_jwt_claims.py +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/py.typed +0 -0
- {stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/rest.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: stackit-dremio
|
|
3
|
-
Version:
|
|
3
|
+
Version: v0.3.0
|
|
4
4
|
Summary: STACKIT Dremio API
|
|
5
5
|
Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
|
|
6
6
|
Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
|
|
@@ -10,13 +10,12 @@ License-File: NOTICE.txt
|
|
|
10
10
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.15
|
|
19
|
-
Requires-Python: <4.0,>=3.
|
|
18
|
+
Requires-Python: <4.0,>=3.11
|
|
20
19
|
Requires-Dist: pydantic>=2.9.2
|
|
21
20
|
Requires-Dist: python-dateutil>=2.9.0.post0
|
|
22
21
|
Requires-Dist: requests>=2.33.0
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "stackit-dremio"
|
|
3
|
-
version = "v0.
|
|
3
|
+
version = "v0.3.0"
|
|
4
4
|
description = "STACKIT Dremio API"
|
|
5
5
|
authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}]
|
|
6
|
-
requires-python = ">=3.
|
|
6
|
+
requires-python = ">=3.11,<4.0"
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
classifiers = [
|
|
9
9
|
"Programming Language :: Python :: 3",
|
|
10
10
|
"License :: OSI Approved :: Apache Software License",
|
|
11
11
|
"Operating System :: OS Independent",
|
|
12
|
-
"Programming Language :: Python :: 3.10",
|
|
13
12
|
"Programming Language :: Python :: 3.11",
|
|
14
13
|
"Programming Language :: Python :: 3.12",
|
|
15
14
|
"Programming Language :: Python :: 3.13",
|
|
@@ -116,6 +116,7 @@ class DefaultApi:
|
|
|
116
116
|
"400": "Error",
|
|
117
117
|
"401": "Error",
|
|
118
118
|
"409": None,
|
|
119
|
+
"422": None,
|
|
119
120
|
"500": None,
|
|
120
121
|
}
|
|
121
122
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -188,6 +189,7 @@ class DefaultApi:
|
|
|
188
189
|
"400": "Error",
|
|
189
190
|
"401": "Error",
|
|
190
191
|
"409": None,
|
|
192
|
+
"422": None,
|
|
191
193
|
"500": None,
|
|
192
194
|
}
|
|
193
195
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -260,6 +262,7 @@ class DefaultApi:
|
|
|
260
262
|
"400": "Error",
|
|
261
263
|
"401": "Error",
|
|
262
264
|
"409": None,
|
|
265
|
+
"422": None,
|
|
263
266
|
"500": None,
|
|
264
267
|
}
|
|
265
268
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -396,6 +399,7 @@ class DefaultApi:
|
|
|
396
399
|
"400": "Error",
|
|
397
400
|
"401": "Error",
|
|
398
401
|
"409": None,
|
|
402
|
+
"422": None,
|
|
399
403
|
"500": None,
|
|
400
404
|
}
|
|
401
405
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -472,6 +476,7 @@ class DefaultApi:
|
|
|
472
476
|
"400": "Error",
|
|
473
477
|
"401": "Error",
|
|
474
478
|
"409": None,
|
|
479
|
+
"422": None,
|
|
475
480
|
"500": None,
|
|
476
481
|
}
|
|
477
482
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -548,6 +553,7 @@ class DefaultApi:
|
|
|
548
553
|
"400": "Error",
|
|
549
554
|
"401": "Error",
|
|
550
555
|
"409": None,
|
|
556
|
+
"422": None,
|
|
551
557
|
"500": None,
|
|
552
558
|
}
|
|
553
559
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -684,6 +690,7 @@ class DefaultApi:
|
|
|
684
690
|
"401": "Error",
|
|
685
691
|
"404": None,
|
|
686
692
|
"409": None,
|
|
693
|
+
"422": None,
|
|
687
694
|
"500": None,
|
|
688
695
|
}
|
|
689
696
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -757,6 +764,7 @@ class DefaultApi:
|
|
|
757
764
|
"401": "Error",
|
|
758
765
|
"404": None,
|
|
759
766
|
"409": None,
|
|
767
|
+
"422": None,
|
|
760
768
|
"500": None,
|
|
761
769
|
}
|
|
762
770
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -830,6 +838,7 @@ class DefaultApi:
|
|
|
830
838
|
"401": "Error",
|
|
831
839
|
"404": None,
|
|
832
840
|
"409": None,
|
|
841
|
+
"422": None,
|
|
833
842
|
"500": None,
|
|
834
843
|
}
|
|
835
844
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -959,6 +968,7 @@ class DefaultApi:
|
|
|
959
968
|
"401": "Error",
|
|
960
969
|
"404": None,
|
|
961
970
|
"409": None,
|
|
971
|
+
"422": None,
|
|
962
972
|
"500": None,
|
|
963
973
|
}
|
|
964
974
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -1036,6 +1046,7 @@ class DefaultApi:
|
|
|
1036
1046
|
"401": "Error",
|
|
1037
1047
|
"404": None,
|
|
1038
1048
|
"409": None,
|
|
1049
|
+
"422": None,
|
|
1039
1050
|
"500": None,
|
|
1040
1051
|
}
|
|
1041
1052
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -1113,6 +1124,7 @@ class DefaultApi:
|
|
|
1113
1124
|
"401": "Error",
|
|
1114
1125
|
"404": None,
|
|
1115
1126
|
"409": None,
|
|
1127
|
+
"422": None,
|
|
1116
1128
|
"500": None,
|
|
1117
1129
|
}
|
|
1118
1130
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -2415,6 +2427,7 @@ class DefaultApi:
|
|
|
2415
2427
|
"401": "Error",
|
|
2416
2428
|
"404": None,
|
|
2417
2429
|
"409": None,
|
|
2430
|
+
"422": None,
|
|
2418
2431
|
"500": None,
|
|
2419
2432
|
}
|
|
2420
2433
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -2492,6 +2505,7 @@ class DefaultApi:
|
|
|
2492
2505
|
"401": "Error",
|
|
2493
2506
|
"404": None,
|
|
2494
2507
|
"409": None,
|
|
2508
|
+
"422": None,
|
|
2495
2509
|
"500": None,
|
|
2496
2510
|
}
|
|
2497
2511
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -2569,6 +2583,7 @@ class DefaultApi:
|
|
|
2569
2583
|
"401": "Error",
|
|
2570
2584
|
"404": None,
|
|
2571
2585
|
"409": None,
|
|
2586
|
+
"422": None,
|
|
2572
2587
|
"500": None,
|
|
2573
2588
|
}
|
|
2574
2589
|
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
@@ -18,7 +18,7 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field, field_validator
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
22
22
|
from pydantic_core import to_jsonable_python
|
|
23
23
|
from typing_extensions import Annotated, Self
|
|
24
24
|
|
|
@@ -30,6 +30,10 @@ class CreateDremioInstancePayload(BaseModel):
|
|
|
30
30
|
CreateDremioInstancePayload
|
|
31
31
|
""" # noqa: E501
|
|
32
32
|
|
|
33
|
+
acl: Optional[List[StrictStr]] = Field(
|
|
34
|
+
default=None,
|
|
35
|
+
description="The Access Control List (ACL) defining the IPv4 or IPv6 CIDR ranges allowed to connect to the Dremio instance. An empty list allows access from any address. Omitting this field on creation allows access from any address. Omitting it on update preserves the current list. Updates replace the entire list and take effect asynchronously.",
|
|
36
|
+
)
|
|
33
37
|
authentication: Optional[Authentication] = None
|
|
34
38
|
description: Optional[Annotated[str, Field(strict=True, max_length=1024)]] = Field(
|
|
35
39
|
default=None,
|
|
@@ -38,7 +42,7 @@ class CreateDremioInstancePayload(BaseModel):
|
|
|
38
42
|
display_name: Annotated[str, Field(min_length=1, strict=True, max_length=32)] = Field(
|
|
39
43
|
description="The display name is a short name chosen by the user to identify the resource.", alias="displayName"
|
|
40
44
|
)
|
|
41
|
-
__properties: ClassVar[List[str]] = ["authentication", "description", "displayName"]
|
|
45
|
+
__properties: ClassVar[List[str]] = ["acl", "authentication", "description", "displayName"]
|
|
42
46
|
|
|
43
47
|
@field_validator("display_name")
|
|
44
48
|
def display_name_validate_regular_expression(cls, value):
|
|
@@ -103,6 +107,7 @@ class CreateDremioInstancePayload(BaseModel):
|
|
|
103
107
|
|
|
104
108
|
_obj = cls.model_validate(
|
|
105
109
|
{
|
|
110
|
+
"acl": obj.get("acl"),
|
|
106
111
|
"authentication": (
|
|
107
112
|
Authentication.from_dict(obj["authentication"]) if obj.get("authentication") is not None else None
|
|
108
113
|
),
|
|
@@ -33,6 +33,9 @@ class DremioResponse(BaseModel):
|
|
|
33
33
|
DremioResponse
|
|
34
34
|
""" # noqa: E501
|
|
35
35
|
|
|
36
|
+
acl: List[StrictStr] = Field(
|
|
37
|
+
description="The Access Control List (ACL) defining the IPv4 or IPv6 CIDR ranges allowed to connect to the Dremio instance. An empty list allows access from any address. Omitting this field on creation allows access from any address. Omitting it on update preserves the current list. Updates replace the entire list and take effect asynchronously."
|
|
38
|
+
)
|
|
36
39
|
authentication: Authentication
|
|
37
40
|
create_time: datetime = Field(description="The point in time the resource was created.")
|
|
38
41
|
description: Optional[Annotated[str, Field(strict=True, max_length=1024)]] = Field(
|
|
@@ -51,6 +54,7 @@ class DremioResponse(BaseModel):
|
|
|
51
54
|
id: UUID = Field(description="A auto generated unique id which identifies the resource.")
|
|
52
55
|
state: StrictStr = Field(description="The current state of the resource.")
|
|
53
56
|
__properties: ClassVar[List[str]] = [
|
|
57
|
+
"acl",
|
|
54
58
|
"authentication",
|
|
55
59
|
"create_time",
|
|
56
60
|
"description",
|
|
@@ -152,6 +156,7 @@ class DremioResponse(BaseModel):
|
|
|
152
156
|
|
|
153
157
|
_obj = cls.model_validate(
|
|
154
158
|
{
|
|
159
|
+
"acl": obj.get("acl"),
|
|
155
160
|
"authentication": (
|
|
156
161
|
Authentication.from_dict(obj["authentication"]) if obj.get("authentication") is not None else None
|
|
157
162
|
),
|
|
@@ -18,7 +18,7 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field, field_validator
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
22
22
|
from pydantic_core import to_jsonable_python
|
|
23
23
|
from typing_extensions import Annotated, Self
|
|
24
24
|
|
|
@@ -30,6 +30,10 @@ class UpdateDremioInstancePayload(BaseModel):
|
|
|
30
30
|
UpdateDremioInstancePayload
|
|
31
31
|
""" # noqa: E501
|
|
32
32
|
|
|
33
|
+
acl: Optional[List[StrictStr]] = Field(
|
|
34
|
+
default=None,
|
|
35
|
+
description="The Access Control List (ACL) defining the IPv4 or IPv6 CIDR ranges allowed to connect to the Dremio instance. An empty list allows access from any address. Omitting this field on creation allows access from any address. Omitting it on update preserves the current list. Updates replace the entire list and take effect asynchronously.",
|
|
36
|
+
)
|
|
33
37
|
authentication: Optional[Authentication] = None
|
|
34
38
|
description: Optional[Annotated[str, Field(strict=True, max_length=1024)]] = Field(
|
|
35
39
|
default=None,
|
|
@@ -40,7 +44,7 @@ class UpdateDremioInstancePayload(BaseModel):
|
|
|
40
44
|
description="The display name is a short name chosen by the user to identify the resource.",
|
|
41
45
|
alias="displayName",
|
|
42
46
|
)
|
|
43
|
-
__properties: ClassVar[List[str]] = ["authentication", "description", "displayName"]
|
|
47
|
+
__properties: ClassVar[List[str]] = ["acl", "authentication", "description", "displayName"]
|
|
44
48
|
|
|
45
49
|
@field_validator("display_name")
|
|
46
50
|
def display_name_validate_regular_expression(cls, value):
|
|
@@ -108,6 +112,7 @@ class UpdateDremioInstancePayload(BaseModel):
|
|
|
108
112
|
|
|
109
113
|
_obj = cls.model_validate(
|
|
110
114
|
{
|
|
115
|
+
"acl": obj.get("acl"),
|
|
111
116
|
"authentication": (
|
|
112
117
|
Authentication.from_dict(obj["authentication"]) if obj.get("authentication") is not None else None
|
|
113
118
|
),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/dremio_user_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_dremio-0.1.0 → stackit_dremio-0.3.0}/src/stackit/dremio/models/list_dremios_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|