acryl-datahub 0.15.0.4rc1__py3-none-any.whl → 0.15.0.4rc2__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.
Potentially problematic release.
This version of acryl-datahub might be problematic. Click here for more details.
- {acryl_datahub-0.15.0.4rc1.dist-info → acryl_datahub-0.15.0.4rc2.dist-info}/METADATA +2485 -2485
- {acryl_datahub-0.15.0.4rc1.dist-info → acryl_datahub-0.15.0.4rc2.dist-info}/RECORD +20 -20
- datahub/__init__.py +1 -1
- datahub/cli/container_cli.py +30 -11
- datahub/emitter/enum_helpers.py +4 -2
- datahub/emitter/mce_builder.py +4 -0
- datahub/emitter/mcp_builder.py +19 -0
- datahub/ingestion/api/decorators.py +2 -0
- datahub/ingestion/api/sink.py +12 -0
- datahub/ingestion/api/source.py +5 -2
- datahub/ingestion/source/powerbi/powerbi.py +4 -4
- datahub/ingestion/source/powerbi/rest_api_wrapper/data_classes.py +6 -6
- datahub/ingestion/source/powerbi/rest_api_wrapper/powerbi_api.py +24 -18
- datahub/ingestion/source/sql/mssql/job_models.py +2 -2
- datahub/ingestion/source/sql/mssql/source.py +26 -11
- datahub/metadata/_urns/urn_defs.py +550 -101
- datahub/utilities/urns/_urn_base.py +6 -2
- {acryl_datahub-0.15.0.4rc1.dist-info → acryl_datahub-0.15.0.4rc2.dist-info}/WHEEL +0 -0
- {acryl_datahub-0.15.0.4rc1.dist-info → acryl_datahub-0.15.0.4rc2.dist-info}/entry_points.txt +0 -0
- {acryl_datahub-0.15.0.4rc1.dist-info → acryl_datahub-0.15.0.4rc2.dist-info}/top_level.txt +0 -0
|
@@ -6,6 +6,7 @@ from typing import ClassVar, Dict, List, Optional, Type, Union
|
|
|
6
6
|
from deprecated import deprecated
|
|
7
7
|
from typing_extensions import Self
|
|
8
8
|
|
|
9
|
+
from datahub._codegen.aspect import _Aspect
|
|
9
10
|
from datahub.utilities.urns.error import InvalidUrnError
|
|
10
11
|
|
|
11
12
|
URN_TYPES: Dict[str, Type["_SpecificUrn"]] = {}
|
|
@@ -270,7 +271,7 @@ class Urn:
|
|
|
270
271
|
|
|
271
272
|
|
|
272
273
|
class _SpecificUrn(Urn):
|
|
273
|
-
ENTITY_TYPE: str = ""
|
|
274
|
+
ENTITY_TYPE: ClassVar[str] = ""
|
|
274
275
|
|
|
275
276
|
def __init_subclass__(cls) -> None:
|
|
276
277
|
# Validate the subclass.
|
|
@@ -286,7 +287,10 @@ class _SpecificUrn(Urn):
|
|
|
286
287
|
return super().__init_subclass__()
|
|
287
288
|
|
|
288
289
|
@classmethod
|
|
289
|
-
def underlying_key_aspect_type(cls) -> Type:
|
|
290
|
+
def underlying_key_aspect_type(cls) -> Type[_Aspect]:
|
|
291
|
+
raise NotImplementedError()
|
|
292
|
+
|
|
293
|
+
def to_key_aspect(self) -> _Aspect:
|
|
290
294
|
raise NotImplementedError()
|
|
291
295
|
|
|
292
296
|
@classmethod
|
|
File without changes
|
{acryl_datahub-0.15.0.4rc1.dist-info → acryl_datahub-0.15.0.4rc2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|