gooddata-sdk 1.72.1.dev2__py3-none-any.whl → 1.72.1.dev4__py3-none-any.whl

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.
gooddata_sdk/__init__.py CHANGED
@@ -44,7 +44,6 @@ from gooddata_sdk.catalog.data_source.entity_model.data_source import (
44
44
  CatalogDataSourceBigQuery,
45
45
  CatalogDataSourceDatabricks,
46
46
  CatalogDataSourceGdStorage,
47
- CatalogDataSourceGreenplum,
48
47
  CatalogDataSourceMariaDb,
49
48
  CatalogDataSourceMotherDuck,
50
49
  CatalogDataSourceMsSql,
@@ -54,7 +53,6 @@ from gooddata_sdk.catalog.data_source.entity_model.data_source import (
54
53
  CatalogDataSourceSnowflake,
55
54
  CatalogDataSourceVertica,
56
55
  DatabricksAttributes,
57
- GreenplumAttributes,
58
56
  MariaDbAttributes,
59
57
  MotherDuckAttributes,
60
58
  MsSqlAttributes,
@@ -166,11 +166,6 @@ class VerticaAttributes(PostgresAttributes):
166
166
  port: str = "5433"
167
167
 
168
168
 
169
- @define(kw_only=True)
170
- class GreenplumAttributes(PostgresAttributes):
171
- pass
172
-
173
-
174
169
  @define(kw_only=True)
175
170
  class MySqlAttributes(DatabaseAttributes):
176
171
  host: str
@@ -230,12 +225,6 @@ class CatalogDataSourceBigQuery(CatalogDataSource):
230
225
  type: str = "BIGQUERY"
231
226
 
232
227
 
233
- @define(kw_only=True)
234
- class CatalogDataSourceGreenplum(CatalogDataSourcePostgres):
235
- type: str = "GREENPLUM"
236
- db_vendor: str = "postgresql"
237
-
238
-
239
228
  @define(kw_only=True)
240
229
  class MsSqlAttributes(DatabaseAttributes):
241
230
  host: str
@@ -402,7 +402,7 @@ class CatalogDataSourceService(CatalogServiceBase):
402
402
  """Returns a list of schemas that exist in the database.
403
403
 
404
404
  Can be configured in the data source entity. Data source
405
- managers like Dremio or Drill can work with multiple schemas
405
+ managers like Dremio can work with multiple schemas
406
406
  and schema names can be injected into scan_request to filter
407
407
  out tables stored in the different schemas.
408
408
 
@@ -3,10 +3,23 @@ import builtins
3
3
 
4
4
  from attrs import define, field
5
5
  from gooddata_api_client.model.declarative_notification_channel import DeclarativeNotificationChannel
6
+ from gooddata_api_client.model.notification_channel_destination import NotificationChannelDestination
6
7
  from gooddata_api_client.model.webhook import Webhook
7
8
 
8
9
  from gooddata_sdk.catalog.base import Base
9
10
 
11
+ # The generator collapses the `type` enums of NotificationChannelDestination's oneOf children
12
+ # into the last child's single value (IN_PLATFORM), so valid destinations of the other types
13
+ # fail client-side validation on both serialization and response parsing. Restore the full set.
14
+ NotificationChannelDestination.allowed_values[("type",)].update(
15
+ {
16
+ "WEBHOOK": "WEBHOOK",
17
+ "SMTP": "SMTP",
18
+ "DEFAULT_SMTP": "DEFAULT_SMTP",
19
+ "IN_PLATFORM": "IN_PLATFORM",
20
+ }
21
+ )
22
+
10
23
  # TODO: there is an issue with generated client which causes these two classes to fail
11
24
  # type in gooddata_api_client/model/declarative_notification_channel_destination.py contains only WEBHOOK as valid value
12
25
  # @define(kw_only=True)
@@ -2,9 +2,7 @@
2
2
 
3
3
  from attrs import define
4
4
  from gooddata_api_client.model.declarative_export_definition import DeclarativeExportDefinition
5
- from gooddata_api_client.model.declarative_export_definition_request_payload import (
6
- DeclarativeExportDefinitionRequestPayload,
7
- )
5
+ from gooddata_api_client.model.export_request import ExportRequest
8
6
 
9
7
  from gooddata_sdk import ExportCustomOverride, ExportSettings
10
8
  from gooddata_sdk.catalog.base import Base
@@ -25,8 +23,8 @@ class CatalogDeclarativeExportDefinitionRequestPayload(Base):
25
23
  dashboard_id: str | None = None
26
24
 
27
25
  @staticmethod
28
- def client_class() -> type[DeclarativeExportDefinitionRequestPayload]:
29
- return DeclarativeExportDefinitionRequestPayload
26
+ def client_class() -> type[ExportRequest]:
27
+ return ExportRequest
30
28
 
31
29
 
32
30
  @define(kw_only=True)
@@ -1,8 +1,8 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: gooddata-sdk
3
- Version: 1.72.1.dev2
3
+ Version: 1.72.1.dev4
4
4
  Summary: GoodData Cloud Python SDK
5
- Project-URL: Documentation, https://www.gooddata.ai/docs/python-sdk/1.72.1.dev2
5
+ Project-URL: Documentation, https://www.gooddata.ai/docs/python-sdk/1.72.1.dev4
6
6
  Project-URL: Source, https://github.com/gooddata/gooddata-python-sdk
7
7
  Author-email: GoodData <support@gooddata.com>
8
8
  License-Expression: MIT
@@ -23,7 +23,7 @@ Requires-Python: <4.0,>=3.10
23
23
  Requires-Dist: attrs<=24.2.0,>=21.4.0
24
24
  Requires-Dist: brotli==1.2.0
25
25
  Requires-Dist: cattrs<=24.1.1,>=22.1.0
26
- Requires-Dist: gooddata-api-client~=1.72.1.dev2
26
+ Requires-Dist: gooddata-api-client~=1.72.1.dev4
27
27
  Requires-Dist: gooddata-code-convertors>=11.35.0a2
28
28
  Requires-Dist: python-dateutil>=2.5.3
29
29
  Requires-Dist: python-dotenv<2.0.0,>=1.0.0
@@ -49,7 +49,7 @@ At the moment the SDK provides services to inspect and interact with the Semanti
49
49
  * Compute Service
50
50
  * Table Service
51
51
 
52
- See [DOCUMENTATION](https://www.gooddata.ai/docs/python-sdk/1.72.1.dev2) for more details.
52
+ See [DOCUMENTATION](https://www.gooddata.ai/docs/python-sdk/1.72.1.dev4) for more details.
53
53
 
54
54
  ## Requirements
55
55
 
@@ -1,4 +1,4 @@
1
- gooddata_sdk/__init__.py,sha256=q0mqqspfUqWxTc8Nrday-KptHl9PpoAoR4IsJlueNfo,13289
1
+ gooddata_sdk/__init__.py,sha256=APG2p0nO-ACxATMnBRk87emNJQymmygDoDraxb3fv64,13232
2
2
  gooddata_sdk/_version.py,sha256=ECvc3UaJmAbU5A8hVbL0cAu8WgVVU50LcYVfoclsRZM,194
3
3
  gooddata_sdk/client.py,sha256=5WsktdbgMmpup2NMu-JxwSy737WLzgzp38q5hhH2q-0,10180
4
4
  gooddata_sdk/config.py,sha256=CknRj5R8VCtaeerSb-x--CtunqiF0zkxg4owEvSDuuo,1873
@@ -29,7 +29,7 @@ gooddata_sdk/catalog/appearance/entity_model/__init__.py,sha256=U54lANKm34yjqm7d
29
29
  gooddata_sdk/catalog/appearance/entity_model/color_palette.py,sha256=OQo2tF-KlEwGJ1uixVDCLjlPB2cQopJnfNA18EEt4u0,1088
30
30
  gooddata_sdk/catalog/appearance/entity_model/theme.py,sha256=Hr51Sz2pOJd2Y13OLGQCAf02dEMPv9andTEVnq1T0kw,1008
31
31
  gooddata_sdk/catalog/data_source/__init__.py,sha256=aq8gYXMVSHvgJBGdRmQh4Fm81Vunr1NEiHFKFUwRBqQ,32
32
- gooddata_sdk/catalog/data_source/service.py,sha256=aj8d_jNdDkKQfhrA48DyF5xxapUNp9kRNuKWwfd7J14,27855
32
+ gooddata_sdk/catalog/data_source/service.py,sha256=EyQJmhDskQsjISrigXtL4M-ITihVFWvevLKMpYzT0KM,27846
33
33
  gooddata_sdk/catalog/data_source/action_model/__init__.py,sha256=gr52n9i09P17b2DvaE81JqUs1DbtCSad_V3J7j8HN68,32
34
34
  gooddata_sdk/catalog/data_source/action_model/sql_column.py,sha256=7xH_DIglKKUGVQ6vP_idxf5S7QFlXxQwdrqKXHDwp-0,419
35
35
  gooddata_sdk/catalog/data_source/action_model/requests/__init__.py,sha256=gr52n9i09P17b2DvaE81JqUs1DbtCSad_V3J7j8HN68,32
@@ -45,7 +45,7 @@ gooddata_sdk/catalog/data_source/declarative_model/physical_model/column.py,sha2
45
45
  gooddata_sdk/catalog/data_source/declarative_model/physical_model/pdm.py,sha256=5HOZx3eW08uEE5CuunAnT89OzOjFB3qmYSIVQGVhwOA,1594
46
46
  gooddata_sdk/catalog/data_source/declarative_model/physical_model/table.py,sha256=BYO3ecJ0a8M_a6YQuKDOeaACfEj7HpcgwOknEk4I9TA,1213
47
47
  gooddata_sdk/catalog/data_source/entity_model/__init__.py,sha256=aq8gYXMVSHvgJBGdRmQh4Fm81Vunr1NEiHFKFUwRBqQ,32
48
- gooddata_sdk/catalog/data_source/entity_model/data_source.py,sha256=PgKBHITVfe6xrmv6HN3pxeJ1xvQp9HyYUKpn3OZnjbk,9914
48
+ gooddata_sdk/catalog/data_source/entity_model/data_source.py,sha256=tIiKLLgwCyKPmY2TWaMaaNMBhn1fPXENxBy3HvbCqu0,9687
49
49
  gooddata_sdk/catalog/data_source/entity_model/content_objects/__init__.py,sha256=aq8gYXMVSHvgJBGdRmQh4Fm81Vunr1NEiHFKFUwRBqQ,32
50
50
  gooddata_sdk/catalog/data_source/validation/__init__.py,sha256=aq8gYXMVSHvgJBGdRmQh4Fm81Vunr1NEiHFKFUwRBqQ,32
51
51
  gooddata_sdk/catalog/data_source/validation/data_source.py,sha256=92IkqOoqQ74TtJaaicuMD5ECrUnMT2j1ESuKr5QnJZc,1552
@@ -71,7 +71,7 @@ gooddata_sdk/catalog/organization/entity_model/setting.py,sha256=VosFBPBpvt2P8mD
71
71
  gooddata_sdk/catalog/organization/layout/__init__.py,sha256=nfaUa69U3uZAB1udH6tza0se-3fhrsSurgPUQldoGnE,32
72
72
  gooddata_sdk/catalog/organization/layout/export_template.py,sha256=7x0YF-m-e-b1GSGkoVfwH-gGlSUCuv3fWo3xgAIPbqE,780
73
73
  gooddata_sdk/catalog/organization/layout/identity_provider.py,sha256=_lzTUz9Q1iQt_IJ5dwn9bgUrHExcccpS_g997e4LSsU,919
74
- gooddata_sdk/catalog/organization/layout/notification_channel.py,sha256=04DivS_JBa7SLRyFtEFNoxQf5EpZP9Kgmn6dBu4juTc,1965
74
+ gooddata_sdk/catalog/organization/layout/notification_channel.py,sha256=rU533RzDh7zl02UFl1D9teDZDJBD2Nw3vV1vX0m7U-Q,2562
75
75
  gooddata_sdk/catalog/permission/__init__.py,sha256=aq8gYXMVSHvgJBGdRmQh4Fm81Vunr1NEiHFKFUwRBqQ,32
76
76
  gooddata_sdk/catalog/permission/service.py,sha256=DRevD7jtfzJhp5743c_jY9vrb5DDv80t6vYyWE5AoYM,6832
77
77
  gooddata_sdk/catalog/permission/declarative_model/__init__.py,sha256=aq8gYXMVSHvgJBGdRmQh4Fm81Vunr1NEiHFKFUwRBqQ,32
@@ -103,7 +103,7 @@ gooddata_sdk/catalog/workspace/declarative_model/workspace/workspace.py,sha256=O
103
103
  gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/__init__.py,sha256=aq8gYXMVSHvgJBGdRmQh4Fm81Vunr1NEiHFKFUwRBqQ,32
104
104
  gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/analytics_model.py,sha256=gDXRom1M3NgGokUEFCXINqE-_ZugD6ElcEeSzbxvylM,16570
105
105
  gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/base.py,sha256=Eks1mZLU-aufoUyoJacdowau2rRdLAuCMvMIQ7VESNE,1347
106
- gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/export_definition.py,sha256=22pnZMqk2SVEo83QygKA87hRAHJ1YoJ9Fi8l8Ohjk_o,1555
106
+ gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/export_definition.py,sha256=8BZh_6kMwj6kTMZSDNILyJh0NPJuAD8NWWDLoVk7wqA,1431
107
107
  gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/__init__.py,sha256=aq8gYXMVSHvgJBGdRmQh4Fm81Vunr1NEiHFKFUwRBqQ,32
108
108
  gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/data_filter_references.py,sha256=CsJyCSE3Y--KSMySV3WpM--cm9ZXwqwE7qK0KkZEEng,671
109
109
  gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/ldm.py,sha256=_HvogFlQDtV6r0K4N2ahMRKEwLnMnx-FXHlPatx0epo,12321
@@ -139,8 +139,8 @@ gooddata_sdk/compute/model/base.py,sha256=2LEC-33FXQrCF_qgxjm5Tk-pkYnzth3Pt76TYj
139
139
  gooddata_sdk/compute/model/execution.py,sha256=BlhneEDtryue_8FxbCKVrINTvBNSzkT4XPczsL3vJ7E,21501
140
140
  gooddata_sdk/compute/model/filter.py,sha256=hhtwa9-zqRr2BL3aGUfKGH45-rqCyQsptoHOKmpIrOs,32073
141
141
  gooddata_sdk/compute/model/metric.py,sha256=QL5B8IM7CpOUJHJsAPFVpR5I2ttrUs2SOWLlfz1nX98,8431
142
- gooddata_sdk-1.72.1.dev2.dist-info/METADATA,sha256=Q7ylcq6wVxnhTWbMltQHnhEoZ6UVllrwtOfuVhe0HoI,3261
143
- gooddata_sdk-1.72.1.dev2.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
144
- gooddata_sdk-1.72.1.dev2.dist-info/entry_points.txt,sha256=qCWXZSFst-ioZA4uMqpuFfnxQVkvmz7wm_tI24_YXHo,55
145
- gooddata_sdk-1.72.1.dev2.dist-info/licenses/LICENSE.txt,sha256=7SIF-2y4RvjhPUydOEZpgs7MTyURU6JAeELQZmp0J9Q,78443
146
- gooddata_sdk-1.72.1.dev2.dist-info/RECORD,,
142
+ gooddata_sdk-1.72.1.dev4.dist-info/METADATA,sha256=RDWj_nzpsV6896eKwan3XZbssL-EUH1EhBmCQrAjICM,3261
143
+ gooddata_sdk-1.72.1.dev4.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
144
+ gooddata_sdk-1.72.1.dev4.dist-info/entry_points.txt,sha256=qCWXZSFst-ioZA4uMqpuFfnxQVkvmz7wm_tI24_YXHo,55
145
+ gooddata_sdk-1.72.1.dev4.dist-info/licenses/LICENSE.txt,sha256=7SIF-2y4RvjhPUydOEZpgs7MTyURU6JAeELQZmp0J9Q,78443
146
+ gooddata_sdk-1.72.1.dev4.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.31.0
2
+ Generator: hatchling 1.32.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any