File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2020from gooddata_api_client .model .declarative_source_fact_reference import DeclarativeSourceFactReference
2121from gooddata_api_client .model .declarative_workspace_data_filter_column import DeclarativeWorkspaceDataFilterColumn
2222from gooddata_api_client .model .geo_area_config import GeoAreaConfig
23- from gooddata_api_client .model .geo_collection import GeoCollection
23+ from gooddata_api_client .model .geo_collection_identifier import GeoCollectionIdentifier
2424
2525from gooddata_sdk .catalog .base import Base
2626from gooddata_sdk .catalog .identifier import (
@@ -189,10 +189,11 @@ def client_class() -> type[GeoAreaConfig]:
189189@define (auto_attribs = True , kw_only = True )
190190class CatalogGeoCollectionIdentifier (Base ):
191191 id : str
192+ kind : Optional [str ] = None
192193
193194 @staticmethod
194- def client_class () -> type [GeoCollection ]:
195- return GeoCollection
195+ def client_class () -> type [GeoCollectionIdentifier ]:
196+ return GeoCollectionIdentifier
196197
197198
198199@attr .s (auto_attribs = True , kw_only = True )
Original file line number Diff line number Diff line change @@ -342,9 +342,8 @@ def test_get_dependent_entities_graph(test_config):
342342 sdk = GoodDataSdk .create (host_ = test_config ["host" ], token_ = test_config ["token" ])
343343 response = sdk .catalog_workspace_content .get_dependent_entities_graph (workspace_id = test_config ["workspace" ])
344344
345- # Includes campaign_channels_per_category pre-aggregation dataset and its aggregatedFact
346- assert len (response .graph .edges ) == 174
347- assert len (response .graph .nodes ) == 101
345+ assert len (response .graph .edges ) == 172
346+ assert len (response .graph .nodes ) == 98
348347
349348
350349@gd_vcr .use_cassette (str (_fixtures_dir / "demo_get_dependent_entities_graph_from_entry_points.yaml" ))
You can’t perform that action at this time.
0 commit comments