File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -289,6 +289,12 @@ class {{ entity_def.name }}({{super_classes[0]}} {%- if "Asset" in super_classes
289289 )
290290 return cls(attributes=cls.Attributes(qualified_name=qualified_name, name=name))
291291
292+ @classmethod
293+ def ref_by_guid(cls: type[SelfAsset], guid: str) -> SelfAsset:
294+ retval: SelfAsset = cls(attributes=cls.Attributes())
295+ retval.guid = guid
296+ return retval
297+
292298 @classmethod
293299 def __get_validators__(cls):
294300 yield cls._convert_to_real_type_
Original file line number Diff line number Diff line change @@ -1508,6 +1508,12 @@ def create_for_modification(
15081508 )
15091509 return cls(attributes=cls.Attributes(qualified_name=qualified_name, name=name))
15101510
1511+ @classmethod
1512+ def ref_by_guid(cls: type[SelfAsset], guid: str) -> SelfAsset:
1513+ retval: SelfAsset = cls(attributes=cls.Attributes())
1514+ retval.guid = guid
1515+ return retval
1516+
15111517 @classmethod
15121518 def __get_validators__(cls):
15131519 yield cls._convert_to_real_type_
Original file line number Diff line number Diff line change @@ -29,14 +29,6 @@ class Attributes(AtlanObject):
2929 )
3030
3131
32- class Histogram (AtlanObject ):
33- """Description"""
34-
35- class Attributes (AtlanObject ):
36- boundaries : set [float ] = Field (None , description = "" , alias = "boundaries" )
37- frequencies : set [float ] = Field (None , description = "" , alias = "frequencies" )
38-
39-
4032class KafkaTopicConsumption (AtlanObject ):
4133 """Description"""
4234
@@ -51,6 +43,14 @@ class Attributes(AtlanObject):
5143 )
5244
5345
46+ class Histogram (AtlanObject ):
47+ """Description"""
48+
49+ class Attributes (AtlanObject ):
50+ boundaries : set [float ] = Field (None , description = "" , alias = "boundaries" )
51+ frequencies : set [float ] = Field (None , description = "" , alias = "frequencies" )
52+
53+
5454class DbtMetricFilter (AtlanObject ):
5555 """Description"""
5656
You can’t perform that action at this time.
0 commit comments