diff --git a/mypy.ini b/mypy.ini index f8b1844b6..ff3706426 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1 +1,2 @@ [mypy] +plugins = pydantic.mypy diff --git a/pyatlan/client/atlan.py b/pyatlan/client/atlan.py index e45842c40..75a056a55 100644 --- a/pyatlan/client/atlan.py +++ b/pyatlan/client/atlan.py @@ -1259,6 +1259,7 @@ def purge_entity_by_guid( guids.append(guid) query_params = {"deleteType": AtlanDeleteType.PURGE.value, "guid": guids} raw_json = self._call_api(DELETE_ENTITIES_BY_GUIDS, query_params=query_params) + print("raw_json", raw_json) return AssetMutationResponse(**raw_json) def delete_entity_by_guid( diff --git a/pyatlan/generator/separate.py b/pyatlan/generator/separate.py new file mode 100644 index 000000000..391983052 --- /dev/null +++ b/pyatlan/generator/separate.py @@ -0,0 +1,39 @@ +import inspect +from enum import Enum +from pathlib import Path + +import pyatlan.model.enums +from pyatlan.generator.class_generator import get_type, get_type_defs + +PARENT = Path(__file__).parent +HEADER = """# SPDX-License-Identifier: Apache-2.0 +# Copyright 2022 Atlan Pte. Ltd. +# Based on original code from https://github.com/apache/atlas (under Apache-2.0 license) +from datetime import datetime +from enum import Enum + +""" +WARNING = """# ************************************** +# CODE BELOW IS GENERATED NOT MODIFY ** +# ************************************** +""" + +type_defs = get_type_defs() +enum_def_names = {get_type(enum_def.name) for enum_def in type_defs.enum_defs} +enums_by_name = { + cls_name: cls_obj + for cls_name, cls_obj in inspect.getmembers(pyatlan.model.enums) + if inspect.isclass(cls_obj) and issubclass(cls_obj, Enum) and cls_name != "Enum" +} +all_enum_names = set(enums_by_name.keys()) +generated_enum_names = sorted(enum_def_names.intersection(all_enum_names)) +manual_enum_names = sorted(all_enum_names.difference(enum_def_names)) +with (PARENT / "generated").open("w") as output: + output.write(HEADER) + for name in manual_enum_names: + source = inspect.getsource(enums_by_name[name]) + output.write(source) + output.write(WARNING) + for name in generated_enum_names: + source = inspect.getsource(enums_by_name[name]) + output.write(source) diff --git a/pyatlan/generator/templates/macros.jinja2 b/pyatlan/generator/templates/macros.jinja2 index d22043a77..abac3df93 100644 --- a/pyatlan/generator/templates/macros.jinja2 +++ b/pyatlan/generator/templates/macros.jinja2 @@ -1,4 +1,4 @@ -{%- macro gen_properties(attribute_defs) %} +{%- macro gen_properties(entity_def, attribute_defs) %} _convenience_properties: ClassVar[list[str]] = [ {%- for attribute_def in attribute_defs %} "{{ 'assigned_terms' if attribute_def.name == 'meanings' else attribute_def.name | to_snake_case }}", @@ -16,7 +16,7 @@ @{{ property_name }}.setter def {{ property_name }}(self, {{ property_name }}:{{ property_type }}): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes({% if entity_def.name != "Referenceable" %}name=""{% endif %}) self.attributes.{{ attribute_name }} = {{ property_name }} {%- endfor %} diff --git a/pyatlan/generator/templates/methods/asset/asset.jinja2 b/pyatlan/generator/templates/methods/asset/asset.jinja2 index 29531c080..2f7de0709 100644 --- a/pyatlan/generator/templates/methods/asset/asset.jinja2 +++ b/pyatlan/generator/templates/methods/asset/asset.jinja2 @@ -24,14 +24,14 @@ @classmethod def ref_by_guid(cls: type[SelfAsset], guid: str) -> SelfAsset: - retval: SelfAsset = cls(attributes=cls.Attributes()) + retval: SelfAsset = cls(attributes=cls.Attributes(name="")) retval.guid = guid return retval @classmethod def ref_by_qualified_name(cls: type[SelfAsset], qualified_name: str) -> SelfAsset: ret_value: SelfAsset = cls( - attributes=cls.Attributes(qualified_name=qualified_name) + attributes=cls.Attributes(name="", qualified_name=qualified_name) ) ret_value.unique_attributes = {"qualifiedName": qualified_name} return ret_value diff --git a/pyatlan/generator/templates/module.jinja2 b/pyatlan/generator/templates/module.jinja2 index 143421105..4f3fde7f4 100644 --- a/pyatlan/generator/templates/module.jinja2 +++ b/pyatlan/generator/templates/module.jinja2 @@ -48,18 +48,22 @@ class {{ entity_def.name }}({{super_classes[0]}} {%- if "Asset" in super_classes class Attributes({{super_classes[0]}}.Attributes): {%- for attribute_def in entity_def.attribute_defs %} {%- set type = attribute_def.typeName | get_type %} - {{attribute_def.name | to_snake_case }}: {% if attribute_def.isOptional %}Optional[{% endif %}{{type}}{% if attribute_def.isOptional %}]{% endif %} = Field(None, description='' , alias='{{attribute_def.name}}') + {{attribute_def.name | to_snake_case }}: {% if attribute_def.isOptional %}Optional[{% endif %}{{type}}{% if attribute_def.isOptional %}]{% endif %} = Field({% if attribute_def.isOptional %}None,{% endif %} description='' , alias='{{attribute_def.name}}') {%- endfor %} {%- for attribute_def in entity_def.relationship_attribute_defs %} {%- set type = attribute_def.typeName | get_type %} - {{attribute_def.name | to_snake_case }}: {% if attribute_def.isOptional %}Optional[{% endif %}{{type}}{% if attribute_def.isOptional %}]{% endif %} = Field(None, description='', alias='{{attribute_def.name}}') # relationship + {{attribute_def.name | to_snake_case }}: {% if attribute_def.isOptional %}Optional[{% endif %}{{type}}{% if attribute_def.isOptional %}]{% endif %} = Field({% if attribute_def.isOptional %}None,{% endif %} description='', alias='{{attribute_def.name}}') # relationship {%- endfor %} {% set file_name = 'methods/attribute/' + entity_def.name | to_snake_case + '.jinja2' %} {% if existz('templates/' + file_name) %} {% include file_name %} {% endif %} attributes: '{{entity_def.name}}.Attributes' = Field( - default_factory = lambda: {{entity_def.name}}.Attributes(), + default_factory = lambda: {{entity_def.name}}.Attributes({% if entity_def.name != 'Referenceable' %}name="",{% endif %} + {% if entity_def.name == 'AtlasGlossaryTerm' or entity_def.name == 'AtlasGlossaryCategory' %} anchor=AtlasGlossary(){% endif %} + {% if entity_def.name == 'Folder' or entity_def.name == 'Query' %} parent_qualified_name="", collection_qualified_name="", parent=Namespace(){% endif %} + {% if entity_def.name == 'Procedure' %} definition=""{% endif %} + ), description='Map of attributes in the instance and their values. The specific keys of this map will vary by ' 'type, so are described in the sub-types of this schema.\n', ) diff --git a/pyatlan/generator/templates/properties.jinja2 b/pyatlan/generator/templates/properties.jinja2 index 1791b39b0..92924f682 100644 --- a/pyatlan/generator/templates/properties.jinja2 +++ b/pyatlan/generator/templates/properties.jinja2 @@ -9,4 +9,4 @@ {{ gen_property_relationship_class_vars(entity_def.name, entity_def.relationship_attribute_defs) }} {%- endif %} - {{ gen_properties(entity_def.attribute_defs + entity_def.relationship_attribute_defs) }} + {{ gen_properties(entity_def, (entity_def.attribute_defs + entity_def.relationship_attribute_defs)) }} diff --git a/pyatlan/generator/templates/referenceable_attributes.jinja2 b/pyatlan/generator/templates/referenceable_attributes.jinja2 index 23555671a..f9c337227 100644 --- a/pyatlan/generator/templates/referenceable_attributes.jinja2 +++ b/pyatlan/generator/templates/referenceable_attributes.jinja2 @@ -7,7 +7,7 @@ {%- endfor %} {%- for attribute_def in entity_def.relationship_attribute_defs %} {%- set type = attribute_def.typeName | get_type %} - {{attribute_def.name | to_snake_case }}: {% if attribute_def.isOptional %}Optional[{% endif %}{{type}}{% if attribute_def.isOptional %}]{% endif %} = Field(None, description='', alias='{{attribute_def.name}}') # relationship + {{attribute_def.name | to_snake_case }}: {% if attribute_def.isOptional %}Optional[{% endif %}{{type}}{% if attribute_def.isOptional %}]{% endif %} = Field({% if attribute_def.isOptional %}None,{% endif %} description='', alias='{{attribute_def.name}}') # relationship {%- endfor %} def validate_required(self): @@ -59,6 +59,8 @@ ) """Unique fully-qualified name of the asset in Atlan.""" + type_name: str = Field("Referenceable", description='Name of the type definition that defines this instance.\n' + ) _metadata_proxy: CustomMetadataProxy = PrivateAttr() attributes: '{{entity_def.name}}.Attributes' = Field( default_factory = lambda : {{entity_def.name}}.Attributes(), @@ -102,9 +104,6 @@ description="Status of the entity", example=EntityStatus.ACTIVE ) - type_name: str = Field( - None, description='Name of the type definition that defines this instance.\n' - ) updated_by: Optional[str] = Field( None, description='Username of the user who last assets_updated the object.\n', diff --git a/pyatlan/generator/templates/structs.jinja2 b/pyatlan/generator/templates/structs.jinja2 index 237ccd8db..3a9ac3f62 100644 --- a/pyatlan/generator/templates/structs.jinja2 +++ b/pyatlan/generator/templates/structs.jinja2 @@ -43,6 +43,6 @@ class {{struct.name}}(AtlanObject): {% endif %} {%- for attribute_def in struct.attribute_defs %} {%- set type = attribute_def.type_name | get_type %} - {{attribute_def.name | to_snake_case }}: {% if attribute_def.is_optional %}Optional[{% endif %}'{{type}}'{% if attribute_def.is_optional %}]{% endif %} = Field(None, description='' , alias='{{attribute_def.name}}') + {{attribute_def.name | to_snake_case }}: {% if attribute_def.is_optional %}Optional[{% endif %}'{{type}}'{% if attribute_def.is_optional %}]{% endif %} = Field({% if attribute_def.is_optional %}None,{% endif %} description='' , alias='{{attribute_def.name}}') {%- endfor %} {% endfor %} diff --git a/pyatlan/model/assets/asset00.py b/pyatlan/model/assets/asset00.py index 80c3d5ae1..c6d2abdc6 100644 --- a/pyatlan/model/assets/asset00.py +++ b/pyatlan/model/assets/asset00.py @@ -184,6 +184,10 @@ def validate_required(self): ) """Unique fully-qualified name of the asset in Atlan.""" + type_name: str = Field( + "Referenceable", + description="Name of the type definition that defines this instance.\n", + ) _metadata_proxy: CustomMetadataProxy = PrivateAttr() attributes: "Referenceable.Attributes" = Field( default_factory=lambda: Referenceable.Attributes(), @@ -225,9 +229,6 @@ def validate_required(self): status: Optional[EntityStatus] = Field( None, description="Status of the entity", example=EntityStatus.ACTIVE ) - type_name: str = Field( - None, description="Name of the type definition that defines this instance.\n" - ) updated_by: Optional[str] = Field( None, description="Username of the user who last assets_updated the object.\n", @@ -314,14 +315,14 @@ def create_for_modification( @classmethod def ref_by_guid(cls: type[SelfAsset], guid: str) -> SelfAsset: - retval: SelfAsset = cls(attributes=cls.Attributes()) + retval: SelfAsset = cls(attributes=cls.Attributes(name="")) retval.guid = guid return retval @classmethod def ref_by_qualified_name(cls: type[SelfAsset], qualified_name: str) -> SelfAsset: ret_value: SelfAsset = cls( - attributes=cls.Attributes(qualified_name=qualified_name) + attributes=cls.Attributes(name="", qualified_name=qualified_name) ) ret_value.unique_attributes = {"qualifiedName": qualified_name} return ret_value @@ -332,7 +333,6 @@ def __get_validators__(cls): @classmethod def _convert_to_real_type_(cls, data): - if isinstance(data, Asset): return data @@ -1299,7 +1299,7 @@ def name(self) -> str: @name.setter def name(self, name: str): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.name = name @property @@ -1309,7 +1309,7 @@ def display_name(self) -> Optional[str]: @display_name.setter def display_name(self, display_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.display_name = display_name @property @@ -1319,7 +1319,7 @@ def description(self) -> Optional[str]: @description.setter def description(self, description: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.description = description @property @@ -1329,7 +1329,7 @@ def user_description(self) -> Optional[str]: @user_description.setter def user_description(self, user_description: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.user_description = user_description @property @@ -1339,7 +1339,7 @@ def tenant_id(self) -> Optional[str]: @tenant_id.setter def tenant_id(self, tenant_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tenant_id = tenant_id @property @@ -1349,7 +1349,7 @@ def certificate_status(self) -> Optional[CertificateStatus]: @certificate_status.setter def certificate_status(self, certificate_status: Optional[CertificateStatus]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.certificate_status = certificate_status @property @@ -1363,7 +1363,7 @@ def certificate_status_message(self) -> Optional[str]: @certificate_status_message.setter def certificate_status_message(self, certificate_status_message: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.certificate_status_message = certificate_status_message @property @@ -1375,7 +1375,7 @@ def certificate_updated_by(self) -> Optional[str]: @certificate_updated_by.setter def certificate_updated_by(self, certificate_updated_by: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.certificate_updated_by = certificate_updated_by @property @@ -1387,7 +1387,7 @@ def certificate_updated_at(self) -> Optional[datetime]: @certificate_updated_at.setter def certificate_updated_at(self, certificate_updated_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.certificate_updated_at = certificate_updated_at @property @@ -1397,7 +1397,7 @@ def announcement_title(self) -> Optional[str]: @announcement_title.setter def announcement_title(self, announcement_title: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.announcement_title = announcement_title @property @@ -1407,7 +1407,7 @@ def announcement_message(self) -> Optional[str]: @announcement_message.setter def announcement_message(self, announcement_message: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.announcement_message = announcement_message @property @@ -1417,7 +1417,7 @@ def announcement_type(self) -> Optional[str]: @announcement_type.setter def announcement_type(self, announcement_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.announcement_type = announcement_type @property @@ -1429,7 +1429,7 @@ def announcement_updated_at(self) -> Optional[datetime]: @announcement_updated_at.setter def announcement_updated_at(self, announcement_updated_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.announcement_updated_at = announcement_updated_at @property @@ -1441,7 +1441,7 @@ def announcement_updated_by(self) -> Optional[str]: @announcement_updated_by.setter def announcement_updated_by(self, announcement_updated_by: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.announcement_updated_by = announcement_updated_by @property @@ -1451,7 +1451,7 @@ def owner_users(self) -> Optional[set[str]]: @owner_users.setter def owner_users(self, owner_users: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.owner_users = owner_users @property @@ -1461,7 +1461,7 @@ def owner_groups(self) -> Optional[set[str]]: @owner_groups.setter def owner_groups(self, owner_groups: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.owner_groups = owner_groups @property @@ -1471,7 +1471,7 @@ def admin_users(self) -> Optional[set[str]]: @admin_users.setter def admin_users(self, admin_users: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.admin_users = admin_users @property @@ -1481,7 +1481,7 @@ def admin_groups(self) -> Optional[set[str]]: @admin_groups.setter def admin_groups(self, admin_groups: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.admin_groups = admin_groups @property @@ -1491,7 +1491,7 @@ def viewer_users(self) -> Optional[set[str]]: @viewer_users.setter def viewer_users(self, viewer_users: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.viewer_users = viewer_users @property @@ -1501,7 +1501,7 @@ def viewer_groups(self) -> Optional[set[str]]: @viewer_groups.setter def viewer_groups(self, viewer_groups: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.viewer_groups = viewer_groups @property @@ -1511,7 +1511,7 @@ def connector_name(self) -> Optional[str]: @connector_name.setter def connector_name(self, connector_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.connector_name = connector_name @property @@ -1521,7 +1521,7 @@ def connection_name(self) -> Optional[str]: @connection_name.setter def connection_name(self, connection_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.connection_name = connection_name @property @@ -1535,7 +1535,7 @@ def connection_qualified_name(self) -> Optional[str]: @connection_qualified_name.setter def connection_qualified_name(self, connection_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.connection_qualified_name = connection_qualified_name @property @@ -1545,7 +1545,7 @@ def has_lineage(self) -> Optional[bool]: @has_lineage.setter def has_lineage(self, has_lineage: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.has_lineage = has_lineage @property @@ -1555,7 +1555,7 @@ def is_discoverable(self) -> Optional[bool]: @is_discoverable.setter def is_discoverable(self, is_discoverable: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_discoverable = is_discoverable @property @@ -1565,7 +1565,7 @@ def is_editable(self) -> Optional[bool]: @is_editable.setter def is_editable(self, is_editable: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_editable = is_editable @property @@ -1575,7 +1575,7 @@ def sub_type(self) -> Optional[str]: @sub_type.setter def sub_type(self, sub_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sub_type = sub_type @property @@ -1585,7 +1585,7 @@ def view_score(self) -> Optional[float]: @view_score.setter def view_score(self, view_score: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.view_score = view_score @property @@ -1595,7 +1595,7 @@ def popularity_score(self) -> Optional[float]: @popularity_score.setter def popularity_score(self, popularity_score: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.popularity_score = popularity_score @property @@ -1605,7 +1605,7 @@ def source_owners(self) -> Optional[str]: @source_owners.setter def source_owners(self, source_owners: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_owners = source_owners @property @@ -1615,7 +1615,7 @@ def source_created_by(self) -> Optional[str]: @source_created_by.setter def source_created_by(self, source_created_by: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_created_by = source_created_by @property @@ -1625,7 +1625,7 @@ def source_created_at(self) -> Optional[datetime]: @source_created_at.setter def source_created_at(self, source_created_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_created_at = source_created_at @property @@ -1635,7 +1635,7 @@ def source_updated_at(self) -> Optional[datetime]: @source_updated_at.setter def source_updated_at(self, source_updated_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_updated_at = source_updated_at @property @@ -1645,7 +1645,7 @@ def source_updated_by(self) -> Optional[str]: @source_updated_by.setter def source_updated_by(self, source_updated_by: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_updated_by = source_updated_by @property @@ -1655,7 +1655,7 @@ def source_url(self) -> Optional[str]: @source_url.setter def source_url(self, source_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_url = source_url @property @@ -1665,7 +1665,7 @@ def source_embed_url(self) -> Optional[str]: @source_embed_url.setter def source_embed_url(self, source_embed_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_embed_url = source_embed_url @property @@ -1677,7 +1677,7 @@ def last_sync_workflow_name(self) -> Optional[str]: @last_sync_workflow_name.setter def last_sync_workflow_name(self, last_sync_workflow_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.last_sync_workflow_name = last_sync_workflow_name @property @@ -1687,7 +1687,7 @@ def last_sync_run_at(self) -> Optional[datetime]: @last_sync_run_at.setter def last_sync_run_at(self, last_sync_run_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.last_sync_run_at = last_sync_run_at @property @@ -1697,7 +1697,7 @@ def last_sync_run(self) -> Optional[str]: @last_sync_run.setter def last_sync_run(self, last_sync_run: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.last_sync_run = last_sync_run @property @@ -1707,7 +1707,7 @@ def admin_roles(self) -> Optional[set[str]]: @admin_roles.setter def admin_roles(self, admin_roles: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.admin_roles = admin_roles @property @@ -1717,7 +1717,7 @@ def source_read_count(self) -> Optional[int]: @source_read_count.setter def source_read_count(self, source_read_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_read_count = source_read_count @property @@ -1729,7 +1729,7 @@ def source_read_user_count(self) -> Optional[int]: @source_read_user_count.setter def source_read_user_count(self, source_read_user_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_read_user_count = source_read_user_count @property @@ -1739,7 +1739,7 @@ def source_last_read_at(self) -> Optional[datetime]: @source_last_read_at.setter def source_last_read_at(self, source_last_read_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_last_read_at = source_last_read_at @property @@ -1749,7 +1749,7 @@ def last_row_changed_at(self) -> Optional[datetime]: @last_row_changed_at.setter def last_row_changed_at(self, last_row_changed_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.last_row_changed_at = last_row_changed_at @property @@ -1759,7 +1759,7 @@ def source_total_cost(self) -> Optional[float]: @source_total_cost.setter def source_total_cost(self, source_total_cost: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_total_cost = source_total_cost @property @@ -1769,7 +1769,7 @@ def source_cost_unit(self) -> Optional[SourceCostUnitType]: @source_cost_unit.setter def source_cost_unit(self, source_cost_unit: Optional[SourceCostUnitType]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_cost_unit = source_cost_unit @property @@ -1781,7 +1781,7 @@ def source_read_query_cost(self) -> Optional[float]: @source_read_query_cost.setter def source_read_query_cost(self, source_read_query_cost: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_read_query_cost = source_read_query_cost @property @@ -1797,7 +1797,7 @@ def source_read_recent_user_list( self, source_read_recent_user_list: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_read_recent_user_list = source_read_recent_user_list @property @@ -1813,7 +1813,7 @@ def source_read_recent_user_record_list( self, source_read_recent_user_record_list: Optional[list[PopularityInsights]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_read_recent_user_record_list = ( source_read_recent_user_record_list ) @@ -1829,7 +1829,7 @@ def source_read_top_user_list(self) -> Optional[set[str]]: @source_read_top_user_list.setter def source_read_top_user_list(self, source_read_top_user_list: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_read_top_user_list = source_read_top_user_list @property @@ -1845,7 +1845,7 @@ def source_read_top_user_record_list( self, source_read_top_user_record_list: Optional[list[PopularityInsights]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_read_top_user_record_list = ( source_read_top_user_record_list ) @@ -1865,7 +1865,7 @@ def source_read_popular_query_record_list( self, source_read_popular_query_record_list: Optional[list[PopularityInsights]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_read_popular_query_record_list = ( source_read_popular_query_record_list ) @@ -1886,7 +1886,7 @@ def source_read_expensive_query_record_list( source_read_expensive_query_record_list: Optional[list[PopularityInsights]], ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_read_expensive_query_record_list = ( source_read_expensive_query_record_list ) @@ -1904,7 +1904,7 @@ def source_read_slow_query_record_list( self, source_read_slow_query_record_list: Optional[list[PopularityInsights]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_read_slow_query_record_list = ( source_read_slow_query_record_list ) @@ -1922,7 +1922,7 @@ def source_query_compute_cost_list( self, source_query_compute_cost_list: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_query_compute_cost_list = source_query_compute_cost_list @property @@ -1940,7 +1940,7 @@ def source_query_compute_cost_record_list( self, source_query_compute_cost_record_list: Optional[list[PopularityInsights]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_query_compute_cost_record_list = ( source_query_compute_cost_record_list ) @@ -1952,7 +1952,7 @@ def dbt_qualified_name(self) -> Optional[str]: @dbt_qualified_name.setter def dbt_qualified_name(self, dbt_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_qualified_name = dbt_qualified_name @property @@ -1962,7 +1962,7 @@ def asset_dbt_alias(self) -> Optional[str]: @asset_dbt_alias.setter def asset_dbt_alias(self, asset_dbt_alias: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_alias = asset_dbt_alias @property @@ -1972,7 +1972,7 @@ def asset_dbt_meta(self) -> Optional[str]: @asset_dbt_meta.setter def asset_dbt_meta(self, asset_dbt_meta: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_meta = asset_dbt_meta @property @@ -1982,7 +1982,7 @@ def asset_dbt_unique_id(self) -> Optional[str]: @asset_dbt_unique_id.setter def asset_dbt_unique_id(self, asset_dbt_unique_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_unique_id = asset_dbt_unique_id @property @@ -1994,7 +1994,7 @@ def asset_dbt_account_name(self) -> Optional[str]: @asset_dbt_account_name.setter def asset_dbt_account_name(self, asset_dbt_account_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_account_name = asset_dbt_account_name @property @@ -2006,7 +2006,7 @@ def asset_dbt_project_name(self) -> Optional[str]: @asset_dbt_project_name.setter def asset_dbt_project_name(self, asset_dbt_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_project_name = asset_dbt_project_name @property @@ -2018,7 +2018,7 @@ def asset_dbt_package_name(self) -> Optional[str]: @asset_dbt_package_name.setter def asset_dbt_package_name(self, asset_dbt_package_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_package_name = asset_dbt_package_name @property @@ -2028,7 +2028,7 @@ def asset_dbt_job_name(self) -> Optional[str]: @asset_dbt_job_name.setter def asset_dbt_job_name(self, asset_dbt_job_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_name = asset_dbt_job_name @property @@ -2040,7 +2040,7 @@ def asset_dbt_job_schedule(self) -> Optional[str]: @asset_dbt_job_schedule.setter def asset_dbt_job_schedule(self, asset_dbt_job_schedule: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_schedule = asset_dbt_job_schedule @property @@ -2050,7 +2050,7 @@ def asset_dbt_job_status(self) -> Optional[str]: @asset_dbt_job_status.setter def asset_dbt_job_status(self, asset_dbt_job_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_status = asset_dbt_job_status @property @@ -2062,7 +2062,7 @@ def asset_dbt_test_status(self) -> Optional[str]: @asset_dbt_test_status.setter def asset_dbt_test_status(self, asset_dbt_test_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_test_status = asset_dbt_test_status @property @@ -2078,7 +2078,7 @@ def asset_dbt_job_schedule_cron_humanized( self, asset_dbt_job_schedule_cron_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_schedule_cron_humanized = ( asset_dbt_job_schedule_cron_humanized ) @@ -2092,7 +2092,7 @@ def asset_dbt_job_last_run(self) -> Optional[datetime]: @asset_dbt_job_last_run.setter def asset_dbt_job_last_run(self, asset_dbt_job_last_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run = asset_dbt_job_last_run @property @@ -2106,7 +2106,7 @@ def asset_dbt_job_last_run_url(self) -> Optional[str]: @asset_dbt_job_last_run_url.setter def asset_dbt_job_last_run_url(self, asset_dbt_job_last_run_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_url = asset_dbt_job_last_run_url @property @@ -2122,7 +2122,7 @@ def asset_dbt_job_last_run_created_at( self, asset_dbt_job_last_run_created_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_created_at = ( asset_dbt_job_last_run_created_at ) @@ -2140,7 +2140,7 @@ def asset_dbt_job_last_run_updated_at( self, asset_dbt_job_last_run_updated_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_updated_at = ( asset_dbt_job_last_run_updated_at ) @@ -2158,7 +2158,7 @@ def asset_dbt_job_last_run_dequed_at( self, asset_dbt_job_last_run_dequed_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_dequed_at = ( asset_dbt_job_last_run_dequed_at ) @@ -2176,7 +2176,7 @@ def asset_dbt_job_last_run_started_at( self, asset_dbt_job_last_run_started_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_started_at = ( asset_dbt_job_last_run_started_at ) @@ -2194,7 +2194,7 @@ def asset_dbt_job_last_run_total_duration( self, asset_dbt_job_last_run_total_duration: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_total_duration = ( asset_dbt_job_last_run_total_duration ) @@ -2212,7 +2212,7 @@ def asset_dbt_job_last_run_total_duration_humanized( self, asset_dbt_job_last_run_total_duration_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_total_duration_humanized = ( asset_dbt_job_last_run_total_duration_humanized ) @@ -2230,7 +2230,7 @@ def asset_dbt_job_last_run_queued_duration( self, asset_dbt_job_last_run_queued_duration: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_queued_duration = ( asset_dbt_job_last_run_queued_duration ) @@ -2248,7 +2248,7 @@ def asset_dbt_job_last_run_queued_duration_humanized( self, asset_dbt_job_last_run_queued_duration_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_queued_duration_humanized = ( asset_dbt_job_last_run_queued_duration_humanized ) @@ -2266,7 +2266,7 @@ def asset_dbt_job_last_run_run_duration( self, asset_dbt_job_last_run_run_duration: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_run_duration = ( asset_dbt_job_last_run_run_duration ) @@ -2284,7 +2284,7 @@ def asset_dbt_job_last_run_run_duration_humanized( self, asset_dbt_job_last_run_run_duration_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_run_duration_humanized = ( asset_dbt_job_last_run_run_duration_humanized ) @@ -2302,7 +2302,7 @@ def asset_dbt_job_last_run_git_branch( self, asset_dbt_job_last_run_git_branch: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_git_branch = ( asset_dbt_job_last_run_git_branch ) @@ -2320,7 +2320,7 @@ def asset_dbt_job_last_run_git_sha( self, asset_dbt_job_last_run_git_sha: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_git_sha = asset_dbt_job_last_run_git_sha @property @@ -2336,7 +2336,7 @@ def asset_dbt_job_last_run_status_message( self, asset_dbt_job_last_run_status_message: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_status_message = ( asset_dbt_job_last_run_status_message ) @@ -2354,7 +2354,7 @@ def asset_dbt_job_last_run_owner_thread_id( self, asset_dbt_job_last_run_owner_thread_id: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_owner_thread_id = ( asset_dbt_job_last_run_owner_thread_id ) @@ -2372,7 +2372,7 @@ def asset_dbt_job_last_run_executed_by_thread_id( self, asset_dbt_job_last_run_executed_by_thread_id: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_executed_by_thread_id = ( asset_dbt_job_last_run_executed_by_thread_id ) @@ -2390,7 +2390,7 @@ def asset_dbt_job_last_run_artifacts_saved( self, asset_dbt_job_last_run_artifacts_saved: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_artifacts_saved = ( asset_dbt_job_last_run_artifacts_saved ) @@ -2408,7 +2408,7 @@ def asset_dbt_job_last_run_artifact_s3_path( self, asset_dbt_job_last_run_artifact_s3_path: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_artifact_s3_path = ( asset_dbt_job_last_run_artifact_s3_path ) @@ -2426,7 +2426,7 @@ def asset_dbt_job_last_run_has_docs_generated( self, asset_dbt_job_last_run_has_docs_generated: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_has_docs_generated = ( asset_dbt_job_last_run_has_docs_generated ) @@ -2444,7 +2444,7 @@ def asset_dbt_job_last_run_has_sources_generated( self, asset_dbt_job_last_run_has_sources_generated: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_has_sources_generated = ( asset_dbt_job_last_run_has_sources_generated ) @@ -2462,7 +2462,7 @@ def asset_dbt_job_last_run_notifications_sent( self, asset_dbt_job_last_run_notifications_sent: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_last_run_notifications_sent = ( asset_dbt_job_last_run_notifications_sent ) @@ -2476,7 +2476,7 @@ def asset_dbt_job_next_run(self) -> Optional[datetime]: @asset_dbt_job_next_run.setter def asset_dbt_job_next_run(self, asset_dbt_job_next_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_next_run = asset_dbt_job_next_run @property @@ -2492,7 +2492,7 @@ def asset_dbt_job_next_run_humanized( self, asset_dbt_job_next_run_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_job_next_run_humanized = ( asset_dbt_job_next_run_humanized ) @@ -2508,7 +2508,7 @@ def asset_dbt_environment_name(self) -> Optional[str]: @asset_dbt_environment_name.setter def asset_dbt_environment_name(self, asset_dbt_environment_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_environment_name = asset_dbt_environment_name @property @@ -2524,7 +2524,7 @@ def asset_dbt_environment_dbt_version( self, asset_dbt_environment_dbt_version: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_environment_dbt_version = ( asset_dbt_environment_dbt_version ) @@ -2536,7 +2536,7 @@ def asset_dbt_tags(self) -> Optional[set[str]]: @asset_dbt_tags.setter def asset_dbt_tags(self, asset_dbt_tags: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_tags = asset_dbt_tags @property @@ -2552,7 +2552,7 @@ def asset_dbt_semantic_layer_proxy_url( self, asset_dbt_semantic_layer_proxy_url: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_semantic_layer_proxy_url = ( asset_dbt_semantic_layer_proxy_url ) @@ -2570,7 +2570,7 @@ def asset_dbt_source_freshness_criteria( self, asset_dbt_source_freshness_criteria: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_dbt_source_freshness_criteria = ( asset_dbt_source_freshness_criteria ) @@ -2582,7 +2582,7 @@ def sample_data_url(self) -> Optional[str]: @sample_data_url.setter def sample_data_url(self, sample_data_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sample_data_url = sample_data_url @property @@ -2592,7 +2592,7 @@ def asset_tags(self) -> Optional[set[str]]: @asset_tags.setter def asset_tags(self, asset_tags: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_tags = asset_tags @property @@ -2604,7 +2604,7 @@ def asset_mc_incident_names(self) -> Optional[set[str]]: @asset_mc_incident_names.setter def asset_mc_incident_names(self, asset_mc_incident_names: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_incident_names = asset_mc_incident_names @property @@ -2620,7 +2620,7 @@ def asset_mc_incident_qualified_names( self, asset_mc_incident_qualified_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_incident_qualified_names = ( asset_mc_incident_qualified_names ) @@ -2634,7 +2634,7 @@ def asset_mc_monitor_names(self) -> Optional[set[str]]: @asset_mc_monitor_names.setter def asset_mc_monitor_names(self, asset_mc_monitor_names: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_monitor_names = asset_mc_monitor_names @property @@ -2650,7 +2650,7 @@ def asset_mc_monitor_qualified_names( self, asset_mc_monitor_qualified_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_monitor_qualified_names = ( asset_mc_monitor_qualified_names ) @@ -2666,7 +2666,7 @@ def asset_mc_monitor_statuses(self) -> Optional[set[str]]: @asset_mc_monitor_statuses.setter def asset_mc_monitor_statuses(self, asset_mc_monitor_statuses: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_monitor_statuses = asset_mc_monitor_statuses @property @@ -2678,7 +2678,7 @@ def asset_mc_monitor_types(self) -> Optional[set[str]]: @asset_mc_monitor_types.setter def asset_mc_monitor_types(self, asset_mc_monitor_types: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_monitor_types = asset_mc_monitor_types @property @@ -2694,7 +2694,7 @@ def asset_mc_monitor_schedule_types( self, asset_mc_monitor_schedule_types: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_monitor_schedule_types = ( asset_mc_monitor_schedule_types ) @@ -2708,7 +2708,7 @@ def asset_mc_incident_types(self) -> Optional[set[str]]: @asset_mc_incident_types.setter def asset_mc_incident_types(self, asset_mc_incident_types: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_incident_types = asset_mc_incident_types @property @@ -2724,7 +2724,7 @@ def asset_mc_incident_sub_types( self, asset_mc_incident_sub_types: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_incident_sub_types = asset_mc_incident_sub_types @property @@ -2740,7 +2740,7 @@ def asset_mc_incident_severities( self, asset_mc_incident_severities: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_incident_severities = asset_mc_incident_severities @property @@ -2754,7 +2754,7 @@ def asset_mc_incident_states(self) -> Optional[set[str]]: @asset_mc_incident_states.setter def asset_mc_incident_states(self, asset_mc_incident_states: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_incident_states = asset_mc_incident_states @property @@ -2768,7 +2768,7 @@ def asset_mc_last_sync_run_at(self) -> Optional[datetime]: @asset_mc_last_sync_run_at.setter def asset_mc_last_sync_run_at(self, asset_mc_last_sync_run_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_mc_last_sync_run_at = asset_mc_last_sync_run_at @property @@ -2778,7 +2778,7 @@ def starred_by(self) -> Optional[set[str]]: @starred_by.setter def starred_by(self, starred_by: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.starred_by = starred_by @property @@ -2790,7 +2790,7 @@ def starred_details_list( self, starred_details_list: Optional[list[StarredDetails]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.starred_details_list = starred_details_list @property @@ -2800,7 +2800,7 @@ def starred_count(self) -> Optional[int]: @starred_count.setter def starred_count(self, starred_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.starred_count = starred_count @property @@ -2812,7 +2812,7 @@ def asset_soda_d_q_status(self) -> Optional[str]: @asset_soda_d_q_status.setter def asset_soda_d_q_status(self, asset_soda_d_q_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_soda_d_q_status = asset_soda_d_q_status @property @@ -2824,7 +2824,7 @@ def asset_soda_check_count(self) -> Optional[int]: @asset_soda_check_count.setter def asset_soda_check_count(self, asset_soda_check_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_soda_check_count = asset_soda_check_count @property @@ -2840,7 +2840,7 @@ def asset_soda_last_sync_run_at( self, asset_soda_last_sync_run_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_soda_last_sync_run_at = asset_soda_last_sync_run_at @property @@ -2852,7 +2852,7 @@ def asset_soda_last_scan_at(self) -> Optional[datetime]: @asset_soda_last_scan_at.setter def asset_soda_last_scan_at(self, asset_soda_last_scan_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_soda_last_scan_at = asset_soda_last_scan_at @property @@ -2866,7 +2866,7 @@ def asset_soda_check_statuses(self) -> Optional[str]: @asset_soda_check_statuses.setter def asset_soda_check_statuses(self, asset_soda_check_statuses: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_soda_check_statuses = asset_soda_check_statuses @property @@ -2878,7 +2878,7 @@ def asset_soda_source_url(self) -> Optional[str]: @asset_soda_source_url.setter def asset_soda_source_url(self, asset_soda_source_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_soda_source_url = asset_soda_source_url @property @@ -2888,7 +2888,7 @@ def asset_icon(self) -> Optional[str]: @asset_icon.setter def asset_icon(self, asset_icon: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset_icon = asset_icon @property @@ -2904,7 +2904,7 @@ def schema_registry_subjects( self, schema_registry_subjects: Optional[list[SchemaRegistrySubject]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_registry_subjects = schema_registry_subjects @property @@ -2914,7 +2914,7 @@ def mc_monitors(self) -> Optional[list[MCMonitor]]: @mc_monitors.setter def mc_monitors(self, mc_monitors: Optional[list[MCMonitor]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitors = mc_monitors @property @@ -2924,7 +2924,7 @@ def files(self) -> Optional[list[File]]: @files.setter def files(self, files: Optional[list[File]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.files = files @property @@ -2934,7 +2934,7 @@ def mc_incidents(self) -> Optional[list[MCIncident]]: @mc_incidents.setter def mc_incidents(self, mc_incidents: Optional[list[MCIncident]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_incidents = mc_incidents @property @@ -2944,7 +2944,7 @@ def links(self) -> Optional[list[Link]]: @links.setter def links(self, links: Optional[list[Link]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.links = links @property @@ -2954,7 +2954,7 @@ def metrics(self) -> Optional[list[Metric]]: @metrics.setter def metrics(self, metrics: Optional[list[Metric]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metrics = metrics @property @@ -2964,7 +2964,7 @@ def readme(self) -> Optional[Readme]: @readme.setter def readme(self, readme: Optional[Readme]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.readme = readme @property @@ -2974,7 +2974,7 @@ def soda_checks(self) -> Optional[list[SodaCheck]]: @soda_checks.setter def soda_checks(self, soda_checks: Optional[list[SodaCheck]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.soda_checks = soda_checks @property @@ -2984,11 +2984,11 @@ def assigned_terms(self) -> Optional[list[AtlasGlossaryTerm]]: @assigned_terms.setter def assigned_terms(self, assigned_terms: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.meanings = assigned_terms class Attributes(Referenceable.Attributes): - name: str = Field(None, description="", alias="name") + name: str = Field(description="", alias="name") display_name: Optional[str] = Field(None, description="", alias="displayName") description: Optional[str] = Field(None, description="", alias="description") user_description: Optional[str] = Field( @@ -3369,7 +3369,9 @@ def remove_announcement(self): self.announcement_type = None attributes: "Asset.Attributes" = Field( - default_factory=lambda: Asset.Attributes(), + default_factory=lambda: Asset.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -3498,7 +3500,7 @@ def short_description(self) -> Optional[str]: @short_description.setter def short_description(self, short_description: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.short_description = short_description @property @@ -3508,7 +3510,7 @@ def long_description(self) -> Optional[str]: @long_description.setter def long_description(self, long_description: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.long_description = long_description @property @@ -3520,7 +3522,7 @@ def additional_attributes(self) -> Optional[dict[str, str]]: @additional_attributes.setter def additional_attributes(self, additional_attributes: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.additional_attributes = additional_attributes @property @@ -3530,7 +3532,7 @@ def terms(self) -> Optional[list[AtlasGlossaryTerm]]: @terms.setter def terms(self, terms: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.terms = terms @property @@ -3540,7 +3542,7 @@ def anchor(self) -> AtlasGlossary: @anchor.setter def anchor(self, anchor: AtlasGlossary): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.anchor = anchor @property @@ -3550,7 +3552,7 @@ def parent_category(self) -> Optional[AtlasGlossaryCategory]: @parent_category.setter def parent_category(self, parent_category: Optional[AtlasGlossaryCategory]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.parent_category = parent_category @property @@ -3562,7 +3564,7 @@ def children_categories( self, children_categories: Optional[list[AtlasGlossaryCategory]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.children_categories = children_categories class Attributes(Asset.Attributes): @@ -3578,8 +3580,8 @@ class Attributes(Asset.Attributes): terms: Optional[list[AtlasGlossaryTerm]] = Field( None, description="", alias="terms" ) # relationship - anchor: AtlasGlossary = Field( - None, description="", alias="anchor" + anchor: Optional[AtlasGlossary] = Field( + description="", alias="anchor" ) # relationship parent_category: Optional[AtlasGlossaryCategory] = Field( None, description="", alias="parentCategory" @@ -3606,7 +3608,9 @@ def create( ) attributes: "AtlasGlossaryCategory.Attributes" = Field( - default_factory=lambda: AtlasGlossaryCategory.Attributes(), + default_factory=lambda: AtlasGlossaryCategory.Attributes( + name="", anchor=AtlasGlossary() + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -3697,7 +3701,7 @@ def short_description(self) -> Optional[str]: @short_description.setter def short_description(self, short_description: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.short_description = short_description @property @@ -3707,7 +3711,7 @@ def long_description(self) -> Optional[str]: @long_description.setter def long_description(self, long_description: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.long_description = long_description @property @@ -3717,7 +3721,7 @@ def language(self) -> Optional[str]: @language.setter def language(self, language: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.language = language @property @@ -3727,7 +3731,7 @@ def usage(self) -> Optional[str]: @usage.setter def usage(self, usage: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.usage = usage @property @@ -3739,7 +3743,7 @@ def additional_attributes(self) -> Optional[dict[str, str]]: @additional_attributes.setter def additional_attributes(self, additional_attributes: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.additional_attributes = additional_attributes @property @@ -3749,7 +3753,7 @@ def terms(self) -> Optional[list[AtlasGlossaryTerm]]: @terms.setter def terms(self, terms: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.terms = terms @property @@ -3759,7 +3763,7 @@ def categories(self) -> Optional[list[AtlasGlossaryCategory]]: @categories.setter def categories(self, categories: Optional[list[AtlasGlossaryCategory]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.categories = categories class Attributes(Asset.Attributes): @@ -3788,7 +3792,9 @@ def create(cls, *, name: StrictStr) -> AtlasGlossary.Attributes: return AtlasGlossary.Attributes(name=name, qualified_name=next_id()) attributes: "AtlasGlossary.Attributes" = Field( - default_factory=lambda: AtlasGlossary.Attributes(), + default_factory=lambda: AtlasGlossary.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -3996,7 +4002,7 @@ def short_description(self) -> Optional[str]: @short_description.setter def short_description(self, short_description: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.short_description = short_description @property @@ -4006,7 +4012,7 @@ def long_description(self) -> Optional[str]: @long_description.setter def long_description(self, long_description: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.long_description = long_description @property @@ -4016,7 +4022,7 @@ def examples(self) -> Optional[set[str]]: @examples.setter def examples(self, examples: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.examples = examples @property @@ -4026,7 +4032,7 @@ def abbreviation(self) -> Optional[str]: @abbreviation.setter def abbreviation(self, abbreviation: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.abbreviation = abbreviation @property @@ -4036,7 +4042,7 @@ def usage(self) -> Optional[str]: @usage.setter def usage(self, usage: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.usage = usage @property @@ -4048,7 +4054,7 @@ def additional_attributes(self) -> Optional[dict[str, str]]: @additional_attributes.setter def additional_attributes(self, additional_attributes: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.additional_attributes = additional_attributes @property @@ -4058,7 +4064,7 @@ def valid_values_for(self) -> Optional[list[AtlasGlossaryTerm]]: @valid_values_for.setter def valid_values_for(self, valid_values_for: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.valid_values_for = valid_values_for @property @@ -4068,7 +4074,7 @@ def valid_values(self) -> Optional[list[AtlasGlossaryTerm]]: @valid_values.setter def valid_values(self, valid_values: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.valid_values = valid_values @property @@ -4078,7 +4084,7 @@ def see_also(self) -> Optional[list[AtlasGlossaryTerm]]: @see_also.setter def see_also(self, see_also: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.see_also = see_also @property @@ -4088,7 +4094,7 @@ def is_a(self) -> Optional[list[AtlasGlossaryTerm]]: @is_a.setter def is_a(self, is_a: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_a = is_a @property @@ -4098,7 +4104,7 @@ def antonyms(self) -> Optional[list[AtlasGlossaryTerm]]: @antonyms.setter def antonyms(self, antonyms: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.antonyms = antonyms @property @@ -4108,7 +4114,7 @@ def assigned_entities(self) -> Optional[list[Referenceable]]: @assigned_entities.setter def assigned_entities(self, assigned_entities: Optional[list[Referenceable]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.assigned_entities = assigned_entities @property @@ -4118,7 +4124,7 @@ def classifies(self) -> Optional[list[AtlasGlossaryTerm]]: @classifies.setter def classifies(self, classifies: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.classifies = classifies @property @@ -4128,7 +4134,7 @@ def categories(self) -> Optional[list[AtlasGlossaryCategory]]: @categories.setter def categories(self, categories: Optional[list[AtlasGlossaryCategory]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.categories = categories @property @@ -4138,7 +4144,7 @@ def preferred_to_terms(self) -> Optional[list[AtlasGlossaryTerm]]: @preferred_to_terms.setter def preferred_to_terms(self, preferred_to_terms: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preferred_to_terms = preferred_to_terms @property @@ -4148,7 +4154,7 @@ def preferred_terms(self) -> Optional[list[AtlasGlossaryTerm]]: @preferred_terms.setter def preferred_terms(self, preferred_terms: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preferred_terms = preferred_terms @property @@ -4158,7 +4164,7 @@ def translation_terms(self) -> Optional[list[AtlasGlossaryTerm]]: @translation_terms.setter def translation_terms(self, translation_terms: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.translation_terms = translation_terms @property @@ -4168,7 +4174,7 @@ def synonyms(self) -> Optional[list[AtlasGlossaryTerm]]: @synonyms.setter def synonyms(self, synonyms: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.synonyms = synonyms @property @@ -4178,7 +4184,7 @@ def replaced_by(self) -> Optional[list[AtlasGlossaryTerm]]: @replaced_by.setter def replaced_by(self, replaced_by: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.replaced_by = replaced_by @property @@ -4188,7 +4194,7 @@ def replacement_terms(self) -> Optional[list[AtlasGlossaryTerm]]: @replacement_terms.setter def replacement_terms(self, replacement_terms: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.replacement_terms = replacement_terms @property @@ -4198,7 +4204,7 @@ def translated_terms(self) -> Optional[list[AtlasGlossaryTerm]]: @translated_terms.setter def translated_terms(self, translated_terms: Optional[list[AtlasGlossaryTerm]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.translated_terms = translated_terms @property @@ -4208,7 +4214,7 @@ def anchor(self) -> AtlasGlossary: @anchor.setter def anchor(self, anchor: AtlasGlossary): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.anchor = anchor class Attributes(Asset.Attributes): @@ -4269,8 +4275,8 @@ class Attributes(Asset.Attributes): translated_terms: Optional[list[AtlasGlossaryTerm]] = Field( None, description="", alias="translatedTerms" ) # relationship - anchor: AtlasGlossary = Field( - None, description="", alias="anchor" + anchor: Optional[AtlasGlossary] = Field( + description="", alias="anchor" ) # relationship @classmethod @@ -4303,7 +4309,9 @@ def create( ) attributes: "AtlasGlossaryTerm.Attributes" = Field( - default_factory=lambda: AtlasGlossaryTerm.Attributes(), + default_factory=lambda: AtlasGlossaryTerm.Attributes( + name="", anchor=AtlasGlossary() + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -4385,7 +4393,7 @@ def inputs(self) -> Optional[list[Catalog]]: @inputs.setter def inputs(self, inputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.inputs = inputs @property @@ -4395,7 +4403,7 @@ def outputs(self) -> Optional[list[Catalog]]: @outputs.setter def outputs(self, outputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.outputs = outputs @property @@ -4405,7 +4413,7 @@ def code(self) -> Optional[str]: @code.setter def code(self, code: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.code = code @property @@ -4415,7 +4423,7 @@ def sql(self) -> Optional[str]: @sql.setter def sql(self, sql: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql = sql @property @@ -4425,7 +4433,7 @@ def ast(self) -> Optional[str]: @ast.setter def ast(self, ast: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.ast = ast @property @@ -4435,7 +4443,7 @@ def airflow_tasks(self) -> Optional[list[AirflowTask]]: @airflow_tasks.setter def airflow_tasks(self, airflow_tasks: Optional[list[AirflowTask]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_tasks = airflow_tasks @property @@ -4445,7 +4453,7 @@ def column_processes(self) -> Optional[list[ColumnProcess]]: @column_processes.setter def column_processes(self, column_processes: Optional[list[ColumnProcess]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_processes = column_processes class Attributes(Asset.Attributes): @@ -4526,7 +4534,9 @@ def create( ) attributes: "Process.Attributes" = Field( - default_factory=lambda: Process.Attributes(), + default_factory=lambda: Process.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -4569,7 +4579,7 @@ def children_queries(self) -> Optional[list[Query]]: @children_queries.setter def children_queries(self, children_queries: Optional[list[Query]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.children_queries = children_queries @property @@ -4579,7 +4589,7 @@ def children_folders(self) -> Optional[list[Folder]]: @children_folders.setter def children_folders(self, children_folders: Optional[list[Folder]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.children_folders = children_folders class Attributes(Asset.Attributes): @@ -4591,7 +4601,9 @@ class Attributes(Asset.Attributes): ) # relationship attributes: "Namespace.Attributes" = Field( - default_factory=lambda: Namespace.Attributes(), + default_factory=lambda: Namespace.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -4648,7 +4660,7 @@ def parent_qualified_name(self) -> str: @parent_qualified_name.setter def parent_qualified_name(self, parent_qualified_name: str): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.parent_qualified_name = parent_qualified_name @property @@ -4662,7 +4674,7 @@ def collection_qualified_name(self) -> str: @collection_qualified_name.setter def collection_qualified_name(self, collection_qualified_name: str): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.collection_qualified_name = collection_qualified_name @property @@ -4672,20 +4684,23 @@ def parent(self) -> Namespace: @parent.setter def parent(self, parent: Namespace): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.parent = parent class Attributes(Namespace.Attributes): - parent_qualified_name: str = Field( - None, description="", alias="parentQualifiedName" - ) + parent_qualified_name: str = Field(description="", alias="parentQualifiedName") collection_qualified_name: str = Field( - None, description="", alias="collectionQualifiedName" + description="", alias="collectionQualifiedName" ) - parent: Namespace = Field(None, description="", alias="parent") # relationship + parent: Namespace = Field(description="", alias="parent") # relationship attributes: "Folder.Attributes" = Field( - default_factory=lambda: Folder.Attributes(), + default_factory=lambda: Folder.Attributes( + name="", + parent_qualified_name="", + collection_qualified_name="", + parent=Namespace(), + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -4744,7 +4759,7 @@ def input_to_processes(self) -> Optional[list[Process]]: @input_to_processes.setter def input_to_processes(self, input_to_processes: Optional[list[Process]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.input_to_processes = input_to_processes @property @@ -4760,7 +4775,7 @@ def output_from_airflow_tasks( self, output_from_airflow_tasks: Optional[list[AirflowTask]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.output_from_airflow_tasks = output_from_airflow_tasks @property @@ -4774,7 +4789,7 @@ def input_to_airflow_tasks( self, input_to_airflow_tasks: Optional[list[AirflowTask]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.input_to_airflow_tasks = input_to_airflow_tasks @property @@ -4786,7 +4801,7 @@ def output_from_processes(self) -> Optional[list[Process]]: @output_from_processes.setter def output_from_processes(self, output_from_processes: Optional[list[Process]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.output_from_processes = output_from_processes class Attributes(Asset.Attributes): @@ -4804,7 +4819,9 @@ class Attributes(Asset.Attributes): ) # relationship attributes: "Catalog.Attributes" = Field( - default_factory=lambda: Catalog.Attributes(), + default_factory=lambda: Catalog.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -4863,7 +4880,7 @@ def tag_id(self) -> Optional[str]: @tag_id.setter def tag_id(self, tag_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tag_id = tag_id @property @@ -4873,7 +4890,7 @@ def tag_attributes(self) -> Optional[list[SourceTagAttribute]]: @tag_attributes.setter def tag_attributes(self, tag_attributes: Optional[list[SourceTagAttribute]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tag_attributes = tag_attributes @property @@ -4883,7 +4900,7 @@ def tag_allowed_values(self) -> Optional[set[str]]: @tag_allowed_values.setter def tag_allowed_values(self, tag_allowed_values: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tag_allowed_values = tag_allowed_values @property @@ -4895,7 +4912,7 @@ def mapped_atlan_tag_name(self) -> Optional[str]: @mapped_atlan_tag_name.setter def mapped_atlan_tag_name(self, mapped_atlan_tag_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mapped_atlan_tag_name = mapped_atlan_tag_name class Attributes(Catalog.Attributes): @@ -4911,7 +4928,9 @@ class Attributes(Catalog.Attributes): ) attributes: "Tag.Attributes" = Field( - default_factory=lambda: Tag.Attributes(), + default_factory=lambda: Tag.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -4959,7 +4978,7 @@ def outputs(self) -> Optional[list[Catalog]]: @outputs.setter def outputs(self, outputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.outputs = outputs @property @@ -4969,7 +4988,7 @@ def process(self) -> Optional[Process]: @process.setter def process(self, process: Optional[Process]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.process = process @property @@ -4979,7 +4998,7 @@ def inputs(self) -> Optional[list[Catalog]]: @inputs.setter def inputs(self, inputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.inputs = inputs class Attributes(Process.Attributes): @@ -4994,7 +5013,9 @@ class Attributes(Process.Attributes): ) # relationship attributes: "ColumnProcess.Attributes" = Field( - default_factory=lambda: ColumnProcess.Attributes(), + default_factory=lambda: ColumnProcess.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -5081,7 +5102,7 @@ def airflow_tags(self) -> Optional[set[str]]: @airflow_tags.setter def airflow_tags(self, airflow_tags: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_tags = airflow_tags @property @@ -5091,7 +5112,7 @@ def airflow_run_version(self) -> Optional[str]: @airflow_run_version.setter def airflow_run_version(self, airflow_run_version: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_run_version = airflow_run_version @property @@ -5107,7 +5128,7 @@ def airflow_run_open_lineage_version( self, airflow_run_open_lineage_version: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_run_open_lineage_version = ( airflow_run_open_lineage_version ) @@ -5119,7 +5140,7 @@ def airflow_run_name(self) -> Optional[str]: @airflow_run_name.setter def airflow_run_name(self, airflow_run_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_run_name = airflow_run_name @property @@ -5129,7 +5150,7 @@ def airflow_run_type(self) -> Optional[str]: @airflow_run_type.setter def airflow_run_type(self, airflow_run_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_run_type = airflow_run_type @property @@ -5141,7 +5162,7 @@ def airflow_run_start_time(self) -> Optional[datetime]: @airflow_run_start_time.setter def airflow_run_start_time(self, airflow_run_start_time: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_run_start_time = airflow_run_start_time @property @@ -5151,7 +5172,7 @@ def airflow_run_end_time(self) -> Optional[datetime]: @airflow_run_end_time.setter def airflow_run_end_time(self, airflow_run_end_time: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_run_end_time = airflow_run_end_time @property @@ -5167,7 +5188,7 @@ def airflow_run_open_lineage_state( self, airflow_run_open_lineage_state: Optional[OpenLineageRunState] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_run_open_lineage_state = airflow_run_open_lineage_state class Attributes(Catalog.Attributes): @@ -5197,7 +5218,9 @@ class Attributes(Catalog.Attributes): ) attributes: "Airflow.Attributes" = Field( - default_factory=lambda: Airflow.Attributes(), + default_factory=lambda: Airflow.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -5250,7 +5273,7 @@ def airflow_dag_schedule(self) -> Optional[str]: @airflow_dag_schedule.setter def airflow_dag_schedule(self, airflow_dag_schedule: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_dag_schedule = airflow_dag_schedule @property @@ -5264,7 +5287,7 @@ def airflow_dag_schedule_delta(self) -> Optional[int]: @airflow_dag_schedule_delta.setter def airflow_dag_schedule_delta(self, airflow_dag_schedule_delta: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_dag_schedule_delta = airflow_dag_schedule_delta @property @@ -5274,7 +5297,7 @@ def airflow_tasks(self) -> Optional[list[AirflowTask]]: @airflow_tasks.setter def airflow_tasks(self, airflow_tasks: Optional[list[AirflowTask]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_tasks = airflow_tasks class Attributes(Airflow.Attributes): @@ -5289,7 +5312,9 @@ class Attributes(Airflow.Attributes): ) # relationship attributes: "AirflowDag.Attributes" = Field( - default_factory=lambda: AirflowDag.Attributes(), + default_factory=lambda: AirflowDag.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -5428,7 +5453,7 @@ def airflow_task_operator_class(self) -> Optional[str]: @airflow_task_operator_class.setter def airflow_task_operator_class(self, airflow_task_operator_class: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_task_operator_class = airflow_task_operator_class @property @@ -5438,7 +5463,7 @@ def airflow_dag_name(self) -> Optional[str]: @airflow_dag_name.setter def airflow_dag_name(self, airflow_dag_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_dag_name = airflow_dag_name @property @@ -5452,7 +5477,7 @@ def airflow_dag_qualified_name(self) -> Optional[str]: @airflow_dag_qualified_name.setter def airflow_dag_qualified_name(self, airflow_dag_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_dag_qualified_name = airflow_dag_qualified_name @property @@ -5466,7 +5491,7 @@ def airflow_task_connection_id(self) -> Optional[str]: @airflow_task_connection_id.setter def airflow_task_connection_id(self, airflow_task_connection_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_task_connection_id = airflow_task_connection_id @property @@ -5476,7 +5501,7 @@ def airflow_task_sql(self) -> Optional[str]: @airflow_task_sql.setter def airflow_task_sql(self, airflow_task_sql: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_task_sql = airflow_task_sql @property @@ -5490,7 +5515,7 @@ def airflow_task_retry_number(self) -> Optional[int]: @airflow_task_retry_number.setter def airflow_task_retry_number(self, airflow_task_retry_number: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_task_retry_number = airflow_task_retry_number @property @@ -5500,7 +5525,7 @@ def airflow_task_pool(self) -> Optional[str]: @airflow_task_pool.setter def airflow_task_pool(self, airflow_task_pool: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_task_pool = airflow_task_pool @property @@ -5512,7 +5537,7 @@ def airflow_task_pool_slots(self) -> Optional[int]: @airflow_task_pool_slots.setter def airflow_task_pool_slots(self, airflow_task_pool_slots: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_task_pool_slots = airflow_task_pool_slots @property @@ -5522,7 +5547,7 @@ def airflow_task_queue(self) -> Optional[str]: @airflow_task_queue.setter def airflow_task_queue(self, airflow_task_queue: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_task_queue = airflow_task_queue @property @@ -5536,7 +5561,7 @@ def airflow_task_priority_weight(self) -> Optional[int]: @airflow_task_priority_weight.setter def airflow_task_priority_weight(self, airflow_task_priority_weight: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_task_priority_weight = airflow_task_priority_weight @property @@ -5550,7 +5575,7 @@ def airflow_task_trigger_rule(self) -> Optional[str]: @airflow_task_trigger_rule.setter def airflow_task_trigger_rule(self, airflow_task_trigger_rule: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_task_trigger_rule = airflow_task_trigger_rule @property @@ -5560,7 +5585,7 @@ def outputs(self) -> Optional[list[Catalog]]: @outputs.setter def outputs(self, outputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.outputs = outputs @property @@ -5570,7 +5595,7 @@ def process(self) -> Optional[Process]: @process.setter def process(self, process: Optional[Process]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.process = process @property @@ -5580,7 +5605,7 @@ def inputs(self) -> Optional[list[Catalog]]: @inputs.setter def inputs(self, inputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.inputs = inputs @property @@ -5590,7 +5615,7 @@ def airflow_dag(self) -> Optional[AirflowDag]: @airflow_dag.setter def airflow_dag(self, airflow_dag: Optional[AirflowDag]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_dag = airflow_dag class Attributes(Airflow.Attributes): @@ -5641,7 +5666,9 @@ class Attributes(Airflow.Attributes): ) # relationship attributes: "AirflowTask.Attributes" = Field( - default_factory=lambda: AirflowTask.Attributes(), + default_factory=lambda: AirflowTask.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -5735,7 +5762,7 @@ def metric_type(self) -> Optional[str]: @metric_type.setter def metric_type(self, metric_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_type = metric_type @property @@ -5745,7 +5772,7 @@ def metric_s_q_l(self) -> Optional[str]: @metric_s_q_l.setter def metric_s_q_l(self, metric_s_q_l: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_s_q_l = metric_s_q_l @property @@ -5755,7 +5782,7 @@ def metric_filters(self) -> Optional[str]: @metric_filters.setter def metric_filters(self, metric_filters: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_filters = metric_filters @property @@ -5765,7 +5792,7 @@ def metric_time_grains(self) -> Optional[set[str]]: @metric_time_grains.setter def metric_time_grains(self, metric_time_grains: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_time_grains = metric_time_grains @property @@ -5777,7 +5804,7 @@ def metric_timestamp_column(self) -> Optional[Column]: @metric_timestamp_column.setter def metric_timestamp_column(self, metric_timestamp_column: Optional[Column]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_timestamp_column = metric_timestamp_column @property @@ -5787,7 +5814,7 @@ def assets(self) -> Optional[list[Asset]]: @assets.setter def assets(self, assets: Optional[list[Asset]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.assets = assets @property @@ -5803,7 +5830,7 @@ def metric_dimension_columns( self, metric_dimension_columns: Optional[list[Column]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_dimension_columns = metric_dimension_columns class Attributes(DataQuality.Attributes): @@ -5826,7 +5853,9 @@ class Attributes(DataQuality.Attributes): ) # relationship attributes: "Metric.Attributes" = Field( - default_factory=lambda: Metric.Attributes(), + default_factory=lambda: Metric.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -5881,7 +5910,7 @@ def link(self) -> Optional[str]: @link.setter def link(self, link: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.link = link @property @@ -5891,7 +5920,7 @@ def is_global(self) -> Optional[bool]: @is_global.setter def is_global(self, is_global: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_global = is_global @property @@ -5901,7 +5930,7 @@ def reference(self) -> Optional[str]: @reference.setter def reference(self, reference: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.reference = reference @property @@ -5911,7 +5940,7 @@ def resource_metadata(self) -> Optional[dict[str, str]]: @resource_metadata.setter def resource_metadata(self, resource_metadata: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.resource_metadata = resource_metadata class Attributes(Catalog.Attributes): @@ -5923,7 +5952,9 @@ class Attributes(Catalog.Attributes): ) attributes: "Resource.Attributes" = Field( - default_factory=lambda: Resource.Attributes(), + default_factory=lambda: Resource.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -5990,7 +6021,7 @@ def see_also(self) -> Optional[list[Readme]]: @see_also.setter def see_also(self, see_also: Optional[list[Readme]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.see_also = see_also @property @@ -6000,7 +6031,7 @@ def asset(self) -> Optional[Asset]: @asset.setter def asset(self, asset: Optional[Asset]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset = asset class Attributes(Resource.Attributes): @@ -6036,7 +6067,9 @@ def create( ) attributes: "Readme.Attributes" = Field( - default_factory=lambda: Readme.Attributes(), + default_factory=lambda: Readme.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -6098,7 +6131,7 @@ def file_type(self) -> Optional[FileType]: @file_type.setter def file_type(self, file_type: Optional[FileType]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.file_type = file_type @property @@ -6108,7 +6141,7 @@ def file_path(self) -> Optional[str]: @file_path.setter def file_path(self, file_path: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.file_path = file_path @property @@ -6118,7 +6151,7 @@ def file_assets(self) -> Optional[Asset]: @file_assets.setter def file_assets(self, file_assets: Optional[Asset]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.file_assets = file_assets class Attributes(Resource.Attributes): @@ -6145,7 +6178,9 @@ def create( ) attributes: "File.Attributes" = Field( - default_factory=lambda: File.Attributes(), + default_factory=lambda: File.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -6194,7 +6229,7 @@ def icon(self) -> Optional[str]: @icon.setter def icon(self, icon: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.icon = icon @property @@ -6204,7 +6239,7 @@ def icon_type(self) -> Optional[IconType]: @icon_type.setter def icon_type(self, icon_type: Optional[IconType]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.icon_type = icon_type @property @@ -6214,7 +6249,7 @@ def asset(self) -> Optional[Asset]: @asset.setter def asset(self, asset: Optional[Asset]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.asset = asset class Attributes(Resource.Attributes): @@ -6225,7 +6260,9 @@ class Attributes(Resource.Attributes): ) # relationship attributes: "Link.Attributes" = Field( - default_factory=lambda: Link.Attributes(), + default_factory=lambda: Link.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -6378,7 +6415,7 @@ def query_count(self) -> Optional[int]: @query_count.setter def query_count(self, query_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_count = query_count @property @@ -6388,7 +6425,7 @@ def query_user_count(self) -> Optional[int]: @query_user_count.setter def query_user_count(self, query_user_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_user_count = query_user_count @property @@ -6398,7 +6435,7 @@ def query_user_map(self) -> Optional[dict[str, int]]: @query_user_map.setter def query_user_map(self, query_user_map: Optional[dict[str, int]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_user_map = query_user_map @property @@ -6410,7 +6447,7 @@ def query_count_updated_at(self) -> Optional[datetime]: @query_count_updated_at.setter def query_count_updated_at(self, query_count_updated_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_count_updated_at = query_count_updated_at @property @@ -6420,7 +6457,7 @@ def database_name(self) -> Optional[str]: @database_name.setter def database_name(self, database_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.database_name = database_name @property @@ -6432,7 +6469,7 @@ def database_qualified_name(self) -> Optional[str]: @database_qualified_name.setter def database_qualified_name(self, database_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.database_qualified_name = database_qualified_name @property @@ -6442,7 +6479,7 @@ def schema_name(self) -> Optional[str]: @schema_name.setter def schema_name(self, schema_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_name = schema_name @property @@ -6454,7 +6491,7 @@ def schema_qualified_name(self) -> Optional[str]: @schema_qualified_name.setter def schema_qualified_name(self, schema_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_qualified_name = schema_qualified_name @property @@ -6464,7 +6501,7 @@ def table_name(self) -> Optional[str]: @table_name.setter def table_name(self, table_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.table_name = table_name @property @@ -6474,7 +6511,7 @@ def table_qualified_name(self) -> Optional[str]: @table_qualified_name.setter def table_qualified_name(self, table_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.table_qualified_name = table_qualified_name @property @@ -6484,7 +6521,7 @@ def view_name(self) -> Optional[str]: @view_name.setter def view_name(self, view_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.view_name = view_name @property @@ -6494,7 +6531,7 @@ def view_qualified_name(self) -> Optional[str]: @view_qualified_name.setter def view_qualified_name(self, view_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.view_qualified_name = view_qualified_name @property @@ -6504,7 +6541,7 @@ def is_profiled(self) -> Optional[bool]: @is_profiled.setter def is_profiled(self, is_profiled: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_profiled = is_profiled @property @@ -6514,7 +6551,7 @@ def last_profiled_at(self) -> Optional[datetime]: @last_profiled_at.setter def last_profiled_at(self, last_profiled_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.last_profiled_at = last_profiled_at @property @@ -6524,7 +6561,7 @@ def dbt_sources(self) -> Optional[list[DbtSource]]: @dbt_sources.setter def dbt_sources(self, dbt_sources: Optional[list[DbtSource]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_sources = dbt_sources @property @@ -6534,7 +6571,7 @@ def sql_dbt_models(self) -> Optional[list[DbtModel]]: @sql_dbt_models.setter def sql_dbt_models(self, sql_dbt_models: Optional[list[DbtModel]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql_dbt_models = sql_dbt_models @property @@ -6544,7 +6581,7 @@ def sql_dbt_sources(self) -> Optional[list[DbtSource]]: @sql_dbt_sources.setter def sql_dbt_sources(self, sql_dbt_sources: Optional[list[DbtSource]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql_dbt_sources = sql_dbt_sources @property @@ -6554,7 +6591,7 @@ def dbt_models(self) -> Optional[list[DbtModel]]: @dbt_models.setter def dbt_models(self, dbt_models: Optional[list[DbtModel]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_models = dbt_models @property @@ -6564,7 +6601,7 @@ def dbt_tests(self) -> Optional[list[DbtTest]]: @dbt_tests.setter def dbt_tests(self, dbt_tests: Optional[list[DbtTest]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_tests = dbt_tests class Attributes(Catalog.Attributes): @@ -6615,7 +6652,9 @@ class Attributes(Catalog.Attributes): ) # relationship attributes: "SQL.Attributes" = Field( - default_factory=lambda: SQL.Attributes(), + default_factory=lambda: SQL.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -6741,7 +6780,7 @@ def raw_query(self) -> Optional[str]: @raw_query.setter def raw_query(self, raw_query: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.raw_query = raw_query @property @@ -6757,7 +6796,7 @@ def default_schema_qualified_name( self, default_schema_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.default_schema_qualified_name = default_schema_qualified_name @property @@ -6773,7 +6812,7 @@ def default_database_qualified_name( self, default_database_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.default_database_qualified_name = ( default_database_qualified_name ) @@ -6787,7 +6826,7 @@ def variables_schema_base64(self) -> Optional[str]: @variables_schema_base64.setter def variables_schema_base64(self, variables_schema_base64: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.variables_schema_base64 = variables_schema_base64 @property @@ -6797,7 +6836,7 @@ def is_private(self) -> Optional[bool]: @is_private.setter def is_private(self, is_private: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_private = is_private @property @@ -6807,7 +6846,7 @@ def is_sql_snippet(self) -> Optional[bool]: @is_sql_snippet.setter def is_sql_snippet(self, is_sql_snippet: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_sql_snippet = is_sql_snippet @property @@ -6819,7 +6858,7 @@ def parent_qualified_name(self) -> str: @parent_qualified_name.setter def parent_qualified_name(self, parent_qualified_name: str): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.parent_qualified_name = parent_qualified_name @property @@ -6833,7 +6872,7 @@ def collection_qualified_name(self) -> str: @collection_qualified_name.setter def collection_qualified_name(self, collection_qualified_name: str): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.collection_qualified_name = collection_qualified_name @property @@ -6843,7 +6882,7 @@ def is_visual_query(self) -> Optional[bool]: @is_visual_query.setter def is_visual_query(self, is_visual_query: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_visual_query = is_visual_query @property @@ -6857,7 +6896,7 @@ def visual_builder_schema_base64(self) -> Optional[str]: @visual_builder_schema_base64.setter def visual_builder_schema_base64(self, visual_builder_schema_base64: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.visual_builder_schema_base64 = visual_builder_schema_base64 @property @@ -6867,7 +6906,7 @@ def parent(self) -> Namespace: @parent.setter def parent(self, parent: Namespace): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.parent = parent @property @@ -6877,7 +6916,7 @@ def columns(self) -> Optional[list[Column]]: @columns.setter def columns(self, columns: Optional[list[Column]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.columns = columns @property @@ -6887,7 +6926,7 @@ def tables(self) -> Optional[list[Table]]: @tables.setter def tables(self, tables: Optional[list[Table]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tables = tables @property @@ -6897,7 +6936,7 @@ def views(self) -> Optional[list[View]]: @views.setter def views(self, views: Optional[list[View]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.views = views class Attributes(SQL.Attributes): @@ -6915,11 +6954,9 @@ class Attributes(SQL.Attributes): is_sql_snippet: Optional[bool] = Field( None, description="", alias="isSqlSnippet" ) - parent_qualified_name: str = Field( - None, description="", alias="parentQualifiedName" - ) + parent_qualified_name: str = Field(description="", alias="parentQualifiedName") collection_qualified_name: str = Field( - None, description="", alias="collectionQualifiedName" + description="", alias="collectionQualifiedName" ) is_visual_query: Optional[bool] = Field( None, description="", alias="isVisualQuery" @@ -6927,7 +6964,7 @@ class Attributes(SQL.Attributes): visual_builder_schema_base64: Optional[str] = Field( None, description="", alias="visualBuilderSchemaBase64" ) - parent: Namespace = Field(None, description="", alias="parent") # relationship + parent: Namespace = Field(description="", alias="parent") # relationship columns: Optional[list[Column]] = Field( None, description="", alias="columns" ) # relationship @@ -6939,7 +6976,12 @@ class Attributes(SQL.Attributes): ) # relationship attributes: "Query.Attributes" = Field( - default_factory=lambda: Query.Attributes(), + default_factory=lambda: Query.Attributes( + name="", + parent_qualified_name="", + collection_qualified_name="", + parent=Namespace(), + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -7046,7 +7088,7 @@ def table_count(self) -> Optional[int]: @table_count.setter def table_count(self, table_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.table_count = table_count @property @@ -7056,7 +7098,7 @@ def views_count(self) -> Optional[int]: @views_count.setter def views_count(self, views_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.views_count = views_count @property @@ -7066,7 +7108,7 @@ def snowflake_tags(self) -> Optional[list[SnowflakeTag]]: @snowflake_tags.setter def snowflake_tags(self, snowflake_tags: Optional[list[SnowflakeTag]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_tags = snowflake_tags @property @@ -7076,7 +7118,7 @@ def functions(self) -> Optional[list[Function]]: @functions.setter def functions(self, functions: Optional[list[Function]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.functions = functions @property @@ -7086,7 +7128,7 @@ def tables(self) -> Optional[list[Table]]: @tables.setter def tables(self, tables: Optional[list[Table]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tables = tables @property @@ -7096,7 +7138,7 @@ def database(self) -> Optional[Database]: @database.setter def database(self, database: Optional[Database]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.database = database @property @@ -7106,7 +7148,7 @@ def procedures(self) -> Optional[list[Procedure]]: @procedures.setter def procedures(self, procedures: Optional[list[Procedure]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.procedures = procedures @property @@ -7116,7 +7158,7 @@ def views(self) -> Optional[list[View]]: @views.setter def views(self, views: Optional[list[View]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.views = views @property @@ -7126,7 +7168,7 @@ def materialised_views(self) -> Optional[list[MaterialisedView]]: @materialised_views.setter def materialised_views(self, materialised_views: Optional[list[MaterialisedView]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.materialised_views = materialised_views @property @@ -7142,7 +7184,7 @@ def snowflake_dynamic_tables( self, snowflake_dynamic_tables: Optional[list[SnowflakeDynamicTable]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_dynamic_tables = snowflake_dynamic_tables @property @@ -7152,7 +7194,7 @@ def snowflake_pipes(self) -> Optional[list[SnowflakePipe]]: @snowflake_pipes.setter def snowflake_pipes(self, snowflake_pipes: Optional[list[SnowflakePipe]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_pipes = snowflake_pipes @property @@ -7162,7 +7204,7 @@ def snowflake_streams(self) -> Optional[list[SnowflakeStream]]: @snowflake_streams.setter def snowflake_streams(self, snowflake_streams: Optional[list[SnowflakeStream]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_streams = snowflake_streams class Attributes(SQL.Attributes): @@ -7227,7 +7269,9 @@ def create( ) attributes: "Schema.Attributes" = Field( - default_factory=lambda: Schema.Attributes(), + default_factory=lambda: Schema.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -7289,7 +7333,7 @@ def definition(self) -> Optional[str]: @definition.setter def definition(self, definition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.definition = definition @property @@ -7305,7 +7349,7 @@ def snowflake_pipe_is_auto_ingest_enabled( self, snowflake_pipe_is_auto_ingest_enabled: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_pipe_is_auto_ingest_enabled = ( snowflake_pipe_is_auto_ingest_enabled ) @@ -7323,7 +7367,7 @@ def snowflake_pipe_notification_channel_name( self, snowflake_pipe_notification_channel_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_pipe_notification_channel_name = ( snowflake_pipe_notification_channel_name ) @@ -7335,7 +7379,7 @@ def atlan_schema(self) -> Optional[Schema]: @atlan_schema.setter def atlan_schema(self, atlan_schema: Optional[Schema]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.atlan_schema = atlan_schema class Attributes(SQL.Attributes): @@ -7351,7 +7395,9 @@ class Attributes(SQL.Attributes): ) # relationship attributes: "SnowflakePipe.Attributes" = Field( - default_factory=lambda: SnowflakePipe.Attributes(), + default_factory=lambda: SnowflakePipe.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -7455,7 +7501,7 @@ def column_count(self) -> Optional[int]: @column_count.setter def column_count(self, column_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_count = column_count @property @@ -7465,7 +7511,7 @@ def row_count(self) -> Optional[int]: @row_count.setter def row_count(self, row_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.row_count = row_count @property @@ -7475,7 +7521,7 @@ def size_bytes(self) -> Optional[int]: @size_bytes.setter def size_bytes(self, size_bytes: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.size_bytes = size_bytes @property @@ -7485,7 +7531,7 @@ def is_query_preview(self) -> Optional[bool]: @is_query_preview.setter def is_query_preview(self, is_query_preview: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_query_preview = is_query_preview @property @@ -7495,7 +7541,7 @@ def query_preview_config(self) -> Optional[dict[str, str]]: @query_preview_config.setter def query_preview_config(self, query_preview_config: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_preview_config = query_preview_config @property @@ -7505,7 +7551,7 @@ def alias(self) -> Optional[str]: @alias.setter def alias(self, alias: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.alias = alias @property @@ -7515,7 +7561,7 @@ def is_temporary(self) -> Optional[bool]: @is_temporary.setter def is_temporary(self, is_temporary: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_temporary = is_temporary @property @@ -7525,7 +7571,7 @@ def definition(self) -> Optional[str]: @definition.setter def definition(self, definition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.definition = definition @property @@ -7535,7 +7581,7 @@ def columns(self) -> Optional[list[Column]]: @columns.setter def columns(self, columns: Optional[list[Column]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.columns = columns @property @@ -7545,7 +7591,7 @@ def queries(self) -> Optional[list[Query]]: @queries.setter def queries(self, queries: Optional[list[Query]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.queries = queries @property @@ -7555,7 +7601,7 @@ def atlan_schema(self) -> Optional[Schema]: @atlan_schema.setter def atlan_schema(self, atlan_schema: Optional[Schema]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.atlan_schema = atlan_schema class Attributes(SQL.Attributes): @@ -7607,7 +7653,9 @@ def create(cls, *, name: str, schema_qualified_name: str) -> View.Attributes: ) attributes: "View.Attributes" = Field( - default_factory=lambda: View.Attributes(), + default_factory=lambda: View.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -7730,7 +7778,7 @@ def refresh_mode(self) -> Optional[str]: @refresh_mode.setter def refresh_mode(self, refresh_mode: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.refresh_mode = refresh_mode @property @@ -7740,7 +7788,7 @@ def refresh_method(self) -> Optional[str]: @refresh_method.setter def refresh_method(self, refresh_method: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.refresh_method = refresh_method @property @@ -7750,7 +7798,7 @@ def staleness(self) -> Optional[str]: @staleness.setter def staleness(self, staleness: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.staleness = staleness @property @@ -7760,7 +7808,7 @@ def stale_since_date(self) -> Optional[datetime]: @stale_since_date.setter def stale_since_date(self, stale_since_date: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.stale_since_date = stale_since_date @property @@ -7770,7 +7818,7 @@ def column_count(self) -> Optional[int]: @column_count.setter def column_count(self, column_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_count = column_count @property @@ -7780,7 +7828,7 @@ def row_count(self) -> Optional[int]: @row_count.setter def row_count(self, row_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.row_count = row_count @property @@ -7790,7 +7838,7 @@ def size_bytes(self) -> Optional[int]: @size_bytes.setter def size_bytes(self, size_bytes: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.size_bytes = size_bytes @property @@ -7800,7 +7848,7 @@ def is_query_preview(self) -> Optional[bool]: @is_query_preview.setter def is_query_preview(self, is_query_preview: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_query_preview = is_query_preview @property @@ -7810,7 +7858,7 @@ def query_preview_config(self) -> Optional[dict[str, str]]: @query_preview_config.setter def query_preview_config(self, query_preview_config: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_preview_config = query_preview_config @property @@ -7820,7 +7868,7 @@ def alias(self) -> Optional[str]: @alias.setter def alias(self, alias: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.alias = alias @property @@ -7830,7 +7878,7 @@ def is_temporary(self) -> Optional[bool]: @is_temporary.setter def is_temporary(self, is_temporary: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_temporary = is_temporary @property @@ -7840,7 +7888,7 @@ def definition(self) -> Optional[str]: @definition.setter def definition(self, definition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.definition = definition @property @@ -7850,7 +7898,7 @@ def columns(self) -> Optional[list[Column]]: @columns.setter def columns(self, columns: Optional[list[Column]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.columns = columns @property @@ -7860,7 +7908,7 @@ def atlan_schema(self) -> Optional[Schema]: @atlan_schema.setter def atlan_schema(self, atlan_schema: Optional[Schema]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.atlan_schema = atlan_schema class Attributes(SQL.Attributes): @@ -7919,7 +7967,9 @@ def create( ) attributes: "MaterialisedView.Attributes" = Field( - default_factory=lambda: MaterialisedView.Attributes(), + default_factory=lambda: MaterialisedView.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -8012,7 +8062,7 @@ def function_definition(self) -> Optional[str]: @function_definition.setter def function_definition(self, function_definition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.function_definition = function_definition @property @@ -8022,7 +8072,7 @@ def function_return_type(self) -> Optional[str]: @function_return_type.setter def function_return_type(self, function_return_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.function_return_type = function_return_type @property @@ -8032,7 +8082,7 @@ def function_arguments(self) -> Optional[set[str]]: @function_arguments.setter def function_arguments(self, function_arguments: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.function_arguments = function_arguments @property @@ -8042,7 +8092,7 @@ def function_language(self) -> Optional[str]: @function_language.setter def function_language(self, function_language: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.function_language = function_language @property @@ -8052,7 +8102,7 @@ def function_type(self) -> Optional[str]: @function_type.setter def function_type(self, function_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.function_type = function_type @property @@ -8062,7 +8112,7 @@ def function_is_external(self) -> Optional[bool]: @function_is_external.setter def function_is_external(self, function_is_external: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.function_is_external = function_is_external @property @@ -8072,7 +8122,7 @@ def function_is_secure(self) -> Optional[bool]: @function_is_secure.setter def function_is_secure(self, function_is_secure: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.function_is_secure = function_is_secure @property @@ -8084,7 +8134,7 @@ def function_is_memoizable(self) -> Optional[bool]: @function_is_memoizable.setter def function_is_memoizable(self, function_is_memoizable: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.function_is_memoizable = function_is_memoizable @property @@ -8094,7 +8144,7 @@ def function_schema(self) -> Optional[Schema]: @function_schema.setter def function_schema(self, function_schema: Optional[Schema]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.function_schema = function_schema class Attributes(SQL.Attributes): @@ -8125,7 +8175,9 @@ class Attributes(SQL.Attributes): ) # relationship attributes: "Function.Attributes" = Field( - default_factory=lambda: Function.Attributes(), + default_factory=lambda: Function.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -8276,7 +8328,7 @@ def constraint(self) -> Optional[str]: @constraint.setter def constraint(self, constraint: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.constraint = constraint @property @@ -8286,7 +8338,7 @@ def column_count(self) -> Optional[int]: @column_count.setter def column_count(self, column_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_count = column_count @property @@ -8296,7 +8348,7 @@ def row_count(self) -> Optional[int]: @row_count.setter def row_count(self, row_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.row_count = row_count @property @@ -8306,7 +8358,7 @@ def size_bytes(self) -> Optional[int]: @size_bytes.setter def size_bytes(self, size_bytes: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.size_bytes = size_bytes @property @@ -8316,7 +8368,7 @@ def alias(self) -> Optional[str]: @alias.setter def alias(self, alias: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.alias = alias @property @@ -8326,7 +8378,7 @@ def is_temporary(self) -> Optional[bool]: @is_temporary.setter def is_temporary(self, is_temporary: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_temporary = is_temporary @property @@ -8336,7 +8388,7 @@ def is_query_preview(self) -> Optional[bool]: @is_query_preview.setter def is_query_preview(self, is_query_preview: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_query_preview = is_query_preview @property @@ -8346,7 +8398,7 @@ def query_preview_config(self) -> Optional[dict[str, str]]: @query_preview_config.setter def query_preview_config(self, query_preview_config: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_preview_config = query_preview_config @property @@ -8356,7 +8408,7 @@ def external_location(self) -> Optional[str]: @external_location.setter def external_location(self, external_location: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.external_location = external_location @property @@ -8370,7 +8422,7 @@ def external_location_region(self) -> Optional[str]: @external_location_region.setter def external_location_region(self, external_location_region: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.external_location_region = external_location_region @property @@ -8384,7 +8436,7 @@ def external_location_format(self) -> Optional[str]: @external_location_format.setter def external_location_format(self, external_location_format: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.external_location_format = external_location_format @property @@ -8394,7 +8446,7 @@ def is_partitioned(self) -> Optional[bool]: @is_partitioned.setter def is_partitioned(self, is_partitioned: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_partitioned = is_partitioned @property @@ -8404,7 +8456,7 @@ def partition_strategy(self) -> Optional[str]: @partition_strategy.setter def partition_strategy(self, partition_strategy: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.partition_strategy = partition_strategy @property @@ -8414,7 +8466,7 @@ def partition_count(self) -> Optional[int]: @partition_count.setter def partition_count(self, partition_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.partition_count = partition_count @property @@ -8424,7 +8476,7 @@ def partition_list(self) -> Optional[str]: @partition_list.setter def partition_list(self, partition_list: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.partition_list = partition_list @property @@ -8438,7 +8490,7 @@ def child_table_partitions( self, child_table_partitions: Optional[list[TablePartition]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.child_table_partitions = child_table_partitions @property @@ -8448,7 +8500,7 @@ def columns(self) -> Optional[list[Column]]: @columns.setter def columns(self, columns: Optional[list[Column]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.columns = columns @property @@ -8460,7 +8512,7 @@ def parent_table_partition(self) -> Optional[TablePartition]: @parent_table_partition.setter def parent_table_partition(self, parent_table_partition: Optional[TablePartition]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.parent_table_partition = parent_table_partition @property @@ -8470,7 +8522,7 @@ def parent_table(self) -> Optional[Table]: @parent_table.setter def parent_table(self, parent_table: Optional[Table]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.parent_table = parent_table class Attributes(SQL.Attributes): @@ -8521,7 +8573,9 @@ class Attributes(SQL.Attributes): ) # relationship attributes: "TablePartition.Attributes" = Field( - default_factory=lambda: TablePartition.Attributes(), + default_factory=lambda: TablePartition.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -8952,7 +9006,7 @@ def data_type(self) -> Optional[str]: @data_type.setter def data_type(self, data_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.data_type = data_type @property @@ -8962,7 +9016,7 @@ def sub_data_type(self) -> Optional[str]: @sub_data_type.setter def sub_data_type(self, sub_data_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sub_data_type = sub_data_type @property @@ -8976,7 +9030,7 @@ def raw_data_type_definition(self) -> Optional[str]: @raw_data_type_definition.setter def raw_data_type_definition(self, raw_data_type_definition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.raw_data_type_definition = raw_data_type_definition @property @@ -8986,7 +9040,7 @@ def order(self) -> Optional[int]: @order.setter def order(self, order: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.order = order @property @@ -8996,7 +9050,7 @@ def nested_column_count(self) -> Optional[int]: @nested_column_count.setter def nested_column_count(self, nested_column_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.nested_column_count = nested_column_count @property @@ -9006,7 +9060,7 @@ def is_partition(self) -> Optional[bool]: @is_partition.setter def is_partition(self, is_partition: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_partition = is_partition @property @@ -9016,7 +9070,7 @@ def partition_order(self) -> Optional[int]: @partition_order.setter def partition_order(self, partition_order: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.partition_order = partition_order @property @@ -9026,7 +9080,7 @@ def is_clustered(self) -> Optional[bool]: @is_clustered.setter def is_clustered(self, is_clustered: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_clustered = is_clustered @property @@ -9036,7 +9090,7 @@ def is_primary(self) -> Optional[bool]: @is_primary.setter def is_primary(self, is_primary: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_primary = is_primary @property @@ -9046,7 +9100,7 @@ def is_foreign(self) -> Optional[bool]: @is_foreign.setter def is_foreign(self, is_foreign: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_foreign = is_foreign @property @@ -9056,7 +9110,7 @@ def is_indexed(self) -> Optional[bool]: @is_indexed.setter def is_indexed(self, is_indexed: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_indexed = is_indexed @property @@ -9066,7 +9120,7 @@ def is_sort(self) -> Optional[bool]: @is_sort.setter def is_sort(self, is_sort: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_sort = is_sort @property @@ -9076,7 +9130,7 @@ def is_dist(self) -> Optional[bool]: @is_dist.setter def is_dist(self, is_dist: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_dist = is_dist @property @@ -9086,7 +9140,7 @@ def is_pinned(self) -> Optional[bool]: @is_pinned.setter def is_pinned(self, is_pinned: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_pinned = is_pinned @property @@ -9096,7 +9150,7 @@ def pinned_by(self) -> Optional[str]: @pinned_by.setter def pinned_by(self, pinned_by: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.pinned_by = pinned_by @property @@ -9106,7 +9160,7 @@ def pinned_at(self) -> Optional[datetime]: @pinned_at.setter def pinned_at(self, pinned_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.pinned_at = pinned_at @property @@ -9116,7 +9170,7 @@ def precision(self) -> Optional[int]: @precision.setter def precision(self, precision: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.precision = precision @property @@ -9126,7 +9180,7 @@ def default_value(self) -> Optional[str]: @default_value.setter def default_value(self, default_value: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.default_value = default_value @property @@ -9136,7 +9190,7 @@ def is_nullable(self) -> Optional[bool]: @is_nullable.setter def is_nullable(self, is_nullable: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_nullable = is_nullable @property @@ -9146,7 +9200,7 @@ def numeric_scale(self) -> Optional[float]: @numeric_scale.setter def numeric_scale(self, numeric_scale: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.numeric_scale = numeric_scale @property @@ -9156,7 +9210,7 @@ def max_length(self) -> Optional[int]: @max_length.setter def max_length(self, max_length: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.max_length = max_length @property @@ -9166,7 +9220,7 @@ def validations(self) -> Optional[dict[str, str]]: @validations.setter def validations(self, validations: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.validations = validations @property @@ -9180,7 +9234,7 @@ def parent_column_qualified_name(self) -> Optional[str]: @parent_column_qualified_name.setter def parent_column_qualified_name(self, parent_column_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.parent_column_qualified_name = parent_column_qualified_name @property @@ -9190,7 +9244,7 @@ def parent_column_name(self) -> Optional[str]: @parent_column_name.setter def parent_column_name(self, parent_column_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.parent_column_name = parent_column_name @property @@ -9204,7 +9258,7 @@ def column_distinct_values_count(self) -> Optional[int]: @column_distinct_values_count.setter def column_distinct_values_count(self, column_distinct_values_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_distinct_values_count = column_distinct_values_count @property @@ -9220,7 +9274,7 @@ def column_distinct_values_count_long( self, column_distinct_values_count_long: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_distinct_values_count_long = ( column_distinct_values_count_long ) @@ -9232,7 +9286,7 @@ def column_histogram(self) -> Optional[Histogram]: @column_histogram.setter def column_histogram(self, column_histogram: Optional[Histogram]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_histogram = column_histogram @property @@ -9242,7 +9296,7 @@ def column_max(self) -> Optional[float]: @column_max.setter def column_max(self, column_max: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_max = column_max @property @@ -9252,7 +9306,7 @@ def column_min(self) -> Optional[float]: @column_min.setter def column_min(self, column_min: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_min = column_min @property @@ -9262,7 +9316,7 @@ def column_mean(self) -> Optional[float]: @column_mean.setter def column_mean(self, column_mean: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_mean = column_mean @property @@ -9272,7 +9326,7 @@ def column_sum(self) -> Optional[float]: @column_sum.setter def column_sum(self, column_sum: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_sum = column_sum @property @@ -9282,7 +9336,7 @@ def column_median(self) -> Optional[float]: @column_median.setter def column_median(self, column_median: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_median = column_median @property @@ -9296,7 +9350,7 @@ def column_standard_deviation(self) -> Optional[float]: @column_standard_deviation.setter def column_standard_deviation(self, column_standard_deviation: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_standard_deviation = column_standard_deviation @property @@ -9310,7 +9364,7 @@ def column_unique_values_count(self) -> Optional[int]: @column_unique_values_count.setter def column_unique_values_count(self, column_unique_values_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_unique_values_count = column_unique_values_count @property @@ -9326,7 +9380,7 @@ def column_unique_values_count_long( self, column_unique_values_count_long: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_unique_values_count_long = ( column_unique_values_count_long ) @@ -9338,7 +9392,7 @@ def column_average(self) -> Optional[float]: @column_average.setter def column_average(self, column_average: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_average = column_average @property @@ -9350,7 +9404,7 @@ def column_average_length(self) -> Optional[float]: @column_average_length.setter def column_average_length(self, column_average_length: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_average_length = column_average_length @property @@ -9366,7 +9420,7 @@ def column_duplicate_values_count( self, column_duplicate_values_count: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_duplicate_values_count = column_duplicate_values_count @property @@ -9382,7 +9436,7 @@ def column_duplicate_values_count_long( self, column_duplicate_values_count_long: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_duplicate_values_count_long = ( column_duplicate_values_count_long ) @@ -9398,7 +9452,7 @@ def column_maximum_string_length(self) -> Optional[int]: @column_maximum_string_length.setter def column_maximum_string_length(self, column_maximum_string_length: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_maximum_string_length = column_maximum_string_length @property @@ -9408,7 +9462,7 @@ def column_maxs(self) -> Optional[set[str]]: @column_maxs.setter def column_maxs(self, column_maxs: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_maxs = column_maxs @property @@ -9422,7 +9476,7 @@ def column_minimum_string_length(self) -> Optional[int]: @column_minimum_string_length.setter def column_minimum_string_length(self, column_minimum_string_length: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_minimum_string_length = column_minimum_string_length @property @@ -9432,7 +9486,7 @@ def column_mins(self) -> Optional[set[str]]: @column_mins.setter def column_mins(self, column_mins: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_mins = column_mins @property @@ -9446,7 +9500,7 @@ def column_missing_values_count(self) -> Optional[int]: @column_missing_values_count.setter def column_missing_values_count(self, column_missing_values_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_missing_values_count = column_missing_values_count @property @@ -9462,7 +9516,7 @@ def column_missing_values_count_long( self, column_missing_values_count_long: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_missing_values_count_long = ( column_missing_values_count_long ) @@ -9480,7 +9534,7 @@ def column_missing_values_percentage( self, column_missing_values_percentage: Optional[float] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_missing_values_percentage = ( column_missing_values_percentage ) @@ -9498,7 +9552,7 @@ def column_uniqueness_percentage( self, column_uniqueness_percentage: Optional[float] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_uniqueness_percentage = column_uniqueness_percentage @property @@ -9508,7 +9562,7 @@ def column_variance(self) -> Optional[float]: @column_variance.setter def column_variance(self, column_variance: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_variance = column_variance @property @@ -9520,7 +9574,7 @@ def column_top_values( self, column_top_values: Optional[list[ColumnValueFrequencyMap]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_top_values = column_top_values @property @@ -9530,7 +9584,7 @@ def column_depth_level(self) -> Optional[int]: @column_depth_level.setter def column_depth_level(self, column_depth_level: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_depth_level = column_depth_level @property @@ -9544,7 +9598,7 @@ def snowflake_dynamic_table( self, snowflake_dynamic_table: Optional[SnowflakeDynamicTable] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_dynamic_table = snowflake_dynamic_table @property @@ -9554,7 +9608,7 @@ def view(self) -> Optional[View]: @view.setter def view(self, view: Optional[View]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.view = view @property @@ -9564,7 +9618,7 @@ def nested_columns(self) -> Optional[list[Column]]: @nested_columns.setter def nested_columns(self, nested_columns: Optional[list[Column]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.nested_columns = nested_columns @property @@ -9580,7 +9634,7 @@ def data_quality_metric_dimensions( self, data_quality_metric_dimensions: Optional[list[Metric]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.data_quality_metric_dimensions = data_quality_metric_dimensions @property @@ -9590,7 +9644,7 @@ def dbt_model_columns(self) -> Optional[list[DbtModelColumn]]: @dbt_model_columns.setter def dbt_model_columns(self, dbt_model_columns: Optional[list[DbtModelColumn]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_columns = dbt_model_columns @property @@ -9600,7 +9654,7 @@ def table(self) -> Optional[Table]: @table.setter def table(self, table: Optional[Table]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.table = table @property @@ -9616,7 +9670,7 @@ def column_dbt_model_columns( self, column_dbt_model_columns: Optional[list[DbtModelColumn]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_dbt_model_columns = column_dbt_model_columns @property @@ -9626,7 +9680,7 @@ def materialised_view(self) -> Optional[MaterialisedView]: @materialised_view.setter def materialised_view(self, materialised_view: Optional[MaterialisedView]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.materialised_view = materialised_view @property @@ -9636,7 +9690,7 @@ def parent_column(self) -> Optional[Column]: @parent_column.setter def parent_column(self, parent_column: Optional[Column]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.parent_column = parent_column @property @@ -9646,7 +9700,7 @@ def queries(self) -> Optional[list[Query]]: @queries.setter def queries(self, queries: Optional[list[Query]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.queries = queries @property @@ -9656,7 +9710,7 @@ def metric_timestamps(self) -> Optional[list[Metric]]: @metric_timestamps.setter def metric_timestamps(self, metric_timestamps: Optional[list[Metric]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_timestamps = metric_timestamps @property @@ -9666,7 +9720,7 @@ def foreign_key_to(self) -> Optional[list[Column]]: @foreign_key_to.setter def foreign_key_to(self, foreign_key_to: Optional[list[Column]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.foreign_key_to = foreign_key_to @property @@ -9676,7 +9730,7 @@ def foreign_key_from(self) -> Optional[Column]: @foreign_key_from.setter def foreign_key_from(self, foreign_key_from: Optional[Column]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.foreign_key_from = foreign_key_from @property @@ -9686,7 +9740,7 @@ def dbt_metrics(self) -> Optional[list[DbtMetric]]: @dbt_metrics.setter def dbt_metrics(self, dbt_metrics: Optional[list[DbtMetric]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_metrics = dbt_metrics @property @@ -9696,7 +9750,7 @@ def table_partition(self) -> Optional[TablePartition]: @table_partition.setter def table_partition(self, table_partition: Optional[TablePartition]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.table_partition = table_partition class Attributes(SQL.Attributes): @@ -9902,7 +9956,9 @@ def create( return ret_value attributes: "Column.Attributes" = Field( - default_factory=lambda: Column.Attributes(), + default_factory=lambda: Column.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -9978,7 +10034,7 @@ def snowflake_stream_type(self) -> Optional[str]: @snowflake_stream_type.setter def snowflake_stream_type(self, snowflake_stream_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_stream_type = snowflake_stream_type @property @@ -9992,7 +10048,7 @@ def snowflake_stream_source_type(self) -> Optional[str]: @snowflake_stream_source_type.setter def snowflake_stream_source_type(self, snowflake_stream_source_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_stream_source_type = snowflake_stream_source_type @property @@ -10004,7 +10060,7 @@ def snowflake_stream_mode(self) -> Optional[str]: @snowflake_stream_mode.setter def snowflake_stream_mode(self, snowflake_stream_mode: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_stream_mode = snowflake_stream_mode @property @@ -10018,7 +10074,7 @@ def snowflake_stream_is_stale(self) -> Optional[bool]: @snowflake_stream_is_stale.setter def snowflake_stream_is_stale(self, snowflake_stream_is_stale: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_stream_is_stale = snowflake_stream_is_stale @property @@ -10034,7 +10090,7 @@ def snowflake_stream_stale_after( self, snowflake_stream_stale_after: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.snowflake_stream_stale_after = snowflake_stream_stale_after @property @@ -10044,7 +10100,7 @@ def atlan_schema(self) -> Optional[Schema]: @atlan_schema.setter def atlan_schema(self, atlan_schema: Optional[Schema]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.atlan_schema = atlan_schema class Attributes(SQL.Attributes): @@ -10068,7 +10124,9 @@ class Attributes(SQL.Attributes): ) # relationship attributes: "SnowflakeStream.Attributes" = Field( - default_factory=lambda: SnowflakeStream.Attributes(), + default_factory=lambda: SnowflakeStream.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -10133,7 +10191,7 @@ def schema_count(self) -> Optional[int]: @schema_count.setter def schema_count(self, schema_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_count = schema_count @property @@ -10143,7 +10201,7 @@ def schemas(self) -> Optional[list[Schema]]: @schemas.setter def schemas(self, schemas: Optional[list[Schema]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schemas = schemas class Attributes(SQL.Attributes): @@ -10175,7 +10233,9 @@ def create( ) attributes: "Database.Attributes" = Field( - default_factory=lambda: Database.Attributes(), + default_factory=lambda: Database.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -10219,7 +10279,7 @@ def definition(self) -> str: @definition.setter def definition(self, definition: str): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.definition = definition @property @@ -10229,17 +10289,17 @@ def atlan_schema(self) -> Optional[Schema]: @atlan_schema.setter def atlan_schema(self, atlan_schema: Optional[Schema]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.atlan_schema = atlan_schema class Attributes(SQL.Attributes): - definition: str = Field(None, description="", alias="definition") + definition: str = Field(description="", alias="definition") atlan_schema: Optional[Schema] = Field( None, description="", alias="atlanSchema" ) # relationship attributes: "Procedure.Attributes" = Field( - default_factory=lambda: Procedure.Attributes(), + default_factory=lambda: Procedure.Attributes(name="", definition=""), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -10423,7 +10483,7 @@ def tag_id(self) -> Optional[str]: @tag_id.setter def tag_id(self, tag_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tag_id = tag_id @property @@ -10433,7 +10493,7 @@ def tag_attributes(self) -> Optional[list[SourceTagAttribute]]: @tag_attributes.setter def tag_attributes(self, tag_attributes: Optional[list[SourceTagAttribute]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tag_attributes = tag_attributes @property @@ -10443,7 +10503,7 @@ def tag_allowed_values(self) -> Optional[set[str]]: @tag_allowed_values.setter def tag_allowed_values(self, tag_allowed_values: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tag_allowed_values = tag_allowed_values @property @@ -10455,7 +10515,7 @@ def mapped_atlan_tag_name(self) -> Optional[str]: @mapped_atlan_tag_name.setter def mapped_atlan_tag_name(self, mapped_atlan_tag_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mapped_atlan_tag_name = mapped_atlan_tag_name @property @@ -10465,7 +10525,7 @@ def query_count(self) -> Optional[int]: @query_count.setter def query_count(self, query_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_count = query_count @property @@ -10475,7 +10535,7 @@ def query_user_count(self) -> Optional[int]: @query_user_count.setter def query_user_count(self, query_user_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_user_count = query_user_count @property @@ -10485,7 +10545,7 @@ def query_user_map(self) -> Optional[dict[str, int]]: @query_user_map.setter def query_user_map(self, query_user_map: Optional[dict[str, int]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_user_map = query_user_map @property @@ -10497,7 +10557,7 @@ def query_count_updated_at(self) -> Optional[datetime]: @query_count_updated_at.setter def query_count_updated_at(self, query_count_updated_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_count_updated_at = query_count_updated_at @property @@ -10507,7 +10567,7 @@ def database_name(self) -> Optional[str]: @database_name.setter def database_name(self, database_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.database_name = database_name @property @@ -10519,7 +10579,7 @@ def database_qualified_name(self) -> Optional[str]: @database_qualified_name.setter def database_qualified_name(self, database_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.database_qualified_name = database_qualified_name @property @@ -10529,7 +10589,7 @@ def schema_name(self) -> Optional[str]: @schema_name.setter def schema_name(self, schema_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_name = schema_name @property @@ -10541,7 +10601,7 @@ def schema_qualified_name(self) -> Optional[str]: @schema_qualified_name.setter def schema_qualified_name(self, schema_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_qualified_name = schema_qualified_name @property @@ -10551,7 +10611,7 @@ def table_name(self) -> Optional[str]: @table_name.setter def table_name(self, table_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.table_name = table_name @property @@ -10561,7 +10621,7 @@ def table_qualified_name(self) -> Optional[str]: @table_qualified_name.setter def table_qualified_name(self, table_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.table_qualified_name = table_qualified_name @property @@ -10571,7 +10631,7 @@ def view_name(self) -> Optional[str]: @view_name.setter def view_name(self, view_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.view_name = view_name @property @@ -10581,7 +10641,7 @@ def view_qualified_name(self) -> Optional[str]: @view_qualified_name.setter def view_qualified_name(self, view_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.view_qualified_name = view_qualified_name @property @@ -10591,7 +10651,7 @@ def is_profiled(self) -> Optional[bool]: @is_profiled.setter def is_profiled(self, is_profiled: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_profiled = is_profiled @property @@ -10601,7 +10661,7 @@ def last_profiled_at(self) -> Optional[datetime]: @last_profiled_at.setter def last_profiled_at(self, last_profiled_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.last_profiled_at = last_profiled_at @property @@ -10611,7 +10671,7 @@ def dbt_sources(self) -> Optional[list[DbtSource]]: @dbt_sources.setter def dbt_sources(self, dbt_sources: Optional[list[DbtSource]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_sources = dbt_sources @property @@ -10621,7 +10681,7 @@ def sql_dbt_models(self) -> Optional[list[DbtModel]]: @sql_dbt_models.setter def sql_dbt_models(self, sql_dbt_models: Optional[list[DbtModel]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql_dbt_models = sql_dbt_models @property @@ -10631,7 +10691,7 @@ def sql_dbt_sources(self) -> Optional[list[DbtSource]]: @sql_dbt_sources.setter def sql_dbt_sources(self, sql_dbt_sources: Optional[list[DbtSource]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql_dbt_sources = sql_dbt_sources @property @@ -10641,7 +10701,7 @@ def dbt_models(self) -> Optional[list[DbtModel]]: @dbt_models.setter def dbt_models(self, dbt_models: Optional[list[DbtModel]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_models = dbt_models @property @@ -10651,7 +10711,7 @@ def dbt_tests(self) -> Optional[list[DbtTest]]: @dbt_tests.setter def dbt_tests(self, dbt_tests: Optional[list[DbtTest]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_tests = dbt_tests @property @@ -10661,7 +10721,7 @@ def atlan_schema(self) -> Optional[Schema]: @atlan_schema.setter def atlan_schema(self, atlan_schema: Optional[Schema]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.atlan_schema = atlan_schema class Attributes(Tag.Attributes): @@ -10725,7 +10785,9 @@ class Attributes(Tag.Attributes): ) # relationship attributes: "SnowflakeTag.Attributes" = Field( - default_factory=lambda: SnowflakeTag.Attributes(), + default_factory=lambda: SnowflakeTag.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -10886,7 +10948,7 @@ def dbt_alias(self) -> Optional[str]: @dbt_alias.setter def dbt_alias(self, dbt_alias: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_alias = dbt_alias @property @@ -10896,7 +10958,7 @@ def dbt_meta(self) -> Optional[str]: @dbt_meta.setter def dbt_meta(self, dbt_meta: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_meta = dbt_meta @property @@ -10906,7 +10968,7 @@ def dbt_unique_id(self) -> Optional[str]: @dbt_unique_id.setter def dbt_unique_id(self, dbt_unique_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_unique_id = dbt_unique_id @property @@ -10916,7 +10978,7 @@ def dbt_account_name(self) -> Optional[str]: @dbt_account_name.setter def dbt_account_name(self, dbt_account_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_account_name = dbt_account_name @property @@ -10926,7 +10988,7 @@ def dbt_project_name(self) -> Optional[str]: @dbt_project_name.setter def dbt_project_name(self, dbt_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_project_name = dbt_project_name @property @@ -10936,7 +10998,7 @@ def dbt_package_name(self) -> Optional[str]: @dbt_package_name.setter def dbt_package_name(self, dbt_package_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_package_name = dbt_package_name @property @@ -10946,7 +11008,7 @@ def dbt_job_name(self) -> Optional[str]: @dbt_job_name.setter def dbt_job_name(self, dbt_job_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_name = dbt_job_name @property @@ -10956,7 +11018,7 @@ def dbt_job_schedule(self) -> Optional[str]: @dbt_job_schedule.setter def dbt_job_schedule(self, dbt_job_schedule: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_schedule = dbt_job_schedule @property @@ -10966,7 +11028,7 @@ def dbt_job_status(self) -> Optional[str]: @dbt_job_status.setter def dbt_job_status(self, dbt_job_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_status = dbt_job_status @property @@ -10982,7 +11044,7 @@ def dbt_job_schedule_cron_humanized( self, dbt_job_schedule_cron_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_schedule_cron_humanized = ( dbt_job_schedule_cron_humanized ) @@ -10994,7 +11056,7 @@ def dbt_job_last_run(self) -> Optional[datetime]: @dbt_job_last_run.setter def dbt_job_last_run(self, dbt_job_last_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_last_run = dbt_job_last_run @property @@ -11004,7 +11066,7 @@ def dbt_job_next_run(self) -> Optional[datetime]: @dbt_job_next_run.setter def dbt_job_next_run(self, dbt_job_next_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_next_run = dbt_job_next_run @property @@ -11018,7 +11080,7 @@ def dbt_job_next_run_humanized(self) -> Optional[str]: @dbt_job_next_run_humanized.setter def dbt_job_next_run_humanized(self, dbt_job_next_run_humanized: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_next_run_humanized = dbt_job_next_run_humanized @property @@ -11028,7 +11090,7 @@ def dbt_environment_name(self) -> Optional[str]: @dbt_environment_name.setter def dbt_environment_name(self, dbt_environment_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_environment_name = dbt_environment_name @property @@ -11042,7 +11104,7 @@ def dbt_environment_dbt_version(self) -> Optional[str]: @dbt_environment_dbt_version.setter def dbt_environment_dbt_version(self, dbt_environment_dbt_version: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_environment_dbt_version = dbt_environment_dbt_version @property @@ -11052,7 +11114,7 @@ def dbt_tags(self) -> Optional[set[str]]: @dbt_tags.setter def dbt_tags(self, dbt_tags: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_tags = dbt_tags @property @@ -11064,7 +11126,7 @@ def dbt_connection_context(self) -> Optional[str]: @dbt_connection_context.setter def dbt_connection_context(self, dbt_connection_context: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_connection_context = dbt_connection_context @property @@ -11078,7 +11140,7 @@ def dbt_semantic_layer_proxy_url(self) -> Optional[str]: @dbt_semantic_layer_proxy_url.setter def dbt_semantic_layer_proxy_url(self, dbt_semantic_layer_proxy_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_semantic_layer_proxy_url = dbt_semantic_layer_proxy_url class Attributes(Catalog.Attributes): @@ -11128,7 +11190,9 @@ class Attributes(Catalog.Attributes): ) attributes: "Dbt.Attributes" = Field( - default_factory=lambda: Dbt.Attributes(), + default_factory=lambda: Dbt.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -11209,7 +11273,7 @@ def dbt_model_qualified_name(self) -> Optional[str]: @dbt_model_qualified_name.setter def dbt_model_qualified_name(self, dbt_model_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_qualified_name = dbt_model_qualified_name @property @@ -11223,7 +11287,7 @@ def dbt_model_column_data_type(self) -> Optional[str]: @dbt_model_column_data_type.setter def dbt_model_column_data_type(self, dbt_model_column_data_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_column_data_type = dbt_model_column_data_type @property @@ -11235,7 +11299,7 @@ def dbt_model_column_order(self) -> Optional[int]: @dbt_model_column_order.setter def dbt_model_column_order(self, dbt_model_column_order: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_column_order = dbt_model_column_order @property @@ -11245,7 +11309,7 @@ def sql_column(self) -> Optional[Column]: @sql_column.setter def sql_column(self, sql_column: Optional[Column]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql_column = sql_column @property @@ -11255,7 +11319,7 @@ def dbt_model(self) -> Optional[DbtModel]: @dbt_model.setter def dbt_model(self, dbt_model: Optional[DbtModel]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model = dbt_model @property @@ -11271,7 +11335,7 @@ def dbt_model_column_sql_columns( self, dbt_model_column_sql_columns: Optional[list[Column]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_column_sql_columns = dbt_model_column_sql_columns @property @@ -11281,7 +11345,7 @@ def dbt_tests(self) -> Optional[list[DbtTest]]: @dbt_tests.setter def dbt_tests(self, dbt_tests: Optional[list[DbtTest]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_tests = dbt_tests class Attributes(Dbt.Attributes): @@ -11308,7 +11372,9 @@ class Attributes(Dbt.Attributes): ) # relationship attributes: "DbtModelColumn.Attributes" = Field( - default_factory=lambda: DbtModelColumn.Attributes(), + default_factory=lambda: DbtModelColumn.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -11418,7 +11484,7 @@ def dbt_test_status(self) -> Optional[str]: @dbt_test_status.setter def dbt_test_status(self, dbt_test_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_test_status = dbt_test_status @property @@ -11428,7 +11494,7 @@ def dbt_test_state(self) -> Optional[str]: @dbt_test_state.setter def dbt_test_state(self, dbt_test_state: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_test_state = dbt_test_state @property @@ -11438,7 +11504,7 @@ def dbt_test_error(self) -> Optional[str]: @dbt_test_error.setter def dbt_test_error(self, dbt_test_error: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_test_error = dbt_test_error @property @@ -11448,7 +11514,7 @@ def dbt_test_raw_s_q_l(self) -> Optional[str]: @dbt_test_raw_s_q_l.setter def dbt_test_raw_s_q_l(self, dbt_test_raw_s_q_l: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_test_raw_s_q_l = dbt_test_raw_s_q_l @property @@ -11460,7 +11526,7 @@ def dbt_test_compiled_s_q_l(self) -> Optional[str]: @dbt_test_compiled_s_q_l.setter def dbt_test_compiled_s_q_l(self, dbt_test_compiled_s_q_l: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_test_compiled_s_q_l = dbt_test_compiled_s_q_l @property @@ -11470,7 +11536,7 @@ def dbt_test_raw_code(self) -> Optional[str]: @dbt_test_raw_code.setter def dbt_test_raw_code(self, dbt_test_raw_code: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_test_raw_code = dbt_test_raw_code @property @@ -11482,7 +11548,7 @@ def dbt_test_compiled_code(self) -> Optional[str]: @dbt_test_compiled_code.setter def dbt_test_compiled_code(self, dbt_test_compiled_code: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_test_compiled_code = dbt_test_compiled_code @property @@ -11492,7 +11558,7 @@ def dbt_test_language(self) -> Optional[str]: @dbt_test_language.setter def dbt_test_language(self, dbt_test_language: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_test_language = dbt_test_language @property @@ -11502,7 +11568,7 @@ def dbt_sources(self) -> Optional[list[DbtSource]]: @dbt_sources.setter def dbt_sources(self, dbt_sources: Optional[list[DbtSource]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_sources = dbt_sources @property @@ -11512,7 +11578,7 @@ def sql_assets(self) -> Optional[list[SQL]]: @sql_assets.setter def sql_assets(self, sql_assets: Optional[list[SQL]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql_assets = sql_assets @property @@ -11522,7 +11588,7 @@ def dbt_models(self) -> Optional[list[DbtModel]]: @dbt_models.setter def dbt_models(self, dbt_models: Optional[list[DbtModel]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_models = dbt_models @property @@ -11532,7 +11598,7 @@ def dbt_model_columns(self) -> Optional[list[DbtModelColumn]]: @dbt_model_columns.setter def dbt_model_columns(self, dbt_model_columns: Optional[list[DbtModelColumn]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_columns = dbt_model_columns class Attributes(Dbt.Attributes): @@ -11574,7 +11640,9 @@ class Attributes(Dbt.Attributes): ) # relationship attributes: "DbtTest.Attributes" = Field( - default_factory=lambda: DbtTest.Attributes(), + default_factory=lambda: DbtTest.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -11716,7 +11784,7 @@ def dbt_status(self) -> Optional[str]: @dbt_status.setter def dbt_status(self, dbt_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_status = dbt_status @property @@ -11726,7 +11794,7 @@ def dbt_error(self) -> Optional[str]: @dbt_error.setter def dbt_error(self, dbt_error: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_error = dbt_error @property @@ -11736,7 +11804,7 @@ def dbt_raw_s_q_l(self) -> Optional[str]: @dbt_raw_s_q_l.setter def dbt_raw_s_q_l(self, dbt_raw_s_q_l: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_raw_s_q_l = dbt_raw_s_q_l @property @@ -11746,7 +11814,7 @@ def dbt_compiled_s_q_l(self) -> Optional[str]: @dbt_compiled_s_q_l.setter def dbt_compiled_s_q_l(self, dbt_compiled_s_q_l: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_compiled_s_q_l = dbt_compiled_s_q_l @property @@ -11756,7 +11824,7 @@ def dbt_stats(self) -> Optional[str]: @dbt_stats.setter def dbt_stats(self, dbt_stats: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_stats = dbt_stats @property @@ -11770,7 +11838,7 @@ def dbt_materialization_type(self) -> Optional[str]: @dbt_materialization_type.setter def dbt_materialization_type(self, dbt_materialization_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_materialization_type = dbt_materialization_type @property @@ -11786,7 +11854,7 @@ def dbt_model_compile_started_at( self, dbt_model_compile_started_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_compile_started_at = dbt_model_compile_started_at @property @@ -11802,7 +11870,7 @@ def dbt_model_compile_completed_at( self, dbt_model_compile_completed_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_compile_completed_at = dbt_model_compile_completed_at @property @@ -11818,7 +11886,7 @@ def dbt_model_execute_started_at( self, dbt_model_execute_started_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_execute_started_at = dbt_model_execute_started_at @property @@ -11834,7 +11902,7 @@ def dbt_model_execute_completed_at( self, dbt_model_execute_completed_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_execute_completed_at = dbt_model_execute_completed_at @property @@ -11848,7 +11916,7 @@ def dbt_model_execution_time(self) -> Optional[float]: @dbt_model_execution_time.setter def dbt_model_execution_time(self, dbt_model_execution_time: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_execution_time = dbt_model_execution_time @property @@ -11864,7 +11932,7 @@ def dbt_model_run_generated_at( self, dbt_model_run_generated_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_run_generated_at = dbt_model_run_generated_at @property @@ -11878,7 +11946,7 @@ def dbt_model_run_elapsed_time(self) -> Optional[float]: @dbt_model_run_elapsed_time.setter def dbt_model_run_elapsed_time(self, dbt_model_run_elapsed_time: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_run_elapsed_time = dbt_model_run_elapsed_time @property @@ -11888,7 +11956,7 @@ def dbt_metrics(self) -> Optional[list[DbtMetric]]: @dbt_metrics.setter def dbt_metrics(self, dbt_metrics: Optional[list[DbtMetric]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_metrics = dbt_metrics @property @@ -11898,7 +11966,7 @@ def dbt_tests(self) -> Optional[list[DbtTest]]: @dbt_tests.setter def dbt_tests(self, dbt_tests: Optional[list[DbtTest]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_tests = dbt_tests @property @@ -11908,7 +11976,7 @@ def dbt_model_sql_assets(self) -> Optional[list[SQL]]: @dbt_model_sql_assets.setter def dbt_model_sql_assets(self, dbt_model_sql_assets: Optional[list[SQL]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_sql_assets = dbt_model_sql_assets @property @@ -11918,7 +11986,7 @@ def dbt_model_columns(self) -> Optional[list[DbtModelColumn]]: @dbt_model_columns.setter def dbt_model_columns(self, dbt_model_columns: Optional[list[DbtModelColumn]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model_columns = dbt_model_columns @property @@ -11928,7 +11996,7 @@ def sql_asset(self) -> Optional[SQL]: @sql_asset.setter def sql_asset(self, sql_asset: Optional[SQL]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql_asset = sql_asset class Attributes(Dbt.Attributes): @@ -11980,7 +12048,9 @@ class Attributes(Dbt.Attributes): ) # relationship attributes: "DbtModel.Attributes" = Field( - default_factory=lambda: DbtModel.Attributes(), + default_factory=lambda: DbtModel.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -12202,7 +12272,7 @@ def dbt_metric_filters(self) -> Optional[list[DbtMetricFilter]]: @dbt_metric_filters.setter def dbt_metric_filters(self, dbt_metric_filters: Optional[list[DbtMetricFilter]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_metric_filters = dbt_metric_filters @property @@ -12212,7 +12282,7 @@ def dbt_alias(self) -> Optional[str]: @dbt_alias.setter def dbt_alias(self, dbt_alias: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_alias = dbt_alias @property @@ -12222,7 +12292,7 @@ def dbt_meta(self) -> Optional[str]: @dbt_meta.setter def dbt_meta(self, dbt_meta: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_meta = dbt_meta @property @@ -12232,7 +12302,7 @@ def dbt_unique_id(self) -> Optional[str]: @dbt_unique_id.setter def dbt_unique_id(self, dbt_unique_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_unique_id = dbt_unique_id @property @@ -12242,7 +12312,7 @@ def dbt_account_name(self) -> Optional[str]: @dbt_account_name.setter def dbt_account_name(self, dbt_account_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_account_name = dbt_account_name @property @@ -12252,7 +12322,7 @@ def dbt_project_name(self) -> Optional[str]: @dbt_project_name.setter def dbt_project_name(self, dbt_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_project_name = dbt_project_name @property @@ -12262,7 +12332,7 @@ def dbt_package_name(self) -> Optional[str]: @dbt_package_name.setter def dbt_package_name(self, dbt_package_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_package_name = dbt_package_name @property @@ -12272,7 +12342,7 @@ def dbt_job_name(self) -> Optional[str]: @dbt_job_name.setter def dbt_job_name(self, dbt_job_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_name = dbt_job_name @property @@ -12282,7 +12352,7 @@ def dbt_job_schedule(self) -> Optional[str]: @dbt_job_schedule.setter def dbt_job_schedule(self, dbt_job_schedule: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_schedule = dbt_job_schedule @property @@ -12292,7 +12362,7 @@ def dbt_job_status(self) -> Optional[str]: @dbt_job_status.setter def dbt_job_status(self, dbt_job_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_status = dbt_job_status @property @@ -12308,7 +12378,7 @@ def dbt_job_schedule_cron_humanized( self, dbt_job_schedule_cron_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_schedule_cron_humanized = ( dbt_job_schedule_cron_humanized ) @@ -12320,7 +12390,7 @@ def dbt_job_last_run(self) -> Optional[datetime]: @dbt_job_last_run.setter def dbt_job_last_run(self, dbt_job_last_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_last_run = dbt_job_last_run @property @@ -12330,7 +12400,7 @@ def dbt_job_next_run(self) -> Optional[datetime]: @dbt_job_next_run.setter def dbt_job_next_run(self, dbt_job_next_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_next_run = dbt_job_next_run @property @@ -12344,7 +12414,7 @@ def dbt_job_next_run_humanized(self) -> Optional[str]: @dbt_job_next_run_humanized.setter def dbt_job_next_run_humanized(self, dbt_job_next_run_humanized: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_next_run_humanized = dbt_job_next_run_humanized @property @@ -12354,7 +12424,7 @@ def dbt_environment_name(self) -> Optional[str]: @dbt_environment_name.setter def dbt_environment_name(self, dbt_environment_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_environment_name = dbt_environment_name @property @@ -12368,7 +12438,7 @@ def dbt_environment_dbt_version(self) -> Optional[str]: @dbt_environment_dbt_version.setter def dbt_environment_dbt_version(self, dbt_environment_dbt_version: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_environment_dbt_version = dbt_environment_dbt_version @property @@ -12378,7 +12448,7 @@ def dbt_tags(self) -> Optional[set[str]]: @dbt_tags.setter def dbt_tags(self, dbt_tags: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_tags = dbt_tags @property @@ -12390,7 +12460,7 @@ def dbt_connection_context(self) -> Optional[str]: @dbt_connection_context.setter def dbt_connection_context(self, dbt_connection_context: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_connection_context = dbt_connection_context @property @@ -12404,7 +12474,7 @@ def dbt_semantic_layer_proxy_url(self) -> Optional[str]: @dbt_semantic_layer_proxy_url.setter def dbt_semantic_layer_proxy_url(self, dbt_semantic_layer_proxy_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_semantic_layer_proxy_url = dbt_semantic_layer_proxy_url @property @@ -12414,7 +12484,7 @@ def metric_type(self) -> Optional[str]: @metric_type.setter def metric_type(self, metric_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_type = metric_type @property @@ -12424,7 +12494,7 @@ def metric_s_q_l(self) -> Optional[str]: @metric_s_q_l.setter def metric_s_q_l(self, metric_s_q_l: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_s_q_l = metric_s_q_l @property @@ -12434,7 +12504,7 @@ def metric_filters(self) -> Optional[str]: @metric_filters.setter def metric_filters(self, metric_filters: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_filters = metric_filters @property @@ -12444,7 +12514,7 @@ def metric_time_grains(self) -> Optional[set[str]]: @metric_time_grains.setter def metric_time_grains(self, metric_time_grains: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_time_grains = metric_time_grains @property @@ -12456,7 +12526,7 @@ def metric_timestamp_column(self) -> Optional[Column]: @metric_timestamp_column.setter def metric_timestamp_column(self, metric_timestamp_column: Optional[Column]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_timestamp_column = metric_timestamp_column @property @@ -12466,7 +12536,7 @@ def dbt_model(self) -> Optional[DbtModel]: @dbt_model.setter def dbt_model(self, dbt_model: Optional[DbtModel]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_model = dbt_model @property @@ -12476,7 +12546,7 @@ def assets(self) -> Optional[list[Asset]]: @assets.setter def assets(self, assets: Optional[list[Asset]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.assets = assets @property @@ -12492,7 +12562,7 @@ def metric_dimension_columns( self, metric_dimension_columns: Optional[list[Column]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metric_dimension_columns = metric_dimension_columns @property @@ -12508,7 +12578,7 @@ def dbt_metric_filter_columns( self, dbt_metric_filter_columns: Optional[list[Column]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_metric_filter_columns = dbt_metric_filter_columns class Attributes(Dbt.Attributes): @@ -12584,7 +12654,9 @@ class Attributes(Dbt.Attributes): ) # relationship attributes: "DbtMetric.Attributes" = Field( - default_factory=lambda: DbtMetric.Attributes(), + default_factory=lambda: DbtMetric.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -12645,7 +12717,7 @@ def dbt_state(self) -> Optional[str]: @dbt_state.setter def dbt_state(self, dbt_state: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_state = dbt_state @property @@ -12657,7 +12729,7 @@ def dbt_freshness_criteria(self) -> Optional[str]: @dbt_freshness_criteria.setter def dbt_freshness_criteria(self, dbt_freshness_criteria: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_freshness_criteria = dbt_freshness_criteria @property @@ -12667,7 +12739,7 @@ def sql_assets(self) -> Optional[list[SQL]]: @sql_assets.setter def sql_assets(self, sql_assets: Optional[list[SQL]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql_assets = sql_assets @property @@ -12677,7 +12749,7 @@ def dbt_tests(self) -> Optional[list[DbtTest]]: @dbt_tests.setter def dbt_tests(self, dbt_tests: Optional[list[DbtTest]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_tests = dbt_tests @property @@ -12687,7 +12759,7 @@ def sql_asset(self) -> Optional[SQL]: @sql_asset.setter def sql_asset(self, sql_asset: Optional[SQL]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql_asset = sql_asset class Attributes(Dbt.Attributes): @@ -12706,7 +12778,9 @@ class Attributes(Dbt.Attributes): ) # relationship attributes: "DbtSource.Attributes" = Field( - default_factory=lambda: DbtSource.Attributes(), + default_factory=lambda: DbtSource.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -12759,7 +12833,7 @@ def schema_registry_schema_type( self, schema_registry_schema_type: Optional[SchemaRegistrySchemaType] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_registry_schema_type = schema_registry_schema_type @property @@ -12773,7 +12847,7 @@ def schema_registry_schema_id(self) -> Optional[str]: @schema_registry_schema_id.setter def schema_registry_schema_id(self, schema_registry_schema_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_registry_schema_id = schema_registry_schema_id class Attributes(Catalog.Attributes): @@ -12785,7 +12859,9 @@ class Attributes(Catalog.Attributes): ) attributes: "SchemaRegistry.Attributes" = Field( - default_factory=lambda: SchemaRegistry.Attributes(), + default_factory=lambda: SchemaRegistry.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -12880,7 +12956,7 @@ def schema_registry_subject_base_name( self, schema_registry_subject_base_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_registry_subject_base_name = ( schema_registry_subject_base_name ) @@ -12898,7 +12974,7 @@ def schema_registry_subject_is_key_schema( self, schema_registry_subject_is_key_schema: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_registry_subject_is_key_schema = ( schema_registry_subject_is_key_schema ) @@ -12921,7 +12997,7 @@ def schema_registry_subject_schema_compatibility( ], ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_registry_subject_schema_compatibility = ( schema_registry_subject_schema_compatibility ) @@ -12939,7 +13015,7 @@ def schema_registry_subject_latest_schema_version( self, schema_registry_subject_latest_schema_version: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_registry_subject_latest_schema_version = ( schema_registry_subject_latest_schema_version ) @@ -12957,7 +13033,7 @@ def schema_registry_subject_latest_schema_definition( self, schema_registry_subject_latest_schema_definition: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_registry_subject_latest_schema_definition = ( schema_registry_subject_latest_schema_definition ) @@ -12978,7 +13054,7 @@ def schema_registry_subject_governing_asset_qualified_names( schema_registry_subject_governing_asset_qualified_names: Optional[set[str]], ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.schema_registry_subject_governing_asset_qualified_names = ( schema_registry_subject_governing_asset_qualified_names ) @@ -12990,7 +13066,7 @@ def assets(self) -> Optional[list[Asset]]: @assets.setter def assets(self, assets: Optional[list[Asset]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.assets = assets class Attributes(SchemaRegistry.Attributes): @@ -13023,7 +13099,9 @@ class Attributes(SchemaRegistry.Attributes): ) # relationship attributes: "SchemaRegistrySubject.Attributes" = Field( - default_factory=lambda: SchemaRegistrySubject.Attributes(), + default_factory=lambda: SchemaRegistrySubject.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -13068,7 +13146,7 @@ def mc_labels(self) -> Optional[set[str]]: @mc_labels.setter def mc_labels(self, mc_labels: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_labels = mc_labels @property @@ -13082,7 +13160,7 @@ def mc_asset_qualified_names(self) -> Optional[set[str]]: @mc_asset_qualified_names.setter def mc_asset_qualified_names(self, mc_asset_qualified_names: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_asset_qualified_names = mc_asset_qualified_names class Attributes(DataQuality.Attributes): @@ -13092,7 +13170,9 @@ class Attributes(DataQuality.Attributes): ) attributes: "MonteCarlo.Attributes" = Field( - default_factory=lambda: MonteCarlo.Attributes(), + default_factory=lambda: MonteCarlo.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -13178,7 +13258,7 @@ def mc_incident_id(self) -> Optional[str]: @mc_incident_id.setter def mc_incident_id(self, mc_incident_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_incident_id = mc_incident_id @property @@ -13188,7 +13268,7 @@ def mc_incident_type(self) -> Optional[str]: @mc_incident_type.setter def mc_incident_type(self, mc_incident_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_incident_type = mc_incident_type @property @@ -13200,7 +13280,7 @@ def mc_incident_sub_types(self) -> Optional[set[str]]: @mc_incident_sub_types.setter def mc_incident_sub_types(self, mc_incident_sub_types: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_incident_sub_types = mc_incident_sub_types @property @@ -13210,7 +13290,7 @@ def mc_incident_severity(self) -> Optional[str]: @mc_incident_severity.setter def mc_incident_severity(self, mc_incident_severity: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_incident_severity = mc_incident_severity @property @@ -13220,7 +13300,7 @@ def mc_incident_state(self) -> Optional[str]: @mc_incident_state.setter def mc_incident_state(self, mc_incident_state: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_incident_state = mc_incident_state @property @@ -13232,7 +13312,7 @@ def mc_incident_warehouse(self) -> Optional[str]: @mc_incident_warehouse.setter def mc_incident_warehouse(self, mc_incident_warehouse: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_incident_warehouse = mc_incident_warehouse @property @@ -13242,7 +13322,7 @@ def mc_monitor(self) -> Optional[MCMonitor]: @mc_monitor.setter def mc_monitor(self, mc_monitor: Optional[MCMonitor]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor = mc_monitor @property @@ -13252,7 +13332,7 @@ def mc_incident_assets(self) -> Optional[list[Asset]]: @mc_incident_assets.setter def mc_incident_assets(self, mc_incident_assets: Optional[list[Asset]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_incident_assets = mc_incident_assets class Attributes(MonteCarlo.Attributes): @@ -13282,7 +13362,9 @@ class Attributes(MonteCarlo.Attributes): ) # relationship attributes: "MCIncident.Attributes" = Field( - default_factory=lambda: MCIncident.Attributes(), + default_factory=lambda: MCIncident.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -13438,7 +13520,7 @@ def mc_monitor_id(self) -> Optional[str]: @mc_monitor_id.setter def mc_monitor_id(self, mc_monitor_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_id = mc_monitor_id @property @@ -13448,7 +13530,7 @@ def mc_monitor_status(self) -> Optional[str]: @mc_monitor_status.setter def mc_monitor_status(self, mc_monitor_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_status = mc_monitor_status @property @@ -13458,7 +13540,7 @@ def mc_monitor_type(self) -> Optional[str]: @mc_monitor_type.setter def mc_monitor_type(self, mc_monitor_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_type = mc_monitor_type @property @@ -13468,7 +13550,7 @@ def mc_monitor_warehouse(self) -> Optional[str]: @mc_monitor_warehouse.setter def mc_monitor_warehouse(self, mc_monitor_warehouse: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_warehouse = mc_monitor_warehouse @property @@ -13482,7 +13564,7 @@ def mc_monitor_schedule_type(self) -> Optional[str]: @mc_monitor_schedule_type.setter def mc_monitor_schedule_type(self, mc_monitor_schedule_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_schedule_type = mc_monitor_schedule_type @property @@ -13492,7 +13574,7 @@ def mc_monitor_namespace(self) -> Optional[str]: @mc_monitor_namespace.setter def mc_monitor_namespace(self, mc_monitor_namespace: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_namespace = mc_monitor_namespace @property @@ -13502,7 +13584,7 @@ def mc_monitor_rule_type(self) -> Optional[str]: @mc_monitor_rule_type.setter def mc_monitor_rule_type(self, mc_monitor_rule_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_rule_type = mc_monitor_rule_type @property @@ -13516,7 +13598,7 @@ def mc_monitor_rule_custom_sql(self) -> Optional[str]: @mc_monitor_rule_custom_sql.setter def mc_monitor_rule_custom_sql(self, mc_monitor_rule_custom_sql: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_rule_custom_sql = mc_monitor_rule_custom_sql @property @@ -13532,7 +13614,7 @@ def mc_monitor_rule_schedule_config( self, mc_monitor_rule_schedule_config: Optional[MCRuleSchedule] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_rule_schedule_config = ( mc_monitor_rule_schedule_config ) @@ -13550,7 +13632,7 @@ def mc_monitor_rule_schedule_config_humanized( self, mc_monitor_rule_schedule_config_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_rule_schedule_config_humanized = ( mc_monitor_rule_schedule_config_humanized ) @@ -13566,7 +13648,7 @@ def mc_monitor_alert_condition(self) -> Optional[str]: @mc_monitor_alert_condition.setter def mc_monitor_alert_condition(self, mc_monitor_alert_condition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_alert_condition = mc_monitor_alert_condition @property @@ -13582,7 +13664,7 @@ def mc_monitor_rule_next_execution_time( self, mc_monitor_rule_next_execution_time: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_rule_next_execution_time = ( mc_monitor_rule_next_execution_time ) @@ -13600,7 +13682,7 @@ def mc_monitor_rule_previous_execution_time( self, mc_monitor_rule_previous_execution_time: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_rule_previous_execution_time = ( mc_monitor_rule_previous_execution_time ) @@ -13618,7 +13700,7 @@ def mc_monitor_rule_comparisons( self, mc_monitor_rule_comparisons: Optional[list[MCRuleComparison]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_rule_comparisons = mc_monitor_rule_comparisons @property @@ -13632,7 +13714,7 @@ def mc_monitor_rule_is_snoozed(self) -> Optional[bool]: @mc_monitor_rule_is_snoozed.setter def mc_monitor_rule_is_snoozed(self, mc_monitor_rule_is_snoozed: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_rule_is_snoozed = mc_monitor_rule_is_snoozed @property @@ -13644,7 +13726,7 @@ def mc_monitor_breach_rate(self) -> Optional[float]: @mc_monitor_breach_rate.setter def mc_monitor_breach_rate(self, mc_monitor_breach_rate: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_breach_rate = mc_monitor_breach_rate @property @@ -13658,7 +13740,7 @@ def mc_monitor_incident_count(self) -> Optional[int]: @mc_monitor_incident_count.setter def mc_monitor_incident_count(self, mc_monitor_incident_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_incident_count = mc_monitor_incident_count @property @@ -13668,7 +13750,7 @@ def mc_monitor_assets(self) -> Optional[list[Asset]]: @mc_monitor_assets.setter def mc_monitor_assets(self, mc_monitor_assets: Optional[list[Asset]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mc_monitor_assets = mc_monitor_assets class Attributes(MonteCarlo.Attributes): @@ -13726,7 +13808,9 @@ class Attributes(MonteCarlo.Attributes): ) # relationship attributes: "MCMonitor.Attributes" = Field( - default_factory=lambda: MCMonitor.Attributes(), + default_factory=lambda: MCMonitor.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -13822,7 +13906,7 @@ def soda_check_id(self) -> Optional[str]: @soda_check_id.setter def soda_check_id(self, soda_check_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.soda_check_id = soda_check_id @property @@ -13836,7 +13920,7 @@ def soda_check_evaluation_status(self) -> Optional[str]: @soda_check_evaluation_status.setter def soda_check_evaluation_status(self, soda_check_evaluation_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.soda_check_evaluation_status = soda_check_evaluation_status @property @@ -13848,7 +13932,7 @@ def soda_check_definition(self) -> Optional[str]: @soda_check_definition.setter def soda_check_definition(self, soda_check_definition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.soda_check_definition = soda_check_definition @property @@ -13860,7 +13944,7 @@ def soda_check_last_scan_at(self) -> Optional[datetime]: @soda_check_last_scan_at.setter def soda_check_last_scan_at(self, soda_check_last_scan_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.soda_check_last_scan_at = soda_check_last_scan_at @property @@ -13874,7 +13958,7 @@ def soda_check_incident_count(self) -> Optional[int]: @soda_check_incident_count.setter def soda_check_incident_count(self, soda_check_incident_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.soda_check_incident_count = soda_check_incident_count @property @@ -13884,7 +13968,7 @@ def soda_check_columns(self) -> Optional[list[Column]]: @soda_check_columns.setter def soda_check_columns(self, soda_check_columns: Optional[list[Column]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.soda_check_columns = soda_check_columns @property @@ -13894,7 +13978,7 @@ def soda_check_assets(self) -> Optional[list[Asset]]: @soda_check_assets.setter def soda_check_assets(self, soda_check_assets: Optional[list[Asset]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.soda_check_assets = soda_check_assets class Attributes(Soda.Attributes): @@ -13919,7 +14003,9 @@ class Attributes(Soda.Attributes): ) # relationship attributes: "SodaCheck.Attributes" = Field( - default_factory=lambda: SodaCheck.Attributes(), + default_factory=lambda: SodaCheck.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -14082,7 +14168,7 @@ def column_count(self) -> Optional[int]: @column_count.setter def column_count(self, column_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_count = column_count @property @@ -14092,7 +14178,7 @@ def row_count(self) -> Optional[int]: @row_count.setter def row_count(self, row_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.row_count = row_count @property @@ -14102,7 +14188,7 @@ def size_bytes(self) -> Optional[int]: @size_bytes.setter def size_bytes(self, size_bytes: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.size_bytes = size_bytes @property @@ -14112,7 +14198,7 @@ def alias(self) -> Optional[str]: @alias.setter def alias(self, alias: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.alias = alias @property @@ -14122,7 +14208,7 @@ def is_temporary(self) -> Optional[bool]: @is_temporary.setter def is_temporary(self, is_temporary: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_temporary = is_temporary @property @@ -14132,7 +14218,7 @@ def is_query_preview(self) -> Optional[bool]: @is_query_preview.setter def is_query_preview(self, is_query_preview: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_query_preview = is_query_preview @property @@ -14142,7 +14228,7 @@ def query_preview_config(self) -> Optional[dict[str, str]]: @query_preview_config.setter def query_preview_config(self, query_preview_config: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_preview_config = query_preview_config @property @@ -14152,7 +14238,7 @@ def external_location(self) -> Optional[str]: @external_location.setter def external_location(self, external_location: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.external_location = external_location @property @@ -14166,7 +14252,7 @@ def external_location_region(self) -> Optional[str]: @external_location_region.setter def external_location_region(self, external_location_region: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.external_location_region = external_location_region @property @@ -14180,7 +14266,7 @@ def external_location_format(self) -> Optional[str]: @external_location_format.setter def external_location_format(self, external_location_format: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.external_location_format = external_location_format @property @@ -14190,7 +14276,7 @@ def is_partitioned(self) -> Optional[bool]: @is_partitioned.setter def is_partitioned(self, is_partitioned: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_partitioned = is_partitioned @property @@ -14200,7 +14286,7 @@ def partition_strategy(self) -> Optional[str]: @partition_strategy.setter def partition_strategy(self, partition_strategy: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.partition_strategy = partition_strategy @property @@ -14210,7 +14296,7 @@ def partition_count(self) -> Optional[int]: @partition_count.setter def partition_count(self, partition_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.partition_count = partition_count @property @@ -14220,7 +14306,7 @@ def partition_list(self) -> Optional[str]: @partition_list.setter def partition_list(self, partition_list: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.partition_list = partition_list @property @@ -14230,7 +14316,7 @@ def partitions(self) -> Optional[list[TablePartition]]: @partitions.setter def partitions(self, partitions: Optional[list[TablePartition]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.partitions = partitions @property @@ -14240,7 +14326,7 @@ def columns(self) -> Optional[list[Column]]: @columns.setter def columns(self, columns: Optional[list[Column]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.columns = columns @property @@ -14250,7 +14336,7 @@ def queries(self) -> Optional[list[Query]]: @queries.setter def queries(self, queries: Optional[list[Query]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.queries = queries @property @@ -14260,7 +14346,7 @@ def facts(self) -> Optional[list[Table]]: @facts.setter def facts(self, facts: Optional[list[Table]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.facts = facts @property @@ -14270,7 +14356,7 @@ def atlan_schema(self) -> Optional[Schema]: @atlan_schema.setter def atlan_schema(self, atlan_schema: Optional[Schema]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.atlan_schema = atlan_schema @property @@ -14280,7 +14366,7 @@ def dimensions(self) -> Optional[list[Table]]: @dimensions.setter def dimensions(self, dimensions: Optional[list[Table]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dimensions = dimensions class Attributes(SQL.Attributes): @@ -14361,7 +14447,9 @@ def create(cls, *, name: str, schema_qualified_name: str) -> Table.Attributes: ) attributes: "Table.Attributes" = Field( - default_factory=lambda: Table.Attributes(), + default_factory=lambda: Table.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -14399,14 +14487,16 @@ def definition(self) -> Optional[str]: @definition.setter def definition(self, definition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.definition = definition class Attributes(Table.Attributes): definition: Optional[str] = Field(None, description="", alias="definition") attributes: "SnowflakeDynamicTable.Attributes" = Field( - default_factory=lambda: SnowflakeDynamicTable.Attributes(), + default_factory=lambda: SnowflakeDynamicTable.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset02.py b/pyatlan/model/assets/asset02.py index c40134473..704f12795 100644 --- a/pyatlan/model/assets/asset02.py +++ b/pyatlan/model/assets/asset02.py @@ -236,7 +236,7 @@ def category(self) -> Optional[str]: @category.setter def category(self, category: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.category = category @property @@ -246,7 +246,7 @@ def sub_category(self) -> Optional[str]: @sub_category.setter def sub_category(self, sub_category: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sub_category = sub_category @property @@ -256,7 +256,7 @@ def host(self) -> Optional[str]: @host.setter def host(self, host: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.host = host @property @@ -266,7 +266,7 @@ def port(self) -> Optional[int]: @port.setter def port(self, port: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.port = port @property @@ -276,7 +276,7 @@ def allow_query(self) -> Optional[bool]: @allow_query.setter def allow_query(self, allow_query: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.allow_query = allow_query @property @@ -286,7 +286,7 @@ def allow_query_preview(self) -> Optional[bool]: @allow_query_preview.setter def allow_query_preview(self, allow_query_preview: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.allow_query_preview = allow_query_preview @property @@ -296,7 +296,7 @@ def query_preview_config(self) -> Optional[dict[str, str]]: @query_preview_config.setter def query_preview_config(self, query_preview_config: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_preview_config = query_preview_config @property @@ -306,7 +306,7 @@ def query_config(self) -> Optional[str]: @query_config.setter def query_config(self, query_config: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_config = query_config @property @@ -316,7 +316,7 @@ def credential_strategy(self) -> Optional[str]: @credential_strategy.setter def credential_strategy(self, credential_strategy: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.credential_strategy = credential_strategy @property @@ -330,7 +330,7 @@ def preview_credential_strategy(self) -> Optional[str]: @preview_credential_strategy.setter def preview_credential_strategy(self, preview_credential_strategy: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preview_credential_strategy = preview_credential_strategy @property @@ -340,7 +340,7 @@ def policy_strategy(self) -> Optional[str]: @policy_strategy.setter def policy_strategy(self, policy_strategy: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_strategy = policy_strategy @property @@ -354,7 +354,7 @@ def query_username_strategy( self, query_username_strategy: Optional[QueryUsernameStrategy] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_username_strategy = query_username_strategy @property @@ -364,7 +364,7 @@ def row_limit(self) -> Optional[int]: @row_limit.setter def row_limit(self, row_limit: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.row_limit = row_limit @property @@ -374,7 +374,7 @@ def query_timeout(self) -> Optional[int]: @query_timeout.setter def query_timeout(self, query_timeout: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_timeout = query_timeout @property @@ -386,7 +386,7 @@ def default_credential_guid(self) -> Optional[str]: @default_credential_guid.setter def default_credential_guid(self, default_credential_guid: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.default_credential_guid = default_credential_guid @property @@ -396,7 +396,7 @@ def connector_icon(self) -> Optional[str]: @connector_icon.setter def connector_icon(self, connector_icon: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.connector_icon = connector_icon @property @@ -406,7 +406,7 @@ def connector_image(self) -> Optional[str]: @connector_image.setter def connector_image(self, connector_image: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.connector_image = connector_image @property @@ -416,7 +416,7 @@ def source_logo(self) -> Optional[str]: @source_logo.setter def source_logo(self, source_logo: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_logo = source_logo @property @@ -432,7 +432,7 @@ def is_sample_data_preview_enabled( self, is_sample_data_preview_enabled: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_sample_data_preview_enabled = is_sample_data_preview_enabled @property @@ -448,7 +448,7 @@ def popularity_insights_timeframe( self, popularity_insights_timeframe: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.popularity_insights_timeframe = popularity_insights_timeframe @property @@ -460,7 +460,7 @@ def has_popularity_insights(self) -> Optional[bool]: @has_popularity_insights.setter def has_popularity_insights(self, has_popularity_insights: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.has_popularity_insights = has_popularity_insights @property @@ -476,7 +476,7 @@ def connection_dbt_environments( self, connection_dbt_environments: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.connection_dbt_environments = connection_dbt_environments @property @@ -492,7 +492,7 @@ def connection_s_s_o_credential_guid( self, connection_s_s_o_credential_guid: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.connection_s_s_o_credential_guid = ( connection_s_s_o_credential_guid ) @@ -551,7 +551,9 @@ class Attributes(Asset.Attributes): ) attributes: "Connection.Attributes" = Field( - default_factory=lambda: Connection.Attributes(), + default_factory=lambda: Connection.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset04.py b/pyatlan/model/assets/asset04.py index 0b82c3883..09c92375d 100644 --- a/pyatlan/model/assets/asset04.py +++ b/pyatlan/model/assets/asset04.py @@ -77,7 +77,7 @@ def badge_conditions(self) -> Optional[list[BadgeCondition]]: @badge_conditions.setter def badge_conditions(self, badge_conditions: Optional[list[BadgeCondition]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.badge_conditions = badge_conditions @property @@ -91,7 +91,7 @@ def badge_metadata_attribute(self) -> Optional[str]: @badge_metadata_attribute.setter def badge_metadata_attribute(self, badge_metadata_attribute: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.badge_metadata_attribute = badge_metadata_attribute class Attributes(Asset.Attributes): @@ -130,7 +130,9 @@ def create( ) attributes: "Badge.Attributes" = Field( - default_factory=lambda: Badge.Attributes(), + default_factory=lambda: Badge.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset05.py b/pyatlan/model/assets/asset05.py index 10c8a4cfc..f3ed06683 100644 --- a/pyatlan/model/assets/asset05.py +++ b/pyatlan/model/assets/asset05.py @@ -172,7 +172,7 @@ def policy_type(self) -> Optional[AuthPolicyType]: @policy_type.setter def policy_type(self, policy_type: Optional[AuthPolicyType]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_type = policy_type @property @@ -182,7 +182,7 @@ def policy_service_name(self) -> Optional[str]: @policy_service_name.setter def policy_service_name(self, policy_service_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_service_name = policy_service_name @property @@ -192,7 +192,7 @@ def policy_category(self) -> Optional[str]: @policy_category.setter def policy_category(self, policy_category: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_category = policy_category @property @@ -202,7 +202,7 @@ def policy_sub_category(self) -> Optional[str]: @policy_sub_category.setter def policy_sub_category(self, policy_sub_category: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_sub_category = policy_sub_category @property @@ -212,7 +212,7 @@ def policy_users(self) -> Optional[set[str]]: @policy_users.setter def policy_users(self, policy_users: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_users = policy_users @property @@ -222,7 +222,7 @@ def policy_groups(self) -> Optional[set[str]]: @policy_groups.setter def policy_groups(self, policy_groups: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_groups = policy_groups @property @@ -232,7 +232,7 @@ def policy_roles(self) -> Optional[set[str]]: @policy_roles.setter def policy_roles(self, policy_roles: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_roles = policy_roles @property @@ -242,7 +242,7 @@ def policy_actions(self) -> Optional[set[str]]: @policy_actions.setter def policy_actions(self, policy_actions: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_actions = policy_actions @property @@ -252,7 +252,7 @@ def policy_resources(self) -> Optional[set[str]]: @policy_resources.setter def policy_resources(self, policy_resources: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_resources = policy_resources @property @@ -266,7 +266,7 @@ def policy_resource_category(self) -> Optional[str]: @policy_resource_category.setter def policy_resource_category(self, policy_resource_category: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_resource_category = policy_resource_category @property @@ -276,7 +276,7 @@ def policy_priority(self) -> Optional[int]: @policy_priority.setter def policy_priority(self, policy_priority: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_priority = policy_priority @property @@ -286,7 +286,7 @@ def is_policy_enabled(self) -> Optional[bool]: @is_policy_enabled.setter def is_policy_enabled(self, is_policy_enabled: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_policy_enabled = is_policy_enabled @property @@ -296,7 +296,7 @@ def policy_mask_type(self) -> Optional[str]: @policy_mask_type.setter def policy_mask_type(self, policy_mask_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_mask_type = policy_mask_type @property @@ -312,7 +312,7 @@ def policy_validity_schedule( self, policy_validity_schedule: Optional[list[AuthPolicyValiditySchedule]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_validity_schedule = policy_validity_schedule @property @@ -326,7 +326,7 @@ def policy_resource_signature(self) -> Optional[str]: @policy_resource_signature.setter def policy_resource_signature(self, policy_resource_signature: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_resource_signature = policy_resource_signature @property @@ -338,7 +338,7 @@ def policy_delegate_admin(self) -> Optional[bool]: @policy_delegate_admin.setter def policy_delegate_admin(self, policy_delegate_admin: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_delegate_admin = policy_delegate_admin @property @@ -348,7 +348,7 @@ def policy_conditions(self) -> Optional[list[AuthPolicyCondition]]: @policy_conditions.setter def policy_conditions(self, policy_conditions: Optional[list[AuthPolicyCondition]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policy_conditions = policy_conditions @property @@ -358,7 +358,7 @@ def access_control(self) -> Optional[AccessControl]: @access_control.setter def access_control(self, access_control: Optional[AccessControl]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.access_control = access_control class Attributes(Asset.Attributes): @@ -426,7 +426,9 @@ def __create(cls, name: str) -> AuthPolicy.Attributes: ) attributes: "AuthPolicy.Attributes" = Field( - default_factory=lambda: AuthPolicy.Attributes(), + default_factory=lambda: AuthPolicy.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -495,7 +497,7 @@ def is_access_control_enabled(self) -> Optional[bool]: @is_access_control_enabled.setter def is_access_control_enabled(self, is_access_control_enabled: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_access_control_enabled = is_access_control_enabled @property @@ -511,7 +513,7 @@ def deny_custom_metadata_guids( self, deny_custom_metadata_guids: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.deny_custom_metadata_guids = deny_custom_metadata_guids @property @@ -521,7 +523,7 @@ def deny_asset_tabs(self) -> Optional[set[str]]: @deny_asset_tabs.setter def deny_asset_tabs(self, deny_asset_tabs: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.deny_asset_tabs = deny_asset_tabs @property @@ -531,7 +533,7 @@ def channel_link(self) -> Optional[str]: @channel_link.setter def channel_link(self, channel_link: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.channel_link = channel_link @property @@ -541,7 +543,7 @@ def policies(self) -> Optional[list[AuthPolicy]]: @policies.setter def policies(self, policies: Optional[list[AuthPolicy]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.policies = policies class Attributes(Asset.Attributes): @@ -560,7 +562,9 @@ class Attributes(Asset.Attributes): ) # relationship attributes: "AccessControl.Attributes" = Field( - default_factory=lambda: AccessControl.Attributes(), + default_factory=lambda: AccessControl.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset07.py b/pyatlan/model/assets/asset07.py index 5d4285fa5..ab2bac2d9 100644 --- a/pyatlan/model/assets/asset07.py +++ b/pyatlan/model/assets/asset07.py @@ -73,7 +73,7 @@ def auth_service_type(self) -> Optional[str]: @auth_service_type.setter def auth_service_type(self, auth_service_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.auth_service_type = auth_service_type @property @@ -83,7 +83,7 @@ def tag_service(self) -> Optional[str]: @tag_service.setter def tag_service(self, tag_service: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tag_service = tag_service @property @@ -95,7 +95,7 @@ def auth_service_is_enabled(self) -> Optional[bool]: @auth_service_is_enabled.setter def auth_service_is_enabled(self, auth_service_is_enabled: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.auth_service_is_enabled = auth_service_is_enabled @property @@ -105,7 +105,7 @@ def auth_service_config(self) -> Optional[dict[str, str]]: @auth_service_config.setter def auth_service_config(self, auth_service_config: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.auth_service_config = auth_service_config @property @@ -121,7 +121,7 @@ def auth_service_policy_last_sync( self, auth_service_policy_last_sync: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.auth_service_policy_last_sync = auth_service_policy_last_sync class Attributes(Asset.Attributes): @@ -140,7 +140,9 @@ class Attributes(Asset.Attributes): ) attributes: "AuthService.Attributes" = Field( - default_factory=lambda: AuthService.Attributes(), + default_factory=lambda: AuthService.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset10.py b/pyatlan/model/assets/asset10.py index 96c3b8e1a..7b7828348 100644 --- a/pyatlan/model/assets/asset10.py +++ b/pyatlan/model/assets/asset10.py @@ -50,7 +50,7 @@ def outputs(self) -> Optional[list[Catalog]]: @outputs.setter def outputs(self, outputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.outputs = outputs @property @@ -60,7 +60,7 @@ def inputs(self) -> Optional[list[Catalog]]: @inputs.setter def inputs(self, inputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.inputs = inputs class Attributes(Process.Attributes): @@ -72,7 +72,9 @@ class Attributes(Process.Attributes): ) # relationship attributes: "BIProcess.Attributes" = Field( - default_factory=lambda: BIProcess.Attributes(), + default_factory=lambda: BIProcess.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset11.py b/pyatlan/model/assets/asset11.py index d7caa5c93..4a468767c 100644 --- a/pyatlan/model/assets/asset11.py +++ b/pyatlan/model/assets/asset11.py @@ -211,7 +211,7 @@ def dbt_process_job_status(self) -> Optional[str]: @dbt_process_job_status.setter def dbt_process_job_status(self, dbt_process_job_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_process_job_status = dbt_process_job_status @property @@ -221,7 +221,7 @@ def dbt_alias(self) -> Optional[str]: @dbt_alias.setter def dbt_alias(self, dbt_alias: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_alias = dbt_alias @property @@ -231,7 +231,7 @@ def dbt_meta(self) -> Optional[str]: @dbt_meta.setter def dbt_meta(self, dbt_meta: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_meta = dbt_meta @property @@ -241,7 +241,7 @@ def dbt_unique_id(self) -> Optional[str]: @dbt_unique_id.setter def dbt_unique_id(self, dbt_unique_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_unique_id = dbt_unique_id @property @@ -251,7 +251,7 @@ def dbt_account_name(self) -> Optional[str]: @dbt_account_name.setter def dbt_account_name(self, dbt_account_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_account_name = dbt_account_name @property @@ -261,7 +261,7 @@ def dbt_project_name(self) -> Optional[str]: @dbt_project_name.setter def dbt_project_name(self, dbt_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_project_name = dbt_project_name @property @@ -271,7 +271,7 @@ def dbt_package_name(self) -> Optional[str]: @dbt_package_name.setter def dbt_package_name(self, dbt_package_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_package_name = dbt_package_name @property @@ -281,7 +281,7 @@ def dbt_job_name(self) -> Optional[str]: @dbt_job_name.setter def dbt_job_name(self, dbt_job_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_name = dbt_job_name @property @@ -291,7 +291,7 @@ def dbt_job_schedule(self) -> Optional[str]: @dbt_job_schedule.setter def dbt_job_schedule(self, dbt_job_schedule: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_schedule = dbt_job_schedule @property @@ -301,7 +301,7 @@ def dbt_job_status(self) -> Optional[str]: @dbt_job_status.setter def dbt_job_status(self, dbt_job_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_status = dbt_job_status @property @@ -317,7 +317,7 @@ def dbt_job_schedule_cron_humanized( self, dbt_job_schedule_cron_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_schedule_cron_humanized = ( dbt_job_schedule_cron_humanized ) @@ -329,7 +329,7 @@ def dbt_job_last_run(self) -> Optional[datetime]: @dbt_job_last_run.setter def dbt_job_last_run(self, dbt_job_last_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_last_run = dbt_job_last_run @property @@ -339,7 +339,7 @@ def dbt_job_next_run(self) -> Optional[datetime]: @dbt_job_next_run.setter def dbt_job_next_run(self, dbt_job_next_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_next_run = dbt_job_next_run @property @@ -353,7 +353,7 @@ def dbt_job_next_run_humanized(self) -> Optional[str]: @dbt_job_next_run_humanized.setter def dbt_job_next_run_humanized(self, dbt_job_next_run_humanized: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_next_run_humanized = dbt_job_next_run_humanized @property @@ -363,7 +363,7 @@ def dbt_environment_name(self) -> Optional[str]: @dbt_environment_name.setter def dbt_environment_name(self, dbt_environment_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_environment_name = dbt_environment_name @property @@ -377,7 +377,7 @@ def dbt_environment_dbt_version(self) -> Optional[str]: @dbt_environment_dbt_version.setter def dbt_environment_dbt_version(self, dbt_environment_dbt_version: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_environment_dbt_version = dbt_environment_dbt_version @property @@ -387,7 +387,7 @@ def dbt_tags(self) -> Optional[set[str]]: @dbt_tags.setter def dbt_tags(self, dbt_tags: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_tags = dbt_tags @property @@ -399,7 +399,7 @@ def dbt_connection_context(self) -> Optional[str]: @dbt_connection_context.setter def dbt_connection_context(self, dbt_connection_context: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_connection_context = dbt_connection_context @property @@ -413,7 +413,7 @@ def dbt_semantic_layer_proxy_url(self) -> Optional[str]: @dbt_semantic_layer_proxy_url.setter def dbt_semantic_layer_proxy_url(self, dbt_semantic_layer_proxy_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_semantic_layer_proxy_url = dbt_semantic_layer_proxy_url @property @@ -423,7 +423,7 @@ def inputs(self) -> Optional[list[Catalog]]: @inputs.setter def inputs(self, inputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.inputs = inputs @property @@ -433,7 +433,7 @@ def outputs(self) -> Optional[list[Catalog]]: @outputs.setter def outputs(self, outputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.outputs = outputs @property @@ -443,7 +443,7 @@ def code(self) -> Optional[str]: @code.setter def code(self, code: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.code = code @property @@ -453,7 +453,7 @@ def sql(self) -> Optional[str]: @sql.setter def sql(self, sql: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql = sql @property @@ -463,7 +463,7 @@ def ast(self) -> Optional[str]: @ast.setter def ast(self, ast: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.ast = ast @property @@ -473,7 +473,7 @@ def airflow_tasks(self) -> Optional[list[AirflowTask]]: @airflow_tasks.setter def airflow_tasks(self, airflow_tasks: Optional[list[AirflowTask]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_tasks = airflow_tasks @property @@ -483,7 +483,7 @@ def column_processes(self) -> Optional[list[ColumnProcess]]: @column_processes.setter def column_processes(self, column_processes: Optional[list[ColumnProcess]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_processes = column_processes class Attributes(Dbt.Attributes): @@ -547,7 +547,9 @@ class Attributes(Dbt.Attributes): ) # relationship attributes: "DbtProcess.Attributes" = Field( - default_factory=lambda: DbtProcess.Attributes(), + default_factory=lambda: DbtProcess.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset12.py b/pyatlan/model/assets/asset12.py index 5f3631ff2..430675191 100644 --- a/pyatlan/model/assets/asset12.py +++ b/pyatlan/model/assets/asset12.py @@ -181,7 +181,7 @@ def persona_groups(self) -> Optional[set[str]]: @persona_groups.setter def persona_groups(self, persona_groups: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.persona_groups = persona_groups @property @@ -191,7 +191,7 @@ def persona_users(self) -> Optional[set[str]]: @persona_users.setter def persona_users(self, persona_users: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.persona_users = persona_users @property @@ -201,7 +201,7 @@ def role_id(self) -> Optional[str]: @role_id.setter def role_id(self, role_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.role_id = role_id class Attributes(AccessControl.Attributes): @@ -228,7 +228,9 @@ def create(cls, name: str) -> Persona.Attributes: ) attributes: "Persona.Attributes" = Field( - default_factory=lambda: Persona.Attributes(), + default_factory=lambda: Persona.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset13.py b/pyatlan/model/assets/asset13.py index ea20103fd..7e99845dc 100644 --- a/pyatlan/model/assets/asset13.py +++ b/pyatlan/model/assets/asset13.py @@ -201,7 +201,7 @@ def purpose_atlan_tags(self) -> Optional[set[str]]: @purpose_atlan_tags.setter def purpose_atlan_tags(self, purpose_atlan_tags: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.purpose_atlan_tags = purpose_atlan_tags class Attributes(AccessControl.Attributes): @@ -223,7 +223,9 @@ def create(cls, name: str, atlan_tags: list[str]) -> Purpose.Attributes: ) attributes: "Purpose.Attributes" = Field( - default_factory=lambda: Purpose.Attributes(), + default_factory=lambda: Purpose.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset14.py b/pyatlan/model/assets/asset14.py index 46f8f6772..3f9dcc241 100644 --- a/pyatlan/model/assets/asset14.py +++ b/pyatlan/model/assets/asset14.py @@ -51,7 +51,7 @@ def icon(self) -> Optional[str]: @icon.setter def icon(self, icon: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.icon = icon @property @@ -61,7 +61,7 @@ def icon_type(self) -> Optional[IconType]: @icon_type.setter def icon_type(self, icon_type: Optional[IconType]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.icon_type = icon_type class Attributes(Namespace.Attributes): @@ -69,7 +69,9 @@ class Attributes(Namespace.Attributes): icon_type: Optional[IconType] = Field(None, description="", alias="iconType") attributes: "Collection.Attributes" = Field( - default_factory=lambda: Collection.Attributes(), + default_factory=lambda: Collection.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset24.py b/pyatlan/model/assets/asset24.py index d4dde7bf2..32f3b9b5b 100644 --- a/pyatlan/model/assets/asset24.py +++ b/pyatlan/model/assets/asset24.py @@ -84,7 +84,7 @@ def api_spec_type(self) -> Optional[str]: @api_spec_type.setter def api_spec_type(self, api_spec_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_type = api_spec_type @property @@ -94,7 +94,7 @@ def api_spec_version(self) -> Optional[str]: @api_spec_version.setter def api_spec_version(self, api_spec_version: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_version = api_spec_version @property @@ -104,7 +104,7 @@ def api_spec_name(self) -> Optional[str]: @api_spec_name.setter def api_spec_name(self, api_spec_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_name = api_spec_name @property @@ -116,7 +116,7 @@ def api_spec_qualified_name(self) -> Optional[str]: @api_spec_qualified_name.setter def api_spec_qualified_name(self, api_spec_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_qualified_name = api_spec_qualified_name @property @@ -126,7 +126,7 @@ def api_external_docs(self) -> Optional[dict[str, str]]: @api_external_docs.setter def api_external_docs(self, api_external_docs: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_external_docs = api_external_docs @property @@ -136,7 +136,7 @@ def api_is_auth_optional(self) -> Optional[bool]: @api_is_auth_optional.setter def api_is_auth_optional(self, api_is_auth_optional: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_is_auth_optional = api_is_auth_optional class Attributes(Catalog.Attributes): @@ -156,7 +156,9 @@ class Attributes(Catalog.Attributes): ) attributes: "API.Attributes" = Field( - default_factory=lambda: API.Attributes(), + default_factory=lambda: API.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset27.py b/pyatlan/model/assets/asset27.py index f1143a61b..a0769acd4 100644 --- a/pyatlan/model/assets/asset27.py +++ b/pyatlan/model/assets/asset27.py @@ -97,7 +97,7 @@ def google_service(self) -> Optional[str]: @google_service.setter def google_service(self, google_service: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_service = google_service @property @@ -107,7 +107,7 @@ def google_project_name(self) -> Optional[str]: @google_project_name.setter def google_project_name(self, google_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_name = google_project_name @property @@ -117,7 +117,7 @@ def google_project_id(self) -> Optional[str]: @google_project_id.setter def google_project_id(self, google_project_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_id = google_project_id @property @@ -129,7 +129,7 @@ def google_project_number(self) -> Optional[int]: @google_project_number.setter def google_project_number(self, google_project_number: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_number = google_project_number @property @@ -139,7 +139,7 @@ def google_location(self) -> Optional[str]: @google_location.setter def google_location(self, google_location: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_location = google_location @property @@ -149,7 +149,7 @@ def google_location_type(self) -> Optional[str]: @google_location_type.setter def google_location_type(self, google_location_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_location_type = google_location_type @property @@ -159,7 +159,7 @@ def google_labels(self) -> Optional[list[GoogleLabel]]: @google_labels.setter def google_labels(self, google_labels: Optional[list[GoogleLabel]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_labels = google_labels @property @@ -169,7 +169,7 @@ def google_tags(self) -> Optional[list[GoogleTag]]: @google_tags.setter def google_tags(self, google_tags: Optional[list[GoogleTag]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_tags = google_tags class Attributes(Cloud.Attributes): @@ -199,7 +199,9 @@ class Attributes(Cloud.Attributes): ) attributes: "Google.Attributes" = Field( - default_factory=lambda: Google.Attributes(), + default_factory=lambda: Google.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset28.py b/pyatlan/model/assets/asset28.py index fc73e8633..8b151c4d7 100644 --- a/pyatlan/model/assets/asset28.py +++ b/pyatlan/model/assets/asset28.py @@ -67,7 +67,7 @@ def azure_resource_id(self) -> Optional[str]: @azure_resource_id.setter def azure_resource_id(self, azure_resource_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.azure_resource_id = azure_resource_id @property @@ -77,7 +77,7 @@ def azure_location(self) -> Optional[str]: @azure_location.setter def azure_location(self, azure_location: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.azure_location = azure_location @property @@ -93,7 +93,7 @@ def adls_account_secondary_location( self, adls_account_secondary_location: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_account_secondary_location = ( adls_account_secondary_location ) @@ -105,7 +105,7 @@ def azure_tags(self) -> Optional[list[AzureTag]]: @azure_tags.setter def azure_tags(self, azure_tags: Optional[list[AzureTag]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.azure_tags = azure_tags class Attributes(Cloud.Attributes): @@ -123,7 +123,9 @@ class Attributes(Cloud.Attributes): ) attributes: "Azure.Attributes" = Field( - default_factory=lambda: Azure.Attributes(), + default_factory=lambda: Azure.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset29.py b/pyatlan/model/assets/asset29.py index 6e755cbd4..2533b8820 100644 --- a/pyatlan/model/assets/asset29.py +++ b/pyatlan/model/assets/asset29.py @@ -94,7 +94,7 @@ def aws_arn(self) -> Optional[str]: @aws_arn.setter def aws_arn(self, aws_arn: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_arn = aws_arn @property @@ -104,7 +104,7 @@ def aws_partition(self) -> Optional[str]: @aws_partition.setter def aws_partition(self, aws_partition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_partition = aws_partition @property @@ -114,7 +114,7 @@ def aws_service(self) -> Optional[str]: @aws_service.setter def aws_service(self, aws_service: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_service = aws_service @property @@ -124,7 +124,7 @@ def aws_region(self) -> Optional[str]: @aws_region.setter def aws_region(self, aws_region: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_region = aws_region @property @@ -134,7 +134,7 @@ def aws_account_id(self) -> Optional[str]: @aws_account_id.setter def aws_account_id(self, aws_account_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_account_id = aws_account_id @property @@ -144,7 +144,7 @@ def aws_resource_id(self) -> Optional[str]: @aws_resource_id.setter def aws_resource_id(self, aws_resource_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_resource_id = aws_resource_id @property @@ -154,7 +154,7 @@ def aws_owner_name(self) -> Optional[str]: @aws_owner_name.setter def aws_owner_name(self, aws_owner_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_owner_name = aws_owner_name @property @@ -164,7 +164,7 @@ def aws_owner_id(self) -> Optional[str]: @aws_owner_id.setter def aws_owner_id(self, aws_owner_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_owner_id = aws_owner_id @property @@ -174,7 +174,7 @@ def aws_tags(self) -> Optional[list[AwsTag]]: @aws_tags.setter def aws_tags(self, aws_tags: Optional[list[AwsTag]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_tags = aws_tags class Attributes(Cloud.Attributes): @@ -195,7 +195,9 @@ class Attributes(Cloud.Attributes): aws_tags: Optional[list[AwsTag]] = Field(None, description="", alias="awsTags") attributes: "AWS.Attributes" = Field( - default_factory=lambda: AWS.Attributes(), + default_factory=lambda: AWS.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset30.py b/pyatlan/model/assets/asset30.py index 6b65fe360..368e7ec65 100644 --- a/pyatlan/model/assets/asset30.py +++ b/pyatlan/model/assets/asset30.py @@ -220,7 +220,7 @@ def dbt_column_process_job_status( self, dbt_column_process_job_status: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_column_process_job_status = dbt_column_process_job_status @property @@ -230,7 +230,7 @@ def dbt_alias(self) -> Optional[str]: @dbt_alias.setter def dbt_alias(self, dbt_alias: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_alias = dbt_alias @property @@ -240,7 +240,7 @@ def dbt_meta(self) -> Optional[str]: @dbt_meta.setter def dbt_meta(self, dbt_meta: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_meta = dbt_meta @property @@ -250,7 +250,7 @@ def dbt_unique_id(self) -> Optional[str]: @dbt_unique_id.setter def dbt_unique_id(self, dbt_unique_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_unique_id = dbt_unique_id @property @@ -260,7 +260,7 @@ def dbt_account_name(self) -> Optional[str]: @dbt_account_name.setter def dbt_account_name(self, dbt_account_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_account_name = dbt_account_name @property @@ -270,7 +270,7 @@ def dbt_project_name(self) -> Optional[str]: @dbt_project_name.setter def dbt_project_name(self, dbt_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_project_name = dbt_project_name @property @@ -280,7 +280,7 @@ def dbt_package_name(self) -> Optional[str]: @dbt_package_name.setter def dbt_package_name(self, dbt_package_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_package_name = dbt_package_name @property @@ -290,7 +290,7 @@ def dbt_job_name(self) -> Optional[str]: @dbt_job_name.setter def dbt_job_name(self, dbt_job_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_name = dbt_job_name @property @@ -300,7 +300,7 @@ def dbt_job_schedule(self) -> Optional[str]: @dbt_job_schedule.setter def dbt_job_schedule(self, dbt_job_schedule: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_schedule = dbt_job_schedule @property @@ -310,7 +310,7 @@ def dbt_job_status(self) -> Optional[str]: @dbt_job_status.setter def dbt_job_status(self, dbt_job_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_status = dbt_job_status @property @@ -326,7 +326,7 @@ def dbt_job_schedule_cron_humanized( self, dbt_job_schedule_cron_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_schedule_cron_humanized = ( dbt_job_schedule_cron_humanized ) @@ -338,7 +338,7 @@ def dbt_job_last_run(self) -> Optional[datetime]: @dbt_job_last_run.setter def dbt_job_last_run(self, dbt_job_last_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_last_run = dbt_job_last_run @property @@ -348,7 +348,7 @@ def dbt_job_next_run(self) -> Optional[datetime]: @dbt_job_next_run.setter def dbt_job_next_run(self, dbt_job_next_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_next_run = dbt_job_next_run @property @@ -362,7 +362,7 @@ def dbt_job_next_run_humanized(self) -> Optional[str]: @dbt_job_next_run_humanized.setter def dbt_job_next_run_humanized(self, dbt_job_next_run_humanized: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_next_run_humanized = dbt_job_next_run_humanized @property @@ -372,7 +372,7 @@ def dbt_environment_name(self) -> Optional[str]: @dbt_environment_name.setter def dbt_environment_name(self, dbt_environment_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_environment_name = dbt_environment_name @property @@ -386,7 +386,7 @@ def dbt_environment_dbt_version(self) -> Optional[str]: @dbt_environment_dbt_version.setter def dbt_environment_dbt_version(self, dbt_environment_dbt_version: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_environment_dbt_version = dbt_environment_dbt_version @property @@ -396,7 +396,7 @@ def dbt_tags(self) -> Optional[set[str]]: @dbt_tags.setter def dbt_tags(self, dbt_tags: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_tags = dbt_tags @property @@ -408,7 +408,7 @@ def dbt_connection_context(self) -> Optional[str]: @dbt_connection_context.setter def dbt_connection_context(self, dbt_connection_context: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_connection_context = dbt_connection_context @property @@ -422,7 +422,7 @@ def dbt_semantic_layer_proxy_url(self) -> Optional[str]: @dbt_semantic_layer_proxy_url.setter def dbt_semantic_layer_proxy_url(self, dbt_semantic_layer_proxy_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_semantic_layer_proxy_url = dbt_semantic_layer_proxy_url @property @@ -432,7 +432,7 @@ def inputs(self) -> Optional[list[Catalog]]: @inputs.setter def inputs(self, inputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.inputs = inputs @property @@ -442,7 +442,7 @@ def outputs(self) -> Optional[list[Catalog]]: @outputs.setter def outputs(self, outputs: Optional[list[Catalog]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.outputs = outputs @property @@ -452,7 +452,7 @@ def code(self) -> Optional[str]: @code.setter def code(self, code: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.code = code @property @@ -462,7 +462,7 @@ def sql(self) -> Optional[str]: @sql.setter def sql(self, sql: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql = sql @property @@ -472,7 +472,7 @@ def ast(self) -> Optional[str]: @ast.setter def ast(self, ast: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.ast = ast @property @@ -482,7 +482,7 @@ def process(self) -> Optional[Process]: @process.setter def process(self, process: Optional[Process]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.process = process @property @@ -492,7 +492,7 @@ def airflow_tasks(self) -> Optional[list[AirflowTask]]: @airflow_tasks.setter def airflow_tasks(self, airflow_tasks: Optional[list[AirflowTask]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.airflow_tasks = airflow_tasks @property @@ -502,7 +502,7 @@ def column_processes(self) -> Optional[list[ColumnProcess]]: @column_processes.setter def column_processes(self, column_processes: Optional[list[ColumnProcess]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.column_processes = column_processes class Attributes(Dbt.Attributes): @@ -569,7 +569,9 @@ class Attributes(Dbt.Attributes): ) # relationship attributes: "DbtColumnProcess.Attributes" = Field( - default_factory=lambda: DbtColumnProcess.Attributes(), + default_factory=lambda: DbtColumnProcess.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset31.py b/pyatlan/model/assets/asset31.py index 858ba0356..c374e891e 100644 --- a/pyatlan/model/assets/asset31.py +++ b/pyatlan/model/assets/asset31.py @@ -106,7 +106,7 @@ def s3_e_tag(self) -> Optional[str]: @s3_e_tag.setter def s3_e_tag(self, s3_e_tag: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_e_tag = s3_e_tag @property @@ -116,7 +116,7 @@ def s3_encryption(self) -> Optional[str]: @s3_encryption.setter def s3_encryption(self, s3_encryption: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_encryption = s3_encryption @property @@ -126,7 +126,7 @@ def aws_arn(self) -> Optional[str]: @aws_arn.setter def aws_arn(self, aws_arn: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_arn = aws_arn @property @@ -136,7 +136,7 @@ def aws_partition(self) -> Optional[str]: @aws_partition.setter def aws_partition(self, aws_partition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_partition = aws_partition @property @@ -146,7 +146,7 @@ def aws_service(self) -> Optional[str]: @aws_service.setter def aws_service(self, aws_service: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_service = aws_service @property @@ -156,7 +156,7 @@ def aws_region(self) -> Optional[str]: @aws_region.setter def aws_region(self, aws_region: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_region = aws_region @property @@ -166,7 +166,7 @@ def aws_account_id(self) -> Optional[str]: @aws_account_id.setter def aws_account_id(self, aws_account_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_account_id = aws_account_id @property @@ -176,7 +176,7 @@ def aws_resource_id(self) -> Optional[str]: @aws_resource_id.setter def aws_resource_id(self, aws_resource_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_resource_id = aws_resource_id @property @@ -186,7 +186,7 @@ def aws_owner_name(self) -> Optional[str]: @aws_owner_name.setter def aws_owner_name(self, aws_owner_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_owner_name = aws_owner_name @property @@ -196,7 +196,7 @@ def aws_owner_id(self) -> Optional[str]: @aws_owner_id.setter def aws_owner_id(self, aws_owner_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_owner_id = aws_owner_id @property @@ -206,7 +206,7 @@ def aws_tags(self) -> Optional[list[AwsTag]]: @aws_tags.setter def aws_tags(self, aws_tags: Optional[list[AwsTag]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.aws_tags = aws_tags class Attributes(ObjectStore.Attributes): @@ -229,7 +229,9 @@ class Attributes(ObjectStore.Attributes): aws_tags: Optional[list[AwsTag]] = Field(None, description="", alias="awsTags") attributes: "S3.Attributes" = Field( - default_factory=lambda: S3.Attributes(), + default_factory=lambda: S3.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset32.py b/pyatlan/model/assets/asset32.py index 89b907178..06b386aef 100644 --- a/pyatlan/model/assets/asset32.py +++ b/pyatlan/model/assets/asset32.py @@ -8,18 +8,13 @@ from pydantic import Field, validator -from pyatlan.model.fields.atlan_fields import ( - KeywordField, - KeywordTextField, - RelationField, -) +from pyatlan.model.fields.atlan_fields import KeywordField, KeywordTextField from pyatlan.model.structs import AzureTag -from .asset00 import AirflowTask, Process -from .asset28 import Azure +from .asset16 import ObjectStore -class ADLS(Azure): +class ADLS(ObjectStore): """Description""" type_name: str = Field("ADLS", allow_mutation=False) @@ -66,39 +61,12 @@ def __setattr__(self, name, value): TBC """ - INPUT_TO_PROCESSES: ClassVar[RelationField] = RelationField("inputToProcesses") - """ - TBC - """ - OUTPUT_FROM_AIRFLOW_TASKS: ClassVar[RelationField] = RelationField( - "outputFromAirflowTasks" - ) - """ - TBC - """ - INPUT_TO_AIRFLOW_TASKS: ClassVar[RelationField] = RelationField( - "inputToAirflowTasks" - ) - """ - TBC - """ - OUTPUT_FROM_PROCESSES: ClassVar[RelationField] = RelationField( - "outputFromProcesses" - ) - """ - TBC - """ - _convenience_properties: ClassVar[list[str]] = [ "adls_account_qualified_name", "azure_resource_id", "azure_location", "adls_account_secondary_location", "azure_tags", - "input_to_processes", - "output_from_airflow_tasks", - "input_to_airflow_tasks", - "output_from_processes", ] @property @@ -112,7 +80,7 @@ def adls_account_qualified_name(self) -> Optional[str]: @adls_account_qualified_name.setter def adls_account_qualified_name(self, adls_account_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_account_qualified_name = adls_account_qualified_name @property @@ -122,7 +90,7 @@ def azure_resource_id(self) -> Optional[str]: @azure_resource_id.setter def azure_resource_id(self, azure_resource_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.azure_resource_id = azure_resource_id @property @@ -132,7 +100,7 @@ def azure_location(self) -> Optional[str]: @azure_location.setter def azure_location(self, azure_location: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.azure_location = azure_location @property @@ -148,7 +116,7 @@ def adls_account_secondary_location( self, adls_account_secondary_location: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_account_secondary_location = ( adls_account_secondary_location ) @@ -160,62 +128,10 @@ def azure_tags(self) -> Optional[list[AzureTag]]: @azure_tags.setter def azure_tags(self, azure_tags: Optional[list[AzureTag]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.azure_tags = azure_tags - @property - def input_to_processes(self) -> Optional[list[Process]]: - return None if self.attributes is None else self.attributes.input_to_processes - - @input_to_processes.setter - def input_to_processes(self, input_to_processes: Optional[list[Process]]): - if self.attributes is None: - self.attributes = self.Attributes() - self.attributes.input_to_processes = input_to_processes - - @property - def output_from_airflow_tasks(self) -> Optional[list[AirflowTask]]: - return ( - None - if self.attributes is None - else self.attributes.output_from_airflow_tasks - ) - - @output_from_airflow_tasks.setter - def output_from_airflow_tasks( - self, output_from_airflow_tasks: Optional[list[AirflowTask]] - ): - if self.attributes is None: - self.attributes = self.Attributes() - self.attributes.output_from_airflow_tasks = output_from_airflow_tasks - - @property - def input_to_airflow_tasks(self) -> Optional[list[AirflowTask]]: - return ( - None if self.attributes is None else self.attributes.input_to_airflow_tasks - ) - - @input_to_airflow_tasks.setter - def input_to_airflow_tasks( - self, input_to_airflow_tasks: Optional[list[AirflowTask]] - ): - if self.attributes is None: - self.attributes = self.Attributes() - self.attributes.input_to_airflow_tasks = input_to_airflow_tasks - - @property - def output_from_processes(self) -> Optional[list[Process]]: - return ( - None if self.attributes is None else self.attributes.output_from_processes - ) - - @output_from_processes.setter - def output_from_processes(self, output_from_processes: Optional[list[Process]]): - if self.attributes is None: - self.attributes = self.Attributes() - self.attributes.output_from_processes = output_from_processes - - class Attributes(Azure.Attributes): + class Attributes(ObjectStore.Attributes): adls_account_qualified_name: Optional[str] = Field( None, description="", alias="adlsAccountQualifiedName" ) @@ -231,21 +147,11 @@ class Attributes(Azure.Attributes): azure_tags: Optional[list[AzureTag]] = Field( None, description="", alias="azureTags" ) - input_to_processes: Optional[list[Process]] = Field( - None, description="", alias="inputToProcesses" - ) # relationship - output_from_airflow_tasks: Optional[list[AirflowTask]] = Field( - None, description="", alias="outputFromAirflowTasks" - ) # relationship - input_to_airflow_tasks: Optional[list[AirflowTask]] = Field( - None, description="", alias="inputToAirflowTasks" - ) # relationship - output_from_processes: Optional[list[Process]] = Field( - None, description="", alias="outputFromProcesses" - ) # relationship attributes: "ADLS.Attributes" = Field( - default_factory=lambda: ADLS.Attributes(), + default_factory=lambda: ADLS.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset33.py b/pyatlan/model/assets/asset33.py index a5312fa3f..880d76e05 100644 --- a/pyatlan/model/assets/asset33.py +++ b/pyatlan/model/assets/asset33.py @@ -167,7 +167,7 @@ def gcs_storage_class(self) -> Optional[str]: @gcs_storage_class.setter def gcs_storage_class(self, gcs_storage_class: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_storage_class = gcs_storage_class @property @@ -177,7 +177,7 @@ def gcs_encryption_type(self) -> Optional[str]: @gcs_encryption_type.setter def gcs_encryption_type(self, gcs_encryption_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_encryption_type = gcs_encryption_type @property @@ -187,7 +187,7 @@ def gcs_e_tag(self) -> Optional[str]: @gcs_e_tag.setter def gcs_e_tag(self, gcs_e_tag: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_e_tag = gcs_e_tag @property @@ -197,7 +197,7 @@ def gcs_requester_pays(self) -> Optional[bool]: @gcs_requester_pays.setter def gcs_requester_pays(self, gcs_requester_pays: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_requester_pays = gcs_requester_pays @property @@ -207,7 +207,7 @@ def gcs_access_control(self) -> Optional[str]: @gcs_access_control.setter def gcs_access_control(self, gcs_access_control: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_access_control = gcs_access_control @property @@ -219,7 +219,7 @@ def gcs_meta_generation_id(self) -> Optional[int]: @gcs_meta_generation_id.setter def gcs_meta_generation_id(self, gcs_meta_generation_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_meta_generation_id = gcs_meta_generation_id @property @@ -229,7 +229,7 @@ def google_service(self) -> Optional[str]: @google_service.setter def google_service(self, google_service: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_service = google_service @property @@ -239,7 +239,7 @@ def google_project_name(self) -> Optional[str]: @google_project_name.setter def google_project_name(self, google_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_name = google_project_name @property @@ -249,7 +249,7 @@ def google_project_id(self) -> Optional[str]: @google_project_id.setter def google_project_id(self, google_project_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_id = google_project_id @property @@ -261,7 +261,7 @@ def google_project_number(self) -> Optional[int]: @google_project_number.setter def google_project_number(self, google_project_number: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_number = google_project_number @property @@ -271,7 +271,7 @@ def google_location(self) -> Optional[str]: @google_location.setter def google_location(self, google_location: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_location = google_location @property @@ -281,7 +281,7 @@ def google_location_type(self) -> Optional[str]: @google_location_type.setter def google_location_type(self, google_location_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_location_type = google_location_type @property @@ -291,7 +291,7 @@ def google_labels(self) -> Optional[list[GoogleLabel]]: @google_labels.setter def google_labels(self, google_labels: Optional[list[GoogleLabel]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_labels = google_labels @property @@ -301,7 +301,7 @@ def google_tags(self) -> Optional[list[GoogleTag]]: @google_tags.setter def google_tags(self, google_tags: Optional[list[GoogleTag]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_tags = google_tags @property @@ -311,7 +311,7 @@ def input_to_processes(self) -> Optional[list[Process]]: @input_to_processes.setter def input_to_processes(self, input_to_processes: Optional[list[Process]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.input_to_processes = input_to_processes @property @@ -327,7 +327,7 @@ def output_from_airflow_tasks( self, output_from_airflow_tasks: Optional[list[AirflowTask]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.output_from_airflow_tasks = output_from_airflow_tasks @property @@ -341,7 +341,7 @@ def input_to_airflow_tasks( self, input_to_airflow_tasks: Optional[list[AirflowTask]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.input_to_airflow_tasks = input_to_airflow_tasks @property @@ -353,7 +353,7 @@ def output_from_processes(self) -> Optional[list[Process]]: @output_from_processes.setter def output_from_processes(self, output_from_processes: Optional[list[Process]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.output_from_processes = output_from_processes class Attributes(Google.Attributes): @@ -411,7 +411,9 @@ class Attributes(Google.Attributes): ) # relationship attributes: "GCS.Attributes" = Field( - default_factory=lambda: GCS.Attributes(), + default_factory=lambda: GCS.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset36.py b/pyatlan/model/assets/asset36.py index abf3b8803..566b541fd 100644 --- a/pyatlan/model/assets/asset36.py +++ b/pyatlan/model/assets/asset36.py @@ -72,7 +72,7 @@ def preset_workspace_id(self) -> Optional[int]: @preset_workspace_id.setter def preset_workspace_id(self, preset_workspace_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace_id = preset_workspace_id @property @@ -88,7 +88,7 @@ def preset_workspace_qualified_name( self, preset_workspace_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace_qualified_name = ( preset_workspace_qualified_name ) @@ -100,7 +100,7 @@ def preset_dashboard_id(self) -> Optional[int]: @preset_dashboard_id.setter def preset_dashboard_id(self, preset_dashboard_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dashboard_id = preset_dashboard_id @property @@ -116,7 +116,7 @@ def preset_dashboard_qualified_name( self, preset_dashboard_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dashboard_qualified_name = ( preset_dashboard_qualified_name ) @@ -136,7 +136,9 @@ class Attributes(BI.Attributes): ) attributes: "Preset.Attributes" = Field( - default_factory=lambda: Preset.Attributes(), + default_factory=lambda: Preset.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset37.py b/pyatlan/model/assets/asset37.py index e821b5d8a..413eae9e1 100644 --- a/pyatlan/model/assets/asset37.py +++ b/pyatlan/model/assets/asset37.py @@ -107,7 +107,7 @@ def mode_id(self) -> Optional[str]: @mode_id.setter def mode_id(self, mode_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_id = mode_id @property @@ -117,7 +117,7 @@ def mode_token(self) -> Optional[str]: @mode_token.setter def mode_token(self, mode_token: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_token = mode_token @property @@ -127,7 +127,7 @@ def mode_workspace_name(self) -> Optional[str]: @mode_workspace_name.setter def mode_workspace_name(self, mode_workspace_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_workspace_name = mode_workspace_name @property @@ -139,7 +139,7 @@ def mode_workspace_username(self) -> Optional[str]: @mode_workspace_username.setter def mode_workspace_username(self, mode_workspace_username: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_workspace_username = mode_workspace_username @property @@ -155,7 +155,7 @@ def mode_workspace_qualified_name( self, mode_workspace_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_workspace_qualified_name = mode_workspace_qualified_name @property @@ -165,7 +165,7 @@ def mode_report_name(self) -> Optional[str]: @mode_report_name.setter def mode_report_name(self, mode_report_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_report_name = mode_report_name @property @@ -179,7 +179,7 @@ def mode_report_qualified_name(self) -> Optional[str]: @mode_report_qualified_name.setter def mode_report_qualified_name(self, mode_report_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_report_qualified_name = mode_report_qualified_name @property @@ -189,7 +189,7 @@ def mode_query_name(self) -> Optional[str]: @mode_query_name.setter def mode_query_name(self, mode_query_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_query_name = mode_query_name @property @@ -203,7 +203,7 @@ def mode_query_qualified_name(self) -> Optional[str]: @mode_query_qualified_name.setter def mode_query_qualified_name(self, mode_query_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_query_qualified_name = mode_query_qualified_name class Attributes(BI.Attributes): @@ -232,7 +232,9 @@ class Attributes(BI.Attributes): ) attributes: "Mode.Attributes" = Field( - default_factory=lambda: Mode.Attributes(), + default_factory=lambda: Mode.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset38.py b/pyatlan/model/assets/asset38.py index 33a26abbe..57cc792f6 100644 --- a/pyatlan/model/assets/asset38.py +++ b/pyatlan/model/assets/asset38.py @@ -94,7 +94,7 @@ def sigma_workbook_qualified_name( self, sigma_workbook_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_workbook_qualified_name = sigma_workbook_qualified_name @property @@ -104,7 +104,7 @@ def sigma_workbook_name(self) -> Optional[str]: @sigma_workbook_name.setter def sigma_workbook_name(self, sigma_workbook_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_workbook_name = sigma_workbook_name @property @@ -118,7 +118,7 @@ def sigma_page_qualified_name(self) -> Optional[str]: @sigma_page_qualified_name.setter def sigma_page_qualified_name(self, sigma_page_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_page_qualified_name = sigma_page_qualified_name @property @@ -128,7 +128,7 @@ def sigma_page_name(self) -> Optional[str]: @sigma_page_name.setter def sigma_page_name(self, sigma_page_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_page_name = sigma_page_name @property @@ -144,7 +144,7 @@ def sigma_data_element_qualified_name( self, sigma_data_element_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_data_element_qualified_name = ( sigma_data_element_qualified_name ) @@ -158,7 +158,7 @@ def sigma_data_element_name(self) -> Optional[str]: @sigma_data_element_name.setter def sigma_data_element_name(self, sigma_data_element_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_data_element_name = sigma_data_element_name class Attributes(BI.Attributes): @@ -182,7 +182,9 @@ class Attributes(BI.Attributes): ) attributes: "Sigma.Attributes" = Field( - default_factory=lambda: Sigma.Attributes(), + default_factory=lambda: Sigma.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset41.py b/pyatlan/model/assets/asset41.py index 85a1bf46c..db364b2aa 100644 --- a/pyatlan/model/assets/asset41.py +++ b/pyatlan/model/assets/asset41.py @@ -47,7 +47,7 @@ def redash_is_published(self) -> Optional[bool]: @redash_is_published.setter def redash_is_published(self, redash_is_published: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_is_published = redash_is_published class Attributes(BI.Attributes): @@ -56,7 +56,9 @@ class Attributes(BI.Attributes): ) attributes: "Redash.Attributes" = Field( - default_factory=lambda: Redash.Attributes(), + default_factory=lambda: Redash.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset42.py b/pyatlan/model/assets/asset42.py index 20c1cd456..a1d34d9a0 100644 --- a/pyatlan/model/assets/asset42.py +++ b/pyatlan/model/assets/asset42.py @@ -126,7 +126,7 @@ def google_service(self) -> Optional[str]: @google_service.setter def google_service(self, google_service: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_service = google_service @property @@ -136,7 +136,7 @@ def google_project_name(self) -> Optional[str]: @google_project_name.setter def google_project_name(self, google_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_name = google_project_name @property @@ -146,7 +146,7 @@ def google_project_id(self) -> Optional[str]: @google_project_id.setter def google_project_id(self, google_project_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_id = google_project_id @property @@ -158,7 +158,7 @@ def google_project_number(self) -> Optional[int]: @google_project_number.setter def google_project_number(self, google_project_number: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_number = google_project_number @property @@ -168,7 +168,7 @@ def google_location(self) -> Optional[str]: @google_location.setter def google_location(self, google_location: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_location = google_location @property @@ -178,7 +178,7 @@ def google_location_type(self) -> Optional[str]: @google_location_type.setter def google_location_type(self, google_location_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_location_type = google_location_type @property @@ -188,7 +188,7 @@ def google_labels(self) -> Optional[list[GoogleLabel]]: @google_labels.setter def google_labels(self, google_labels: Optional[list[GoogleLabel]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_labels = google_labels @property @@ -198,7 +198,7 @@ def google_tags(self) -> Optional[list[GoogleTag]]: @google_tags.setter def google_tags(self, google_tags: Optional[list[GoogleTag]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_tags = google_tags @property @@ -208,7 +208,7 @@ def input_to_processes(self) -> Optional[list[Process]]: @input_to_processes.setter def input_to_processes(self, input_to_processes: Optional[list[Process]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.input_to_processes = input_to_processes @property @@ -224,7 +224,7 @@ def output_from_airflow_tasks( self, output_from_airflow_tasks: Optional[list[AirflowTask]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.output_from_airflow_tasks = output_from_airflow_tasks @property @@ -238,7 +238,7 @@ def input_to_airflow_tasks( self, input_to_airflow_tasks: Optional[list[AirflowTask]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.input_to_airflow_tasks = input_to_airflow_tasks @property @@ -250,7 +250,7 @@ def output_from_processes(self) -> Optional[list[Process]]: @output_from_processes.setter def output_from_processes(self, output_from_processes: Optional[list[Process]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.output_from_processes = output_from_processes class Attributes(Google.Attributes): @@ -292,7 +292,9 @@ class Attributes(Google.Attributes): ) # relationship attributes: "DataStudio.Attributes" = Field( - default_factory=lambda: DataStudio.Attributes(), + default_factory=lambda: DataStudio.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset43.py b/pyatlan/model/assets/asset43.py index 37b3beaad..0f5f07329 100644 --- a/pyatlan/model/assets/asset43.py +++ b/pyatlan/model/assets/asset43.py @@ -62,7 +62,7 @@ def metabase_collection_name(self) -> Optional[str]: @metabase_collection_name.setter def metabase_collection_name(self, metabase_collection_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_collection_name = metabase_collection_name @property @@ -78,7 +78,7 @@ def metabase_collection_qualified_name( self, metabase_collection_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_collection_qualified_name = ( metabase_collection_qualified_name ) @@ -92,7 +92,9 @@ class Attributes(BI.Attributes): ) attributes: "Metabase.Attributes" = Field( - default_factory=lambda: Metabase.Attributes(), + default_factory=lambda: Metabase.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset44.py b/pyatlan/model/assets/asset44.py index 20a9a7f14..b904df588 100644 --- a/pyatlan/model/assets/asset44.py +++ b/pyatlan/model/assets/asset44.py @@ -61,7 +61,7 @@ def quick_sight_id(self) -> Optional[str]: @quick_sight_id.setter def quick_sight_id(self, quick_sight_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_id = quick_sight_id @property @@ -71,7 +71,7 @@ def quick_sight_sheet_id(self) -> Optional[str]: @quick_sight_sheet_id.setter def quick_sight_sheet_id(self, quick_sight_sheet_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_sheet_id = quick_sight_sheet_id @property @@ -83,7 +83,7 @@ def quick_sight_sheet_name(self) -> Optional[str]: @quick_sight_sheet_name.setter def quick_sight_sheet_name(self, quick_sight_sheet_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_sheet_name = quick_sight_sheet_name class Attributes(BI.Attributes): @@ -98,7 +98,9 @@ class Attributes(BI.Attributes): ) attributes: "QuickSight.Attributes" = Field( - default_factory=lambda: QuickSight.Attributes(), + default_factory=lambda: QuickSight.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset45.py b/pyatlan/model/assets/asset45.py index feefa5409..709af0e91 100644 --- a/pyatlan/model/assets/asset45.py +++ b/pyatlan/model/assets/asset45.py @@ -56,7 +56,7 @@ def thoughtspot_chart_type(self) -> Optional[str]: @thoughtspot_chart_type.setter def thoughtspot_chart_type(self, thoughtspot_chart_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.thoughtspot_chart_type = thoughtspot_chart_type @property @@ -70,7 +70,7 @@ def thoughtspot_question_text(self) -> Optional[str]: @thoughtspot_question_text.setter def thoughtspot_question_text(self, thoughtspot_question_text: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.thoughtspot_question_text = thoughtspot_question_text class Attributes(BI.Attributes): @@ -82,7 +82,9 @@ class Attributes(BI.Attributes): ) attributes: "Thoughtspot.Attributes" = Field( - default_factory=lambda: Thoughtspot.Attributes(), + default_factory=lambda: Thoughtspot.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset46.py b/pyatlan/model/assets/asset46.py index e9c940b78..15a6e748d 100644 --- a/pyatlan/model/assets/asset46.py +++ b/pyatlan/model/assets/asset46.py @@ -75,7 +75,7 @@ def power_b_i_is_hidden(self) -> Optional[bool]: @power_b_i_is_hidden.setter def power_b_i_is_hidden(self, power_b_i_is_hidden: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_is_hidden = power_b_i_is_hidden @property @@ -91,7 +91,7 @@ def power_b_i_table_qualified_name( self, power_b_i_table_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_table_qualified_name = power_b_i_table_qualified_name @property @@ -103,7 +103,7 @@ def power_b_i_format_string(self) -> Optional[str]: @power_b_i_format_string.setter def power_b_i_format_string(self, power_b_i_format_string: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_format_string = power_b_i_format_string @property @@ -117,7 +117,7 @@ def power_b_i_endorsement( self, power_b_i_endorsement: Optional[PowerbiEndorsement] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_endorsement = power_b_i_endorsement class Attributes(BI.Attributes): @@ -135,7 +135,9 @@ class Attributes(BI.Attributes): ) attributes: "PowerBI.Attributes" = Field( - default_factory=lambda: PowerBI.Attributes(), + default_factory=lambda: PowerBI.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset47.py b/pyatlan/model/assets/asset47.py index 9992bd0fe..517bb6730 100644 --- a/pyatlan/model/assets/asset47.py +++ b/pyatlan/model/assets/asset47.py @@ -138,7 +138,7 @@ def micro_strategy_project_qualified_name( self, micro_strategy_project_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_project_qualified_name = ( micro_strategy_project_qualified_name ) @@ -154,7 +154,7 @@ def micro_strategy_project_name(self) -> Optional[str]: @micro_strategy_project_name.setter def micro_strategy_project_name(self, micro_strategy_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_project_name = micro_strategy_project_name @property @@ -170,7 +170,7 @@ def micro_strategy_cube_qualified_names( self, micro_strategy_cube_qualified_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_cube_qualified_names = ( micro_strategy_cube_qualified_names ) @@ -186,7 +186,7 @@ def micro_strategy_cube_names(self) -> Optional[set[str]]: @micro_strategy_cube_names.setter def micro_strategy_cube_names(self, micro_strategy_cube_names: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_cube_names = micro_strategy_cube_names @property @@ -202,7 +202,7 @@ def micro_strategy_report_qualified_names( self, micro_strategy_report_qualified_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_report_qualified_names = ( micro_strategy_report_qualified_names ) @@ -220,7 +220,7 @@ def micro_strategy_report_names( self, micro_strategy_report_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_report_names = micro_strategy_report_names @property @@ -234,7 +234,7 @@ def micro_strategy_is_certified(self) -> Optional[bool]: @micro_strategy_is_certified.setter def micro_strategy_is_certified(self, micro_strategy_is_certified: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_is_certified = micro_strategy_is_certified @property @@ -248,7 +248,7 @@ def micro_strategy_certified_by(self) -> Optional[str]: @micro_strategy_certified_by.setter def micro_strategy_certified_by(self, micro_strategy_certified_by: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_certified_by = micro_strategy_certified_by @property @@ -264,7 +264,7 @@ def micro_strategy_certified_at( self, micro_strategy_certified_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_certified_at = micro_strategy_certified_at @property @@ -278,7 +278,7 @@ def micro_strategy_location( self, micro_strategy_location: Optional[list[dict[str, str]]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_location = micro_strategy_location class Attributes(BI.Attributes): @@ -314,7 +314,9 @@ class Attributes(BI.Attributes): ) attributes: "MicroStrategy.Attributes" = Field( - default_factory=lambda: MicroStrategy.Attributes(), + default_factory=lambda: MicroStrategy.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset48.py b/pyatlan/model/assets/asset48.py index c77609ac6..5fe3d7d79 100644 --- a/pyatlan/model/assets/asset48.py +++ b/pyatlan/model/assets/asset48.py @@ -94,7 +94,7 @@ def qlik_id(self) -> Optional[str]: @qlik_id.setter def qlik_id(self, qlik_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_id = qlik_id @property @@ -104,7 +104,7 @@ def qlik_q_r_i(self) -> Optional[str]: @qlik_q_r_i.setter def qlik_q_r_i(self, qlik_q_r_i: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_q_r_i = qlik_q_r_i @property @@ -114,7 +114,7 @@ def qlik_space_id(self) -> Optional[str]: @qlik_space_id.setter def qlik_space_id(self, qlik_space_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_space_id = qlik_space_id @property @@ -128,7 +128,7 @@ def qlik_space_qualified_name(self) -> Optional[str]: @qlik_space_qualified_name.setter def qlik_space_qualified_name(self, qlik_space_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_space_qualified_name = qlik_space_qualified_name @property @@ -138,7 +138,7 @@ def qlik_app_id(self) -> Optional[str]: @qlik_app_id.setter def qlik_app_id(self, qlik_app_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_app_id = qlik_app_id @property @@ -150,7 +150,7 @@ def qlik_app_qualified_name(self) -> Optional[str]: @qlik_app_qualified_name.setter def qlik_app_qualified_name(self, qlik_app_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_app_qualified_name = qlik_app_qualified_name @property @@ -160,7 +160,7 @@ def qlik_owner_id(self) -> Optional[str]: @qlik_owner_id.setter def qlik_owner_id(self, qlik_owner_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_owner_id = qlik_owner_id @property @@ -170,7 +170,7 @@ def qlik_is_published(self) -> Optional[bool]: @qlik_is_published.setter def qlik_is_published(self, qlik_is_published: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_is_published = qlik_is_published class Attributes(BI.Attributes): @@ -190,7 +190,9 @@ class Attributes(BI.Attributes): ) attributes: "Qlik.Attributes" = Field( - default_factory=lambda: Qlik.Attributes(), + default_factory=lambda: Qlik.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset49.py b/pyatlan/model/assets/asset49.py index a48a1d8a8..a985f3d5b 100644 --- a/pyatlan/model/assets/asset49.py +++ b/pyatlan/model/assets/asset49.py @@ -58,7 +58,7 @@ def organization_qualified_name(self) -> Optional[str]: @organization_qualified_name.setter def organization_qualified_name(self, organization_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.organization_qualified_name = organization_qualified_name @property @@ -68,7 +68,7 @@ def api_name(self) -> Optional[str]: @api_name.setter def api_name(self, api_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_name = api_name class Attributes(SaaS.Attributes): @@ -78,7 +78,9 @@ class Attributes(SaaS.Attributes): api_name: Optional[str] = Field(None, description="", alias="apiName") attributes: "Salesforce.Attributes" = Field( - default_factory=lambda: Salesforce.Attributes(), + default_factory=lambda: Salesforce.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset50.py b/pyatlan/model/assets/asset50.py index 1595713ce..e45db4e22 100644 --- a/pyatlan/model/assets/asset50.py +++ b/pyatlan/model/assets/asset50.py @@ -51,7 +51,7 @@ def icon(self) -> Optional[str]: @icon.setter def icon(self, icon: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.icon = icon @property @@ -61,7 +61,7 @@ def icon_type(self) -> Optional[IconType]: @icon_type.setter def icon_type(self, icon_type: Optional[IconType]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.icon_type = icon_type class Attributes(Resource.Attributes): @@ -69,7 +69,9 @@ class Attributes(Resource.Attributes): icon_type: Optional[IconType] = Field(None, description="", alias="iconType") attributes: "ReadmeTemplate.Attributes" = Field( - default_factory=lambda: ReadmeTemplate.Attributes(), + default_factory=lambda: ReadmeTemplate.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset52.py b/pyatlan/model/assets/asset52.py index e9d3b6a83..12739ad67 100644 --- a/pyatlan/model/assets/asset52.py +++ b/pyatlan/model/assets/asset52.py @@ -200,7 +200,7 @@ def dbt_alias(self) -> Optional[str]: @dbt_alias.setter def dbt_alias(self, dbt_alias: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_alias = dbt_alias @property @@ -210,7 +210,7 @@ def dbt_meta(self) -> Optional[str]: @dbt_meta.setter def dbt_meta(self, dbt_meta: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_meta = dbt_meta @property @@ -220,7 +220,7 @@ def dbt_unique_id(self) -> Optional[str]: @dbt_unique_id.setter def dbt_unique_id(self, dbt_unique_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_unique_id = dbt_unique_id @property @@ -230,7 +230,7 @@ def dbt_account_name(self) -> Optional[str]: @dbt_account_name.setter def dbt_account_name(self, dbt_account_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_account_name = dbt_account_name @property @@ -240,7 +240,7 @@ def dbt_project_name(self) -> Optional[str]: @dbt_project_name.setter def dbt_project_name(self, dbt_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_project_name = dbt_project_name @property @@ -250,7 +250,7 @@ def dbt_package_name(self) -> Optional[str]: @dbt_package_name.setter def dbt_package_name(self, dbt_package_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_package_name = dbt_package_name @property @@ -260,7 +260,7 @@ def dbt_job_name(self) -> Optional[str]: @dbt_job_name.setter def dbt_job_name(self, dbt_job_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_name = dbt_job_name @property @@ -270,7 +270,7 @@ def dbt_job_schedule(self) -> Optional[str]: @dbt_job_schedule.setter def dbt_job_schedule(self, dbt_job_schedule: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_schedule = dbt_job_schedule @property @@ -280,7 +280,7 @@ def dbt_job_status(self) -> Optional[str]: @dbt_job_status.setter def dbt_job_status(self, dbt_job_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_status = dbt_job_status @property @@ -296,7 +296,7 @@ def dbt_job_schedule_cron_humanized( self, dbt_job_schedule_cron_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_schedule_cron_humanized = ( dbt_job_schedule_cron_humanized ) @@ -308,7 +308,7 @@ def dbt_job_last_run(self) -> Optional[datetime]: @dbt_job_last_run.setter def dbt_job_last_run(self, dbt_job_last_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_last_run = dbt_job_last_run @property @@ -318,7 +318,7 @@ def dbt_job_next_run(self) -> Optional[datetime]: @dbt_job_next_run.setter def dbt_job_next_run(self, dbt_job_next_run: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_next_run = dbt_job_next_run @property @@ -332,7 +332,7 @@ def dbt_job_next_run_humanized(self) -> Optional[str]: @dbt_job_next_run_humanized.setter def dbt_job_next_run_humanized(self, dbt_job_next_run_humanized: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_job_next_run_humanized = dbt_job_next_run_humanized @property @@ -342,7 +342,7 @@ def dbt_environment_name(self) -> Optional[str]: @dbt_environment_name.setter def dbt_environment_name(self, dbt_environment_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_environment_name = dbt_environment_name @property @@ -356,7 +356,7 @@ def dbt_environment_dbt_version(self) -> Optional[str]: @dbt_environment_dbt_version.setter def dbt_environment_dbt_version(self, dbt_environment_dbt_version: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_environment_dbt_version = dbt_environment_dbt_version @property @@ -366,7 +366,7 @@ def dbt_tags(self) -> Optional[set[str]]: @dbt_tags.setter def dbt_tags(self, dbt_tags: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_tags = dbt_tags @property @@ -378,7 +378,7 @@ def dbt_connection_context(self) -> Optional[str]: @dbt_connection_context.setter def dbt_connection_context(self, dbt_connection_context: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_connection_context = dbt_connection_context @property @@ -392,7 +392,7 @@ def dbt_semantic_layer_proxy_url(self) -> Optional[str]: @dbt_semantic_layer_proxy_url.setter def dbt_semantic_layer_proxy_url(self, dbt_semantic_layer_proxy_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dbt_semantic_layer_proxy_url = dbt_semantic_layer_proxy_url @property @@ -402,7 +402,7 @@ def tag_id(self) -> Optional[str]: @tag_id.setter def tag_id(self, tag_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tag_id = tag_id @property @@ -412,7 +412,7 @@ def tag_attributes(self) -> Optional[list[SourceTagAttribute]]: @tag_attributes.setter def tag_attributes(self, tag_attributes: Optional[list[SourceTagAttribute]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tag_attributes = tag_attributes @property @@ -422,7 +422,7 @@ def tag_allowed_values(self) -> Optional[set[str]]: @tag_allowed_values.setter def tag_allowed_values(self, tag_allowed_values: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tag_allowed_values = tag_allowed_values @property @@ -434,7 +434,7 @@ def mapped_atlan_tag_name(self) -> Optional[str]: @mapped_atlan_tag_name.setter def mapped_atlan_tag_name(self, mapped_atlan_tag_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mapped_atlan_tag_name = mapped_atlan_tag_name class Attributes(Dbt.Attributes): @@ -494,7 +494,9 @@ class Attributes(Dbt.Attributes): ) attributes: "DbtTag.Attributes" = Field( - default_factory=lambda: DbtTag.Attributes(), + default_factory=lambda: DbtTag.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset53.py b/pyatlan/model/assets/asset53.py index 8efd2fa3b..560b743b9 100644 --- a/pyatlan/model/assets/asset53.py +++ b/pyatlan/model/assets/asset53.py @@ -116,7 +116,7 @@ def api_spec_terms_of_service_url( self, api_spec_terms_of_service_url: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_terms_of_service_url = api_spec_terms_of_service_url @property @@ -128,7 +128,7 @@ def api_spec_contact_email(self) -> Optional[str]: @api_spec_contact_email.setter def api_spec_contact_email(self, api_spec_contact_email: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_contact_email = api_spec_contact_email @property @@ -140,7 +140,7 @@ def api_spec_contact_name(self) -> Optional[str]: @api_spec_contact_name.setter def api_spec_contact_name(self, api_spec_contact_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_contact_name = api_spec_contact_name @property @@ -150,7 +150,7 @@ def api_spec_contact_url(self) -> Optional[str]: @api_spec_contact_url.setter def api_spec_contact_url(self, api_spec_contact_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_contact_url = api_spec_contact_url @property @@ -162,7 +162,7 @@ def api_spec_license_name(self) -> Optional[str]: @api_spec_license_name.setter def api_spec_license_name(self, api_spec_license_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_license_name = api_spec_license_name @property @@ -172,7 +172,7 @@ def api_spec_license_url(self) -> Optional[str]: @api_spec_license_url.setter def api_spec_license_url(self, api_spec_license_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_license_url = api_spec_license_url @property @@ -186,7 +186,7 @@ def api_spec_contract_version(self) -> Optional[str]: @api_spec_contract_version.setter def api_spec_contract_version(self, api_spec_contract_version: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_contract_version = api_spec_contract_version @property @@ -198,7 +198,7 @@ def api_spec_service_alias(self) -> Optional[str]: @api_spec_service_alias.setter def api_spec_service_alias(self, api_spec_service_alias: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec_service_alias = api_spec_service_alias @property @@ -208,7 +208,7 @@ def api_paths(self) -> Optional[list[APIPath]]: @api_paths.setter def api_paths(self, api_paths: Optional[list[APIPath]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_paths = api_paths class Attributes(API.Attributes): @@ -241,7 +241,9 @@ class Attributes(API.Attributes): ) # relationship attributes: "APISpec.Attributes" = Field( - default_factory=lambda: APISpec.Attributes(), + default_factory=lambda: APISpec.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -322,7 +324,7 @@ def api_path_summary(self) -> Optional[str]: @api_path_summary.setter def api_path_summary(self, api_path_summary: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_path_summary = api_path_summary @property @@ -332,7 +334,7 @@ def api_path_raw_u_r_i(self) -> Optional[str]: @api_path_raw_u_r_i.setter def api_path_raw_u_r_i(self, api_path_raw_u_r_i: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_path_raw_u_r_i = api_path_raw_u_r_i @property @@ -344,7 +346,7 @@ def api_path_is_templated(self) -> Optional[bool]: @api_path_is_templated.setter def api_path_is_templated(self, api_path_is_templated: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_path_is_templated = api_path_is_templated @property @@ -360,7 +362,7 @@ def api_path_available_operations( self, api_path_available_operations: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_path_available_operations = api_path_available_operations @property @@ -376,7 +378,7 @@ def api_path_available_response_codes( self, api_path_available_response_codes: Optional[dict[str, str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_path_available_response_codes = ( api_path_available_response_codes ) @@ -392,7 +394,7 @@ def api_path_is_ingress_exposed(self) -> Optional[bool]: @api_path_is_ingress_exposed.setter def api_path_is_ingress_exposed(self, api_path_is_ingress_exposed: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_path_is_ingress_exposed = api_path_is_ingress_exposed @property @@ -402,7 +404,7 @@ def api_spec(self) -> Optional[APISpec]: @api_spec.setter def api_spec(self, api_spec: Optional[APISpec]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.api_spec = api_spec class Attributes(API.Attributes): @@ -429,7 +431,9 @@ class Attributes(API.Attributes): ) # relationship attributes: "APIPath.Attributes" = Field( - default_factory=lambda: APIPath.Attributes(), + default_factory=lambda: APIPath.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset54.py b/pyatlan/model/assets/asset54.py index 2710004fa..33e5f0fb7 100644 --- a/pyatlan/model/assets/asset54.py +++ b/pyatlan/model/assets/asset54.py @@ -137,7 +137,7 @@ def data_studio_asset_type( self, data_studio_asset_type: Optional[GoogleDatastudioAssetType] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.data_studio_asset_type = data_studio_asset_type @property @@ -149,7 +149,7 @@ def data_studio_asset_title(self) -> Optional[str]: @data_studio_asset_title.setter def data_studio_asset_title(self, data_studio_asset_title: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.data_studio_asset_title = data_studio_asset_title @property @@ -161,7 +161,7 @@ def data_studio_asset_owner(self) -> Optional[str]: @data_studio_asset_owner.setter def data_studio_asset_owner(self, data_studio_asset_owner: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.data_studio_asset_owner = data_studio_asset_owner @property @@ -177,7 +177,7 @@ def is_trashed_data_studio_asset( self, is_trashed_data_studio_asset: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_trashed_data_studio_asset = is_trashed_data_studio_asset @property @@ -187,7 +187,7 @@ def google_service(self) -> Optional[str]: @google_service.setter def google_service(self, google_service: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_service = google_service @property @@ -197,7 +197,7 @@ def google_project_name(self) -> Optional[str]: @google_project_name.setter def google_project_name(self, google_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_name = google_project_name @property @@ -207,7 +207,7 @@ def google_project_id(self) -> Optional[str]: @google_project_id.setter def google_project_id(self, google_project_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_id = google_project_id @property @@ -219,7 +219,7 @@ def google_project_number(self) -> Optional[int]: @google_project_number.setter def google_project_number(self, google_project_number: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_project_number = google_project_number @property @@ -229,7 +229,7 @@ def google_location(self) -> Optional[str]: @google_location.setter def google_location(self, google_location: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_location = google_location @property @@ -239,7 +239,7 @@ def google_location_type(self) -> Optional[str]: @google_location_type.setter def google_location_type(self, google_location_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_location_type = google_location_type @property @@ -249,7 +249,7 @@ def google_labels(self) -> Optional[list[GoogleLabel]]: @google_labels.setter def google_labels(self, google_labels: Optional[list[GoogleLabel]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_labels = google_labels @property @@ -259,7 +259,7 @@ def google_tags(self) -> Optional[list[GoogleTag]]: @google_tags.setter def google_tags(self, google_tags: Optional[list[GoogleTag]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.google_tags = google_tags class Attributes(DataStudio.Attributes): @@ -301,7 +301,9 @@ class Attributes(DataStudio.Attributes): ) attributes: "DataStudioAsset.Attributes" = Field( - default_factory=lambda: DataStudioAsset.Attributes(), + default_factory=lambda: DataStudioAsset.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset55.py b/pyatlan/model/assets/asset55.py index 444891cb6..1fa2673ee 100644 --- a/pyatlan/model/assets/asset55.py +++ b/pyatlan/model/assets/asset55.py @@ -85,7 +85,7 @@ def s3_object_count(self) -> Optional[int]: @s3_object_count.setter def s3_object_count(self, s3_object_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_object_count = s3_object_count @property @@ -101,7 +101,7 @@ def s3_bucket_versioning_enabled( self, s3_bucket_versioning_enabled: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_bucket_versioning_enabled = s3_bucket_versioning_enabled @property @@ -111,7 +111,7 @@ def objects(self) -> Optional[list[S3Object]]: @objects.setter def objects(self, objects: Optional[list[S3Object]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.objects = objects class Attributes(S3.Attributes): @@ -154,7 +154,9 @@ def create( ) attributes: "S3Bucket.Attributes" = Field( - default_factory=lambda: S3Bucket.Attributes(), + default_factory=lambda: S3Bucket.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -287,7 +289,7 @@ def s3_object_last_modified_time( self, s3_object_last_modified_time: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_object_last_modified_time = s3_object_last_modified_time @property @@ -297,7 +299,7 @@ def s3_bucket_name(self) -> Optional[str]: @s3_bucket_name.setter def s3_bucket_name(self, s3_bucket_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_bucket_name = s3_bucket_name @property @@ -311,7 +313,7 @@ def s3_bucket_qualified_name(self) -> Optional[str]: @s3_bucket_qualified_name.setter def s3_bucket_qualified_name(self, s3_bucket_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_bucket_qualified_name = s3_bucket_qualified_name @property @@ -321,7 +323,7 @@ def s3_object_size(self) -> Optional[int]: @s3_object_size.setter def s3_object_size(self, s3_object_size: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_object_size = s3_object_size @property @@ -333,7 +335,7 @@ def s3_object_storage_class(self) -> Optional[str]: @s3_object_storage_class.setter def s3_object_storage_class(self, s3_object_storage_class: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_object_storage_class = s3_object_storage_class @property @@ -343,7 +345,7 @@ def s3_object_key(self) -> Optional[str]: @s3_object_key.setter def s3_object_key(self, s3_object_key: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_object_key = s3_object_key @property @@ -355,7 +357,7 @@ def s3_object_content_type(self) -> Optional[str]: @s3_object_content_type.setter def s3_object_content_type(self, s3_object_content_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_object_content_type = s3_object_content_type @property @@ -371,7 +373,7 @@ def s3_object_content_disposition( self, s3_object_content_disposition: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_object_content_disposition = s3_object_content_disposition @property @@ -381,7 +383,7 @@ def s3_object_version_id(self) -> Optional[str]: @s3_object_version_id.setter def s3_object_version_id(self, s3_object_version_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.s3_object_version_id = s3_object_version_id @property @@ -391,7 +393,7 @@ def bucket(self) -> Optional[S3Bucket]: @bucket.setter def bucket(self, bucket: Optional[S3Bucket]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.bucket = bucket class Attributes(S3.Attributes): @@ -465,7 +467,9 @@ def create( ) attributes: "S3Object.Attributes" = Field( - default_factory=lambda: S3Object.Attributes(), + default_factory=lambda: S3Object.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset56.py b/pyatlan/model/assets/asset56.py index cc08e9b8c..da4de3781 100644 --- a/pyatlan/model/assets/asset56.py +++ b/pyatlan/model/assets/asset56.py @@ -139,7 +139,7 @@ def adls_e_tag(self) -> Optional[str]: @adls_e_tag.setter def adls_e_tag(self, adls_e_tag: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_e_tag = adls_e_tag @property @@ -149,7 +149,7 @@ def adls_encryption_type(self) -> Optional[ADLSEncryptionTypes]: @adls_encryption_type.setter def adls_encryption_type(self, adls_encryption_type: Optional[ADLSEncryptionTypes]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_encryption_type = adls_encryption_type @property @@ -163,7 +163,7 @@ def adls_account_resource_group(self) -> Optional[str]: @adls_account_resource_group.setter def adls_account_resource_group(self, adls_account_resource_group: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_account_resource_group = adls_account_resource_group @property @@ -177,7 +177,7 @@ def adls_account_subscription(self) -> Optional[str]: @adls_account_subscription.setter def adls_account_subscription(self, adls_account_subscription: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_account_subscription = adls_account_subscription @property @@ -193,7 +193,7 @@ def adls_account_performance( self, adls_account_performance: Optional[ADLSPerformance] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_account_performance = adls_account_performance @property @@ -209,7 +209,7 @@ def adls_account_replication( self, adls_account_replication: Optional[ADLSReplicationType] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_account_replication = adls_account_replication @property @@ -219,7 +219,7 @@ def adls_account_kind(self) -> Optional[ADLSStorageKind]: @adls_account_kind.setter def adls_account_kind(self, adls_account_kind: Optional[ADLSStorageKind]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_account_kind = adls_account_kind @property @@ -233,7 +233,7 @@ def adls_primary_disk_state( self, adls_primary_disk_state: Optional[ADLSAccountStatus] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_primary_disk_state = adls_primary_disk_state @property @@ -249,7 +249,7 @@ def adls_account_provision_state( self, adls_account_provision_state: Optional[ADLSProvisionState] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_account_provision_state = adls_account_provision_state @property @@ -265,7 +265,7 @@ def adls_account_access_tier( self, adls_account_access_tier: Optional[ADLSAccessTier] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_account_access_tier = adls_account_access_tier @property @@ -275,7 +275,7 @@ def adls_containers(self) -> Optional[list[ADLSContainer]]: @adls_containers.setter def adls_containers(self, adls_containers: Optional[list[ADLSContainer]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_containers = adls_containers class Attributes(ADLS.Attributes): @@ -312,7 +312,9 @@ class Attributes(ADLS.Attributes): ) # relationship attributes: "ADLSAccount.Attributes" = Field( - default_factory=lambda: ADLSAccount.Attributes(), + default_factory=lambda: ADLSAccount.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -401,7 +403,7 @@ def adls_container_url(self) -> Optional[str]: @adls_container_url.setter def adls_container_url(self, adls_container_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_container_url = adls_container_url @property @@ -417,7 +419,7 @@ def adls_container_lease_state( self, adls_container_lease_state: Optional[ADLSLeaseState] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_container_lease_state = adls_container_lease_state @property @@ -433,7 +435,7 @@ def adls_container_lease_status( self, adls_container_lease_status: Optional[ADLSLeaseStatus] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_container_lease_status = adls_container_lease_status @property @@ -449,7 +451,7 @@ def adls_container_encryption_scope( self, adls_container_encryption_scope: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_container_encryption_scope = ( adls_container_encryption_scope ) @@ -467,7 +469,7 @@ def adls_container_version_level_immutability_support( self, adls_container_version_level_immutability_support: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_container_version_level_immutability_support = ( adls_container_version_level_immutability_support ) @@ -479,7 +481,7 @@ def adls_object_count(self) -> Optional[int]: @adls_object_count.setter def adls_object_count(self, adls_object_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_count = adls_object_count @property @@ -489,7 +491,7 @@ def adls_objects(self) -> Optional[list[ADLSObject]]: @adls_objects.setter def adls_objects(self, adls_objects: Optional[list[ADLSObject]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_objects = adls_objects @property @@ -499,7 +501,7 @@ def adls_account(self) -> Optional[ADLSAccount]: @adls_account.setter def adls_account(self, adls_account: Optional[ADLSAccount]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_account = adls_account class Attributes(ADLS.Attributes): @@ -529,7 +531,9 @@ class Attributes(ADLS.Attributes): ) # relationship attributes: "ADLSContainer.Attributes" = Field( - default_factory=lambda: ADLSContainer.Attributes(), + default_factory=lambda: ADLSContainer.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -694,7 +698,7 @@ def adls_object_url(self) -> Optional[str]: @adls_object_url.setter def adls_object_url(self, adls_object_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_url = adls_object_url @property @@ -706,7 +710,7 @@ def adls_object_version_id(self) -> Optional[str]: @adls_object_version_id.setter def adls_object_version_id(self, adls_object_version_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_version_id = adls_object_version_id @property @@ -716,7 +720,7 @@ def adls_object_type(self) -> Optional[ADLSObjectType]: @adls_object_type.setter def adls_object_type(self, adls_object_type: Optional[ADLSObjectType]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_type = adls_object_type @property @@ -726,7 +730,7 @@ def adls_object_size(self) -> Optional[int]: @adls_object_size.setter def adls_object_size(self, adls_object_size: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_size = adls_object_size @property @@ -740,7 +744,7 @@ def adls_object_access_tier( self, adls_object_access_tier: Optional[ADLSAccessTier] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_access_tier = adls_object_access_tier @property @@ -756,7 +760,7 @@ def adls_object_access_tier_last_modified_time( self, adls_object_access_tier_last_modified_time: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_access_tier_last_modified_time = ( adls_object_access_tier_last_modified_time ) @@ -774,7 +778,7 @@ def adls_object_archive_status( self, adls_object_archive_status: Optional[ADLSObjectArchiveStatus] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_archive_status = adls_object_archive_status @property @@ -790,7 +794,7 @@ def adls_object_server_encrypted( self, adls_object_server_encrypted: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_server_encrypted = adls_object_server_encrypted @property @@ -806,7 +810,7 @@ def adls_object_version_level_immutability_support( self, adls_object_version_level_immutability_support: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_version_level_immutability_support = ( adls_object_version_level_immutability_support ) @@ -822,7 +826,7 @@ def adls_object_cache_control(self) -> Optional[str]: @adls_object_cache_control.setter def adls_object_cache_control(self, adls_object_cache_control: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_cache_control = adls_object_cache_control @property @@ -836,7 +840,7 @@ def adls_object_content_type(self) -> Optional[str]: @adls_object_content_type.setter def adls_object_content_type(self, adls_object_content_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_content_type = adls_object_content_type @property @@ -852,7 +856,7 @@ def adls_object_content_m_d5_hash( self, adls_object_content_m_d5_hash: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_content_m_d5_hash = adls_object_content_m_d5_hash @property @@ -866,7 +870,7 @@ def adls_object_content_language(self) -> Optional[str]: @adls_object_content_language.setter def adls_object_content_language(self, adls_object_content_language: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_content_language = adls_object_content_language @property @@ -882,7 +886,7 @@ def adls_object_lease_status( self, adls_object_lease_status: Optional[ADLSLeaseStatus] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_lease_status = adls_object_lease_status @property @@ -896,7 +900,7 @@ def adls_object_lease_state( self, adls_object_lease_state: Optional[ADLSLeaseState] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_lease_state = adls_object_lease_state @property @@ -906,7 +910,7 @@ def adls_object_metadata(self) -> Optional[dict[str, str]]: @adls_object_metadata.setter def adls_object_metadata(self, adls_object_metadata: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_object_metadata = adls_object_metadata @property @@ -922,7 +926,7 @@ def adls_container_qualified_name( self, adls_container_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_container_qualified_name = adls_container_qualified_name @property @@ -932,7 +936,7 @@ def adls_container(self) -> Optional[ADLSContainer]: @adls_container.setter def adls_container(self, adls_container: Optional[ADLSContainer]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.adls_container = adls_container class Attributes(ADLS.Attributes): @@ -992,7 +996,9 @@ class Attributes(ADLS.Attributes): ) # relationship attributes: "ADLSObject.Attributes" = Field( - default_factory=lambda: ADLSObject.Attributes(), + default_factory=lambda: ADLSObject.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset57.py b/pyatlan/model/assets/asset57.py index 5f17a9098..47bea6a92 100644 --- a/pyatlan/model/assets/asset57.py +++ b/pyatlan/model/assets/asset57.py @@ -161,7 +161,7 @@ def gcs_bucket_name(self) -> Optional[str]: @gcs_bucket_name.setter def gcs_bucket_name(self, gcs_bucket_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_bucket_name = gcs_bucket_name @property @@ -175,7 +175,7 @@ def gcs_bucket_qualified_name(self) -> Optional[str]: @gcs_bucket_qualified_name.setter def gcs_bucket_qualified_name(self, gcs_bucket_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_bucket_qualified_name = gcs_bucket_qualified_name @property @@ -185,7 +185,7 @@ def gcs_object_size(self) -> Optional[int]: @gcs_object_size.setter def gcs_object_size(self, gcs_object_size: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_size = gcs_object_size @property @@ -195,7 +195,7 @@ def gcs_object_key(self) -> Optional[str]: @gcs_object_key.setter def gcs_object_key(self, gcs_object_key: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_key = gcs_object_key @property @@ -207,7 +207,7 @@ def gcs_object_media_link(self) -> Optional[str]: @gcs_object_media_link.setter def gcs_object_media_link(self, gcs_object_media_link: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_media_link = gcs_object_media_link @property @@ -217,7 +217,7 @@ def gcs_object_hold_type(self) -> Optional[str]: @gcs_object_hold_type.setter def gcs_object_hold_type(self, gcs_object_hold_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_hold_type = gcs_object_hold_type @property @@ -231,7 +231,7 @@ def gcs_object_generation_id(self) -> Optional[int]: @gcs_object_generation_id.setter def gcs_object_generation_id(self, gcs_object_generation_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_generation_id = gcs_object_generation_id @property @@ -245,7 +245,7 @@ def gcs_object_c_r_c32_c_hash(self) -> Optional[str]: @gcs_object_c_r_c32_c_hash.setter def gcs_object_c_r_c32_c_hash(self, gcs_object_c_r_c32_c_hash: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_c_r_c32_c_hash = gcs_object_c_r_c32_c_hash @property @@ -255,7 +255,7 @@ def gcs_object_m_d5_hash(self) -> Optional[str]: @gcs_object_m_d5_hash.setter def gcs_object_m_d5_hash(self, gcs_object_m_d5_hash: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_m_d5_hash = gcs_object_m_d5_hash @property @@ -271,7 +271,7 @@ def gcs_object_data_last_modified_time( self, gcs_object_data_last_modified_time: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_data_last_modified_time = ( gcs_object_data_last_modified_time ) @@ -285,7 +285,7 @@ def gcs_object_content_type(self) -> Optional[str]: @gcs_object_content_type.setter def gcs_object_content_type(self, gcs_object_content_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_content_type = gcs_object_content_type @property @@ -299,7 +299,7 @@ def gcs_object_content_encoding(self) -> Optional[str]: @gcs_object_content_encoding.setter def gcs_object_content_encoding(self, gcs_object_content_encoding: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_content_encoding = gcs_object_content_encoding @property @@ -315,7 +315,7 @@ def gcs_object_content_disposition( self, gcs_object_content_disposition: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_content_disposition = gcs_object_content_disposition @property @@ -329,7 +329,7 @@ def gcs_object_content_language(self) -> Optional[str]: @gcs_object_content_language.setter def gcs_object_content_language(self, gcs_object_content_language: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_content_language = gcs_object_content_language @property @@ -345,7 +345,7 @@ def gcs_object_retention_expiration_date( self, gcs_object_retention_expiration_date: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_retention_expiration_date = ( gcs_object_retention_expiration_date ) @@ -357,7 +357,7 @@ def gcs_bucket(self) -> Optional[GCSBucket]: @gcs_bucket.setter def gcs_bucket(self, gcs_bucket: Optional[GCSBucket]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_bucket = gcs_bucket class Attributes(GCS.Attributes): @@ -411,7 +411,9 @@ class Attributes(GCS.Attributes): ) # relationship attributes: "GCSObject.Attributes" = Field( - default_factory=lambda: GCSObject.Attributes(), + default_factory=lambda: GCSObject.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -499,7 +501,7 @@ def gcs_object_count(self) -> Optional[int]: @gcs_object_count.setter def gcs_object_count(self, gcs_object_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_object_count = gcs_object_count @property @@ -515,7 +517,7 @@ def gcs_bucket_versioning_enabled( self, gcs_bucket_versioning_enabled: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_bucket_versioning_enabled = gcs_bucket_versioning_enabled @property @@ -529,7 +531,7 @@ def gcs_bucket_retention_locked(self) -> Optional[bool]: @gcs_bucket_retention_locked.setter def gcs_bucket_retention_locked(self, gcs_bucket_retention_locked: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_bucket_retention_locked = gcs_bucket_retention_locked @property @@ -543,7 +545,7 @@ def gcs_bucket_retention_period(self) -> Optional[int]: @gcs_bucket_retention_period.setter def gcs_bucket_retention_period(self, gcs_bucket_retention_period: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_bucket_retention_period = gcs_bucket_retention_period @property @@ -559,7 +561,7 @@ def gcs_bucket_retention_effective_time( self, gcs_bucket_retention_effective_time: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_bucket_retention_effective_time = ( gcs_bucket_retention_effective_time ) @@ -575,7 +577,7 @@ def gcs_bucket_lifecycle_rules(self) -> Optional[str]: @gcs_bucket_lifecycle_rules.setter def gcs_bucket_lifecycle_rules(self, gcs_bucket_lifecycle_rules: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_bucket_lifecycle_rules = gcs_bucket_lifecycle_rules @property @@ -589,7 +591,7 @@ def gcs_bucket_retention_policy(self) -> Optional[str]: @gcs_bucket_retention_policy.setter def gcs_bucket_retention_policy(self, gcs_bucket_retention_policy: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_bucket_retention_policy = gcs_bucket_retention_policy @property @@ -599,7 +601,7 @@ def gcs_objects(self) -> Optional[list[GCSObject]]: @gcs_objects.setter def gcs_objects(self, gcs_objects: Optional[list[GCSObject]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.gcs_objects = gcs_objects class Attributes(GCS.Attributes): @@ -629,7 +631,9 @@ class Attributes(GCS.Attributes): ) # relationship attributes: "GCSBucket.Attributes" = Field( - default_factory=lambda: GCSBucket.Attributes(), + default_factory=lambda: GCSBucket.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset58.py b/pyatlan/model/assets/asset58.py index 60106f660..f0ab5c3c8 100644 --- a/pyatlan/model/assets/asset58.py +++ b/pyatlan/model/assets/asset58.py @@ -74,7 +74,7 @@ def preset_chart_description_markdown( self, preset_chart_description_markdown: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_chart_description_markdown = ( preset_chart_description_markdown ) @@ -88,7 +88,7 @@ def preset_chart_form_data(self) -> Optional[dict[str, str]]: @preset_chart_form_data.setter def preset_chart_form_data(self, preset_chart_form_data: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_chart_form_data = preset_chart_form_data @property @@ -98,7 +98,7 @@ def preset_dashboard(self) -> Optional[PresetDashboard]: @preset_dashboard.setter def preset_dashboard(self, preset_dashboard: Optional[PresetDashboard]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dashboard = preset_dashboard class Attributes(Preset.Attributes): @@ -113,7 +113,9 @@ class Attributes(Preset.Attributes): ) # relationship attributes: "PresetChart.Attributes" = Field( - default_factory=lambda: PresetChart.Attributes(), + default_factory=lambda: PresetChart.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -184,7 +186,7 @@ def preset_dataset_datasource_name( self, preset_dataset_datasource_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dataset_datasource_name = preset_dataset_datasource_name @property @@ -194,7 +196,7 @@ def preset_dataset_id(self) -> Optional[int]: @preset_dataset_id.setter def preset_dataset_id(self, preset_dataset_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dataset_id = preset_dataset_id @property @@ -204,7 +206,7 @@ def preset_dataset_type(self) -> Optional[str]: @preset_dataset_type.setter def preset_dataset_type(self, preset_dataset_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dataset_type = preset_dataset_type @property @@ -214,7 +216,7 @@ def preset_dashboard(self) -> Optional[PresetDashboard]: @preset_dashboard.setter def preset_dashboard(self, preset_dashboard: Optional[PresetDashboard]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dashboard = preset_dashboard class Attributes(Preset.Attributes): @@ -232,7 +234,9 @@ class Attributes(Preset.Attributes): ) # relationship attributes: "PresetDataset.Attributes" = Field( - default_factory=lambda: PresetDataset.Attributes(), + default_factory=lambda: PresetDataset.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -334,7 +338,7 @@ def preset_dashboard_changed_by_name( self, preset_dashboard_changed_by_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dashboard_changed_by_name = ( preset_dashboard_changed_by_name ) @@ -352,7 +356,7 @@ def preset_dashboard_changed_by_url( self, preset_dashboard_changed_by_url: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dashboard_changed_by_url = ( preset_dashboard_changed_by_url ) @@ -370,7 +374,7 @@ def preset_dashboard_is_managed_externally( self, preset_dashboard_is_managed_externally: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dashboard_is_managed_externally = ( preset_dashboard_is_managed_externally ) @@ -388,7 +392,7 @@ def preset_dashboard_is_published( self, preset_dashboard_is_published: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dashboard_is_published = preset_dashboard_is_published @property @@ -404,7 +408,7 @@ def preset_dashboard_thumbnail_url( self, preset_dashboard_thumbnail_url: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dashboard_thumbnail_url = preset_dashboard_thumbnail_url @property @@ -418,7 +422,7 @@ def preset_dashboard_chart_count(self) -> Optional[int]: @preset_dashboard_chart_count.setter def preset_dashboard_chart_count(self, preset_dashboard_chart_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dashboard_chart_count = preset_dashboard_chart_count @property @@ -428,7 +432,7 @@ def preset_datasets(self) -> Optional[list[PresetDataset]]: @preset_datasets.setter def preset_datasets(self, preset_datasets: Optional[list[PresetDataset]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_datasets = preset_datasets @property @@ -438,7 +442,7 @@ def preset_charts(self) -> Optional[list[PresetChart]]: @preset_charts.setter def preset_charts(self, preset_charts: Optional[list[PresetChart]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_charts = preset_charts @property @@ -448,7 +452,7 @@ def preset_workspace(self) -> Optional[PresetWorkspace]: @preset_workspace.setter def preset_workspace(self, preset_workspace: Optional[PresetWorkspace]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace = preset_workspace class Attributes(Preset.Attributes): @@ -481,7 +485,9 @@ class Attributes(Preset.Attributes): ) # relationship attributes: "PresetDashboard.Attributes" = Field( - default_factory=lambda: PresetDashboard.Attributes(), + default_factory=lambda: PresetDashboard.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -592,7 +598,7 @@ def preset_workspace_public_dashboards_allowed( self, preset_workspace_public_dashboards_allowed: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace_public_dashboards_allowed = ( preset_workspace_public_dashboards_allowed ) @@ -608,7 +614,7 @@ def preset_workspace_cluster_id(self) -> Optional[int]: @preset_workspace_cluster_id.setter def preset_workspace_cluster_id(self, preset_workspace_cluster_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace_cluster_id = preset_workspace_cluster_id @property @@ -622,7 +628,7 @@ def preset_workspace_hostname(self) -> Optional[str]: @preset_workspace_hostname.setter def preset_workspace_hostname(self, preset_workspace_hostname: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace_hostname = preset_workspace_hostname @property @@ -638,7 +644,7 @@ def preset_workspace_is_in_maintenance_mode( self, preset_workspace_is_in_maintenance_mode: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace_is_in_maintenance_mode = ( preset_workspace_is_in_maintenance_mode ) @@ -652,7 +658,7 @@ def preset_workspace_region(self) -> Optional[str]: @preset_workspace_region.setter def preset_workspace_region(self, preset_workspace_region: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace_region = preset_workspace_region @property @@ -664,7 +670,7 @@ def preset_workspace_status(self) -> Optional[str]: @preset_workspace_status.setter def preset_workspace_status(self, preset_workspace_status: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace_status = preset_workspace_status @property @@ -680,7 +686,7 @@ def preset_workspace_deployment_id( self, preset_workspace_deployment_id: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace_deployment_id = preset_workspace_deployment_id @property @@ -696,7 +702,7 @@ def preset_workspace_dashboard_count( self, preset_workspace_dashboard_count: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace_dashboard_count = ( preset_workspace_dashboard_count ) @@ -714,7 +720,7 @@ def preset_workspace_dataset_count( self, preset_workspace_dataset_count: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_workspace_dataset_count = preset_workspace_dataset_count @property @@ -724,7 +730,7 @@ def preset_dashboards(self) -> Optional[list[PresetDashboard]]: @preset_dashboards.setter def preset_dashboards(self, preset_dashboards: Optional[list[PresetDashboard]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.preset_dashboards = preset_dashboards class Attributes(Preset.Attributes): @@ -760,7 +766,9 @@ class Attributes(Preset.Attributes): ) # relationship attributes: "PresetWorkspace.Attributes" = Field( - default_factory=lambda: PresetWorkspace.Attributes(), + default_factory=lambda: PresetWorkspace.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset59.py b/pyatlan/model/assets/asset59.py index 8467e3f2d..1d2523647 100644 --- a/pyatlan/model/assets/asset59.py +++ b/pyatlan/model/assets/asset59.py @@ -109,7 +109,7 @@ def mode_collection_token(self) -> Optional[str]: @mode_collection_token.setter def mode_collection_token(self, mode_collection_token: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_collection_token = mode_collection_token @property @@ -123,7 +123,7 @@ def mode_report_published_at(self) -> Optional[datetime]: @mode_report_published_at.setter def mode_report_published_at(self, mode_report_published_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_report_published_at = mode_report_published_at @property @@ -133,7 +133,7 @@ def mode_query_count(self) -> Optional[int]: @mode_query_count.setter def mode_query_count(self, mode_query_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_query_count = mode_query_count @property @@ -143,7 +143,7 @@ def mode_chart_count(self) -> Optional[int]: @mode_chart_count.setter def mode_chart_count(self, mode_chart_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_chart_count = mode_chart_count @property @@ -153,7 +153,7 @@ def mode_query_preview(self) -> Optional[str]: @mode_query_preview.setter def mode_query_preview(self, mode_query_preview: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_query_preview = mode_query_preview @property @@ -163,7 +163,7 @@ def mode_is_public(self) -> Optional[bool]: @mode_is_public.setter def mode_is_public(self, mode_is_public: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_is_public = mode_is_public @property @@ -173,7 +173,7 @@ def mode_is_shared(self) -> Optional[bool]: @mode_is_shared.setter def mode_is_shared(self, mode_is_shared: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_is_shared = mode_is_shared @property @@ -183,7 +183,7 @@ def mode_queries(self) -> Optional[list[ModeQuery]]: @mode_queries.setter def mode_queries(self, mode_queries: Optional[list[ModeQuery]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_queries = mode_queries @property @@ -193,7 +193,7 @@ def mode_collections(self) -> Optional[list[ModeCollection]]: @mode_collections.setter def mode_collections(self, mode_collections: Optional[list[ModeCollection]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_collections = mode_collections class Attributes(Mode.Attributes): @@ -226,7 +226,9 @@ class Attributes(Mode.Attributes): ) # relationship attributes: "ModeReport.Attributes" = Field( - default_factory=lambda: ModeReport.Attributes(), + default_factory=lambda: ModeReport.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -282,7 +284,7 @@ def mode_raw_query(self) -> Optional[str]: @mode_raw_query.setter def mode_raw_query(self, mode_raw_query: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_raw_query = mode_raw_query @property @@ -296,7 +298,7 @@ def mode_report_import_count(self) -> Optional[int]: @mode_report_import_count.setter def mode_report_import_count(self, mode_report_import_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_report_import_count = mode_report_import_count @property @@ -306,7 +308,7 @@ def mode_charts(self) -> Optional[list[ModeChart]]: @mode_charts.setter def mode_charts(self, mode_charts: Optional[list[ModeChart]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_charts = mode_charts @property @@ -316,7 +318,7 @@ def mode_report(self) -> Optional[ModeReport]: @mode_report.setter def mode_report(self, mode_report: Optional[ModeReport]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_report = mode_report class Attributes(Mode.Attributes): @@ -334,7 +336,9 @@ class Attributes(Mode.Attributes): ) # relationship attributes: "ModeQuery.Attributes" = Field( - default_factory=lambda: ModeQuery.Attributes(), + default_factory=lambda: ModeQuery.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -380,7 +384,7 @@ def mode_chart_type(self) -> Optional[str]: @mode_chart_type.setter def mode_chart_type(self, mode_chart_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_chart_type = mode_chart_type @property @@ -390,7 +394,7 @@ def mode_query(self) -> Optional[ModeQuery]: @mode_query.setter def mode_query(self, mode_query: Optional[ModeQuery]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_query = mode_query class Attributes(Mode.Attributes): @@ -402,7 +406,9 @@ class Attributes(Mode.Attributes): ) # relationship attributes: "ModeChart.Attributes" = Field( - default_factory=lambda: ModeChart.Attributes(), + default_factory=lambda: ModeChart.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -450,7 +456,7 @@ def mode_collection_count(self) -> Optional[int]: @mode_collection_count.setter def mode_collection_count(self, mode_collection_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_collection_count = mode_collection_count @property @@ -460,7 +466,7 @@ def mode_collections(self) -> Optional[list[ModeCollection]]: @mode_collections.setter def mode_collections(self, mode_collections: Optional[list[ModeCollection]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_collections = mode_collections class Attributes(Mode.Attributes): @@ -472,7 +478,9 @@ class Attributes(Mode.Attributes): ) # relationship attributes: "ModeWorkspace.Attributes" = Field( - default_factory=lambda: ModeWorkspace.Attributes(), + default_factory=lambda: ModeWorkspace.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -530,7 +538,7 @@ def mode_collection_type(self) -> Optional[str]: @mode_collection_type.setter def mode_collection_type(self, mode_collection_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_collection_type = mode_collection_type @property @@ -542,7 +550,7 @@ def mode_collection_state(self) -> Optional[str]: @mode_collection_state.setter def mode_collection_state(self, mode_collection_state: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_collection_state = mode_collection_state @property @@ -552,7 +560,7 @@ def mode_workspace(self) -> Optional[ModeWorkspace]: @mode_workspace.setter def mode_workspace(self, mode_workspace: Optional[ModeWorkspace]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_workspace = mode_workspace @property @@ -562,7 +570,7 @@ def mode_reports(self) -> Optional[list[ModeReport]]: @mode_reports.setter def mode_reports(self, mode_reports: Optional[list[ModeReport]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.mode_reports = mode_reports class Attributes(Mode.Attributes): @@ -580,7 +588,9 @@ class Attributes(Mode.Attributes): ) # relationship attributes: "ModeCollection.Attributes" = Field( - default_factory=lambda: ModeCollection.Attributes(), + default_factory=lambda: ModeCollection.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset60.py b/pyatlan/model/assets/asset60.py index 10b5ffc31..9d95fec5b 100644 --- a/pyatlan/model/assets/asset60.py +++ b/pyatlan/model/assets/asset60.py @@ -70,7 +70,7 @@ def sigma_dataset_qualified_name(self) -> Optional[str]: @sigma_dataset_qualified_name.setter def sigma_dataset_qualified_name(self, sigma_dataset_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_dataset_qualified_name = sigma_dataset_qualified_name @property @@ -80,7 +80,7 @@ def sigma_dataset_name(self) -> Optional[str]: @sigma_dataset_name.setter def sigma_dataset_name(self, sigma_dataset_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_dataset_name = sigma_dataset_name @property @@ -90,7 +90,7 @@ def sigma_dataset(self) -> Optional[SigmaDataset]: @sigma_dataset.setter def sigma_dataset(self, sigma_dataset: Optional[SigmaDataset]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_dataset = sigma_dataset class Attributes(Sigma.Attributes): @@ -105,7 +105,9 @@ class Attributes(Sigma.Attributes): ) # relationship attributes: "SigmaDatasetColumn.Attributes" = Field( - default_factory=lambda: SigmaDatasetColumn.Attributes(), + default_factory=lambda: SigmaDatasetColumn.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -157,7 +159,7 @@ def sigma_dataset_column_count(self) -> Optional[int]: @sigma_dataset_column_count.setter def sigma_dataset_column_count(self, sigma_dataset_column_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_dataset_column_count = sigma_dataset_column_count @property @@ -171,7 +173,7 @@ def sigma_dataset_columns( self, sigma_dataset_columns: Optional[list[SigmaDatasetColumn]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_dataset_columns = sigma_dataset_columns class Attributes(Sigma.Attributes): @@ -183,7 +185,9 @@ class Attributes(Sigma.Attributes): ) # relationship attributes: "SigmaDataset.Attributes" = Field( - default_factory=lambda: SigmaDataset.Attributes(), + default_factory=lambda: SigmaDataset.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset61.py b/pyatlan/model/assets/asset61.py index f6222921c..bc0873ae6 100644 --- a/pyatlan/model/assets/asset61.py +++ b/pyatlan/model/assets/asset61.py @@ -59,7 +59,7 @@ def sigma_page_count(self) -> Optional[int]: @sigma_page_count.setter def sigma_page_count(self, sigma_page_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_page_count = sigma_page_count @property @@ -69,7 +69,7 @@ def sigma_pages(self) -> Optional[list[SigmaPage]]: @sigma_pages.setter def sigma_pages(self, sigma_pages: Optional[list[SigmaPage]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_pages = sigma_pages class Attributes(Sigma.Attributes): @@ -81,7 +81,9 @@ class Attributes(Sigma.Attributes): ) # relationship attributes: "SigmaWorkbook.Attributes" = Field( - default_factory=lambda: SigmaWorkbook.Attributes(), + default_factory=lambda: SigmaWorkbook.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -140,7 +142,7 @@ def sigma_data_element_field_is_hidden( self, sigma_data_element_field_is_hidden: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_data_element_field_is_hidden = ( sigma_data_element_field_is_hidden ) @@ -158,7 +160,7 @@ def sigma_data_element_field_formula( self, sigma_data_element_field_formula: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_data_element_field_formula = ( sigma_data_element_field_formula ) @@ -170,7 +172,7 @@ def sigma_data_element(self) -> Optional[SigmaDataElement]: @sigma_data_element.setter def sigma_data_element(self, sigma_data_element: Optional[SigmaDataElement]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_data_element = sigma_data_element class Attributes(Sigma.Attributes): @@ -185,7 +187,9 @@ class Attributes(Sigma.Attributes): ) # relationship attributes: "SigmaDataElementField.Attributes" = Field( - default_factory=lambda: SigmaDataElementField.Attributes(), + default_factory=lambda: SigmaDataElementField.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -240,7 +244,7 @@ def sigma_data_element_count(self) -> Optional[int]: @sigma_data_element_count.setter def sigma_data_element_count(self, sigma_data_element_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_data_element_count = sigma_data_element_count @property @@ -252,7 +256,7 @@ def sigma_data_elements( self, sigma_data_elements: Optional[list[SigmaDataElement]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_data_elements = sigma_data_elements @property @@ -262,7 +266,7 @@ def sigma_workbook(self) -> Optional[SigmaWorkbook]: @sigma_workbook.setter def sigma_workbook(self, sigma_workbook: Optional[SigmaWorkbook]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_workbook = sigma_workbook class Attributes(Sigma.Attributes): @@ -277,7 +281,9 @@ class Attributes(Sigma.Attributes): ) # relationship attributes: "SigmaPage.Attributes" = Field( - default_factory=lambda: SigmaPage.Attributes(), + default_factory=lambda: SigmaPage.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -348,7 +354,7 @@ def sigma_data_element_query(self) -> Optional[str]: @sigma_data_element_query.setter def sigma_data_element_query(self, sigma_data_element_query: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_data_element_query = sigma_data_element_query @property @@ -360,7 +366,7 @@ def sigma_data_element_type(self) -> Optional[str]: @sigma_data_element_type.setter def sigma_data_element_type(self, sigma_data_element_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_data_element_type = sigma_data_element_type @property @@ -376,7 +382,7 @@ def sigma_data_element_field_count( self, sigma_data_element_field_count: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_data_element_field_count = sigma_data_element_field_count @property @@ -386,7 +392,7 @@ def sigma_page(self) -> Optional[SigmaPage]: @sigma_page.setter def sigma_page(self, sigma_page: Optional[SigmaPage]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_page = sigma_page @property @@ -402,7 +408,7 @@ def sigma_data_element_fields( self, sigma_data_element_fields: Optional[list[SigmaDataElementField]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sigma_data_element_fields = sigma_data_element_fields class Attributes(Sigma.Attributes): @@ -423,7 +429,9 @@ class Attributes(Sigma.Attributes): ) # relationship attributes: "SigmaDataElement.Attributes" = Field( - default_factory=lambda: SigmaDataElement.Attributes(), + default_factory=lambda: SigmaDataElement.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset62.py b/pyatlan/model/assets/asset62.py index ec5d43832..3709aa08f 100644 --- a/pyatlan/model/assets/asset62.py +++ b/pyatlan/model/assets/asset62.py @@ -101,7 +101,7 @@ def site_qualified_name(self) -> Optional[str]: @site_qualified_name.setter def site_qualified_name(self, site_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.site_qualified_name = site_qualified_name @property @@ -113,7 +113,7 @@ def project_qualified_name(self) -> Optional[str]: @project_qualified_name.setter def project_qualified_name(self, project_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_qualified_name = project_qualified_name @property @@ -125,7 +125,7 @@ def top_level_project_name(self) -> Optional[str]: @top_level_project_name.setter def top_level_project_name(self, top_level_project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.top_level_project_name = top_level_project_name @property @@ -141,7 +141,7 @@ def top_level_project_qualified_name( self, top_level_project_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.top_level_project_qualified_name = ( top_level_project_qualified_name ) @@ -153,7 +153,7 @@ def project_hierarchy(self) -> Optional[list[dict[str, str]]]: @project_hierarchy.setter def project_hierarchy(self, project_hierarchy: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_hierarchy = project_hierarchy @property @@ -163,7 +163,7 @@ def project(self) -> Optional[TableauProject]: @project.setter def project(self, project: Optional[TableauProject]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project = project @property @@ -173,7 +173,7 @@ def dashboards(self) -> Optional[list[TableauDashboard]]: @dashboards.setter def dashboards(self, dashboards: Optional[list[TableauDashboard]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboards = dashboards @property @@ -183,7 +183,7 @@ def worksheets(self) -> Optional[list[TableauWorksheet]]: @worksheets.setter def worksheets(self, worksheets: Optional[list[TableauWorksheet]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.worksheets = worksheets @property @@ -193,7 +193,7 @@ def datasources(self) -> Optional[list[TableauDatasource]]: @datasources.setter def datasources(self, datasources: Optional[list[TableauDatasource]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasources = datasources class Attributes(Tableau.Attributes): @@ -226,7 +226,9 @@ class Attributes(Tableau.Attributes): ) # relationship attributes: "TableauWorkbook.Attributes" = Field( - default_factory=lambda: TableauWorkbook.Attributes(), + default_factory=lambda: TableauWorkbook.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -384,7 +386,7 @@ def site_qualified_name(self) -> Optional[str]: @site_qualified_name.setter def site_qualified_name(self, site_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.site_qualified_name = site_qualified_name @property @@ -396,7 +398,7 @@ def project_qualified_name(self) -> Optional[str]: @project_qualified_name.setter def project_qualified_name(self, project_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_qualified_name = project_qualified_name @property @@ -412,7 +414,7 @@ def top_level_project_qualified_name( self, top_level_project_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.top_level_project_qualified_name = ( top_level_project_qualified_name ) @@ -426,7 +428,7 @@ def workbook_qualified_name(self) -> Optional[str]: @workbook_qualified_name.setter def workbook_qualified_name(self, workbook_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workbook_qualified_name = workbook_qualified_name @property @@ -440,7 +442,7 @@ def datasource_qualified_name(self) -> Optional[str]: @datasource_qualified_name.setter def datasource_qualified_name(self, datasource_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasource_qualified_name = datasource_qualified_name @property @@ -450,7 +452,7 @@ def project_hierarchy(self) -> Optional[list[dict[str, str]]]: @project_hierarchy.setter def project_hierarchy(self, project_hierarchy: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_hierarchy = project_hierarchy @property @@ -460,7 +462,7 @@ def fully_qualified_name(self) -> Optional[str]: @fully_qualified_name.setter def fully_qualified_name(self, fully_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.fully_qualified_name = fully_qualified_name @property @@ -476,7 +478,7 @@ def tableau_datasource_field_data_category( self, tableau_datasource_field_data_category: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tableau_datasource_field_data_category = ( tableau_datasource_field_data_category ) @@ -494,7 +496,7 @@ def tableau_datasource_field_role( self, tableau_datasource_field_role: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tableau_datasource_field_role = tableau_datasource_field_role @property @@ -510,7 +512,7 @@ def tableau_datasource_field_data_type( self, tableau_datasource_field_data_type: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tableau_datasource_field_data_type = ( tableau_datasource_field_data_type ) @@ -522,7 +524,7 @@ def upstream_tables(self) -> Optional[list[dict[str, str]]]: @upstream_tables.setter def upstream_tables(self, upstream_tables: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.upstream_tables = upstream_tables @property @@ -538,7 +540,7 @@ def tableau_datasource_field_formula( self, tableau_datasource_field_formula: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tableau_datasource_field_formula = ( tableau_datasource_field_formula ) @@ -556,7 +558,7 @@ def tableau_datasource_field_bin_size( self, tableau_datasource_field_bin_size: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tableau_datasource_field_bin_size = ( tableau_datasource_field_bin_size ) @@ -568,7 +570,7 @@ def upstream_columns(self) -> Optional[list[dict[str, str]]]: @upstream_columns.setter def upstream_columns(self, upstream_columns: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.upstream_columns = upstream_columns @property @@ -578,7 +580,7 @@ def upstream_fields(self) -> Optional[list[dict[str, str]]]: @upstream_fields.setter def upstream_fields(self, upstream_fields: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.upstream_fields = upstream_fields @property @@ -590,7 +592,7 @@ def datasource_field_type(self) -> Optional[str]: @datasource_field_type.setter def datasource_field_type(self, datasource_field_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasource_field_type = datasource_field_type @property @@ -600,7 +602,7 @@ def worksheets(self) -> Optional[list[TableauWorksheet]]: @worksheets.setter def worksheets(self, worksheets: Optional[list[TableauWorksheet]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.worksheets = worksheets @property @@ -610,7 +612,7 @@ def datasource(self) -> Optional[TableauDatasource]: @datasource.setter def datasource(self, datasource: Optional[TableauDatasource]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasource = datasource class Attributes(Tableau.Attributes): @@ -670,7 +672,9 @@ class Attributes(Tableau.Attributes): ) # relationship attributes: "TableauDatasourceField.Attributes" = Field( - default_factory=lambda: TableauDatasourceField.Attributes(), + default_factory=lambda: TableauDatasourceField.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -785,7 +789,7 @@ def site_qualified_name(self) -> Optional[str]: @site_qualified_name.setter def site_qualified_name(self, site_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.site_qualified_name = site_qualified_name @property @@ -797,7 +801,7 @@ def project_qualified_name(self) -> Optional[str]: @project_qualified_name.setter def project_qualified_name(self, project_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_qualified_name = project_qualified_name @property @@ -813,7 +817,7 @@ def top_level_project_qualified_name( self, top_level_project_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.top_level_project_qualified_name = ( top_level_project_qualified_name ) @@ -827,7 +831,7 @@ def workbook_qualified_name(self) -> Optional[str]: @workbook_qualified_name.setter def workbook_qualified_name(self, workbook_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workbook_qualified_name = workbook_qualified_name @property @@ -841,7 +845,7 @@ def datasource_qualified_name(self) -> Optional[str]: @datasource_qualified_name.setter def datasource_qualified_name(self, datasource_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasource_qualified_name = datasource_qualified_name @property @@ -851,7 +855,7 @@ def project_hierarchy(self) -> Optional[list[dict[str, str]]]: @project_hierarchy.setter def project_hierarchy(self, project_hierarchy: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_hierarchy = project_hierarchy @property @@ -861,7 +865,7 @@ def data_category(self) -> Optional[str]: @data_category.setter def data_category(self, data_category: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.data_category = data_category @property @@ -871,7 +875,7 @@ def role(self) -> Optional[str]: @role.setter def role(self, role: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.role = role @property @@ -881,7 +885,7 @@ def tableau_data_type(self) -> Optional[str]: @tableau_data_type.setter def tableau_data_type(self, tableau_data_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tableau_data_type = tableau_data_type @property @@ -891,7 +895,7 @@ def formula(self) -> Optional[str]: @formula.setter def formula(self, formula: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.formula = formula @property @@ -901,7 +905,7 @@ def upstream_fields(self) -> Optional[list[dict[str, str]]]: @upstream_fields.setter def upstream_fields(self, upstream_fields: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.upstream_fields = upstream_fields @property @@ -911,7 +915,7 @@ def worksheets(self) -> Optional[list[TableauWorksheet]]: @worksheets.setter def worksheets(self, worksheets: Optional[list[TableauWorksheet]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.worksheets = worksheets @property @@ -921,7 +925,7 @@ def datasource(self) -> Optional[TableauDatasource]: @datasource.setter def datasource(self, datasource: Optional[TableauDatasource]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasource = datasource class Attributes(Tableau.Attributes): @@ -960,7 +964,9 @@ class Attributes(Tableau.Attributes): ) # relationship attributes: "TableauCalculatedField.Attributes" = Field( - default_factory=lambda: TableauCalculatedField.Attributes(), + default_factory=lambda: TableauCalculatedField.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1052,7 +1058,7 @@ def site_qualified_name(self) -> Optional[str]: @site_qualified_name.setter def site_qualified_name(self, site_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.site_qualified_name = site_qualified_name @property @@ -1068,7 +1074,7 @@ def top_level_project_qualified_name( self, top_level_project_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.top_level_project_qualified_name = ( top_level_project_qualified_name ) @@ -1080,7 +1086,7 @@ def is_top_level_project(self) -> Optional[bool]: @is_top_level_project.setter def is_top_level_project(self, is_top_level_project: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_top_level_project = is_top_level_project @property @@ -1090,7 +1096,7 @@ def project_hierarchy(self) -> Optional[list[dict[str, str]]]: @project_hierarchy.setter def project_hierarchy(self, project_hierarchy: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_hierarchy = project_hierarchy @property @@ -1100,7 +1106,7 @@ def parent_project(self) -> Optional[TableauProject]: @parent_project.setter def parent_project(self, parent_project: Optional[TableauProject]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.parent_project = parent_project @property @@ -1110,7 +1116,7 @@ def workbooks(self) -> Optional[list[TableauWorkbook]]: @workbooks.setter def workbooks(self, workbooks: Optional[list[TableauWorkbook]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workbooks = workbooks @property @@ -1120,7 +1126,7 @@ def site(self) -> Optional[TableauSite]: @site.setter def site(self, site: Optional[TableauSite]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.site = site @property @@ -1130,7 +1136,7 @@ def datasources(self) -> Optional[list[TableauDatasource]]: @datasources.setter def datasources(self, datasources: Optional[list[TableauDatasource]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasources = datasources @property @@ -1140,7 +1146,7 @@ def flows(self) -> Optional[list[TableauFlow]]: @flows.setter def flows(self, flows: Optional[list[TableauFlow]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.flows = flows @property @@ -1150,7 +1156,7 @@ def child_projects(self) -> Optional[list[TableauProject]]: @child_projects.setter def child_projects(self, child_projects: Optional[list[TableauProject]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.child_projects = child_projects class Attributes(Tableau.Attributes): @@ -1186,7 +1192,9 @@ class Attributes(Tableau.Attributes): ) # relationship attributes: "TableauProject.Attributes" = Field( - default_factory=lambda: TableauProject.Attributes(), + default_factory=lambda: TableauProject.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1224,7 +1232,7 @@ def projects(self) -> Optional[list[TableauProject]]: @projects.setter def projects(self, projects: Optional[list[TableauProject]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.projects = projects class Attributes(Tableau.Attributes): @@ -1233,7 +1241,9 @@ class Attributes(Tableau.Attributes): ) # relationship attributes: "TableauSite.Attributes" = Field( - default_factory=lambda: TableauSite.Attributes(), + default_factory=lambda: TableauSite.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1365,7 +1375,7 @@ def site_qualified_name(self) -> Optional[str]: @site_qualified_name.setter def site_qualified_name(self, site_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.site_qualified_name = site_qualified_name @property @@ -1377,7 +1387,7 @@ def project_qualified_name(self) -> Optional[str]: @project_qualified_name.setter def project_qualified_name(self, project_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_qualified_name = project_qualified_name @property @@ -1393,7 +1403,7 @@ def top_level_project_qualified_name( self, top_level_project_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.top_level_project_qualified_name = ( top_level_project_qualified_name ) @@ -1407,7 +1417,7 @@ def workbook_qualified_name(self) -> Optional[str]: @workbook_qualified_name.setter def workbook_qualified_name(self, workbook_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workbook_qualified_name = workbook_qualified_name @property @@ -1417,7 +1427,7 @@ def project_hierarchy(self) -> Optional[list[dict[str, str]]]: @project_hierarchy.setter def project_hierarchy(self, project_hierarchy: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_hierarchy = project_hierarchy @property @@ -1427,7 +1437,7 @@ def is_published(self) -> Optional[bool]: @is_published.setter def is_published(self, is_published: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_published = is_published @property @@ -1437,7 +1447,7 @@ def has_extracts(self) -> Optional[bool]: @has_extracts.setter def has_extracts(self, has_extracts: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.has_extracts = has_extracts @property @@ -1447,7 +1457,7 @@ def is_certified(self) -> Optional[bool]: @is_certified.setter def is_certified(self, is_certified: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_certified = is_certified @property @@ -1457,7 +1467,7 @@ def certifier(self) -> Optional[dict[str, str]]: @certifier.setter def certifier(self, certifier: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.certifier = certifier @property @@ -1467,7 +1477,7 @@ def certification_note(self) -> Optional[str]: @certification_note.setter def certification_note(self, certification_note: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.certification_note = certification_note @property @@ -1479,7 +1489,7 @@ def certifier_display_name(self) -> Optional[str]: @certifier_display_name.setter def certifier_display_name(self, certifier_display_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.certifier_display_name = certifier_display_name @property @@ -1489,7 +1499,7 @@ def upstream_tables(self) -> Optional[list[dict[str, str]]]: @upstream_tables.setter def upstream_tables(self, upstream_tables: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.upstream_tables = upstream_tables @property @@ -1501,7 +1511,7 @@ def upstream_datasources( self, upstream_datasources: Optional[list[dict[str, str]]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.upstream_datasources = upstream_datasources @property @@ -1511,7 +1521,7 @@ def workbook(self) -> Optional[TableauWorkbook]: @workbook.setter def workbook(self, workbook: Optional[TableauWorkbook]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workbook = workbook @property @@ -1521,7 +1531,7 @@ def project(self) -> Optional[TableauProject]: @project.setter def project(self, project: Optional[TableauProject]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project = project @property @@ -1531,7 +1541,7 @@ def fields(self) -> Optional[list[TableauDatasourceField]]: @fields.setter def fields(self, fields: Optional[list[TableauDatasourceField]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.fields = fields class Attributes(Tableau.Attributes): @@ -1579,7 +1589,9 @@ class Attributes(Tableau.Attributes): ) # relationship attributes: "TableauDatasource.Attributes" = Field( - default_factory=lambda: TableauDatasource.Attributes(), + default_factory=lambda: TableauDatasource.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1658,7 +1670,7 @@ def site_qualified_name(self) -> Optional[str]: @site_qualified_name.setter def site_qualified_name(self, site_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.site_qualified_name = site_qualified_name @property @@ -1670,7 +1682,7 @@ def project_qualified_name(self) -> Optional[str]: @project_qualified_name.setter def project_qualified_name(self, project_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_qualified_name = project_qualified_name @property @@ -1682,7 +1694,7 @@ def workbook_qualified_name(self) -> Optional[str]: @workbook_qualified_name.setter def workbook_qualified_name(self, workbook_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workbook_qualified_name = workbook_qualified_name @property @@ -1698,7 +1710,7 @@ def top_level_project_qualified_name( self, top_level_project_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.top_level_project_qualified_name = ( top_level_project_qualified_name ) @@ -1710,7 +1722,7 @@ def project_hierarchy(self) -> Optional[list[dict[str, str]]]: @project_hierarchy.setter def project_hierarchy(self, project_hierarchy: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_hierarchy = project_hierarchy @property @@ -1720,7 +1732,7 @@ def workbook(self) -> Optional[TableauWorkbook]: @workbook.setter def workbook(self, workbook: Optional[TableauWorkbook]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workbook = workbook @property @@ -1730,7 +1742,7 @@ def worksheets(self) -> Optional[list[TableauWorksheet]]: @worksheets.setter def worksheets(self, worksheets: Optional[list[TableauWorksheet]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.worksheets = worksheets class Attributes(Tableau.Attributes): @@ -1757,7 +1769,9 @@ class Attributes(Tableau.Attributes): ) # relationship attributes: "TableauDashboard.Attributes" = Field( - default_factory=lambda: TableauDashboard.Attributes(), + default_factory=lambda: TableauDashboard.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1839,7 +1853,7 @@ def site_qualified_name(self) -> Optional[str]: @site_qualified_name.setter def site_qualified_name(self, site_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.site_qualified_name = site_qualified_name @property @@ -1851,7 +1865,7 @@ def project_qualified_name(self) -> Optional[str]: @project_qualified_name.setter def project_qualified_name(self, project_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_qualified_name = project_qualified_name @property @@ -1867,7 +1881,7 @@ def top_level_project_qualified_name( self, top_level_project_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.top_level_project_qualified_name = ( top_level_project_qualified_name ) @@ -1879,7 +1893,7 @@ def project_hierarchy(self) -> Optional[list[dict[str, str]]]: @project_hierarchy.setter def project_hierarchy(self, project_hierarchy: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_hierarchy = project_hierarchy @property @@ -1889,7 +1903,7 @@ def input_fields(self) -> Optional[list[dict[str, str]]]: @input_fields.setter def input_fields(self, input_fields: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.input_fields = input_fields @property @@ -1899,7 +1913,7 @@ def output_fields(self) -> Optional[list[dict[str, str]]]: @output_fields.setter def output_fields(self, output_fields: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.output_fields = output_fields @property @@ -1909,7 +1923,7 @@ def output_steps(self) -> Optional[list[dict[str, str]]]: @output_steps.setter def output_steps(self, output_steps: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.output_steps = output_steps @property @@ -1919,7 +1933,7 @@ def project(self) -> Optional[TableauProject]: @project.setter def project(self, project: Optional[TableauProject]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project = project class Attributes(Tableau.Attributes): @@ -1949,7 +1963,9 @@ class Attributes(Tableau.Attributes): ) # relationship attributes: "TableauFlow.Attributes" = Field( - default_factory=lambda: TableauFlow.Attributes(), + default_factory=lambda: TableauFlow.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -2038,7 +2054,7 @@ def site_qualified_name(self) -> Optional[str]: @site_qualified_name.setter def site_qualified_name(self, site_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.site_qualified_name = site_qualified_name @property @@ -2050,7 +2066,7 @@ def project_qualified_name(self) -> Optional[str]: @project_qualified_name.setter def project_qualified_name(self, project_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_qualified_name = project_qualified_name @property @@ -2066,7 +2082,7 @@ def top_level_project_qualified_name( self, top_level_project_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.top_level_project_qualified_name = ( top_level_project_qualified_name ) @@ -2078,7 +2094,7 @@ def project_hierarchy(self) -> Optional[list[dict[str, str]]]: @project_hierarchy.setter def project_hierarchy(self, project_hierarchy: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_hierarchy = project_hierarchy @property @@ -2090,7 +2106,7 @@ def workbook_qualified_name(self) -> Optional[str]: @workbook_qualified_name.setter def workbook_qualified_name(self, workbook_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workbook_qualified_name = workbook_qualified_name @property @@ -2100,7 +2116,7 @@ def workbook(self) -> Optional[TableauWorkbook]: @workbook.setter def workbook(self, workbook: Optional[TableauWorkbook]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workbook = workbook @property @@ -2112,7 +2128,7 @@ def datasource_fields( self, datasource_fields: Optional[list[TableauDatasourceField]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasource_fields = datasource_fields @property @@ -2124,7 +2140,7 @@ def calculated_fields( self, calculated_fields: Optional[list[TableauCalculatedField]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.calculated_fields = calculated_fields @property @@ -2134,7 +2150,7 @@ def dashboards(self) -> Optional[list[TableauDashboard]]: @dashboards.setter def dashboards(self, dashboards: Optional[list[TableauDashboard]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboards = dashboards class Attributes(Tableau.Attributes): @@ -2167,7 +2183,9 @@ class Attributes(Tableau.Attributes): ) # relationship attributes: "TableauWorksheet.Attributes" = Field( - default_factory=lambda: TableauWorksheet.Attributes(), + default_factory=lambda: TableauWorksheet.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset63.py b/pyatlan/model/assets/asset63.py index 275a8dfae..e4e3b6040 100644 --- a/pyatlan/model/assets/asset63.py +++ b/pyatlan/model/assets/asset63.py @@ -75,7 +75,7 @@ def site_qualified_name(self) -> Optional[str]: @site_qualified_name.setter def site_qualified_name(self, site_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.site_qualified_name = site_qualified_name @property @@ -87,7 +87,7 @@ def project_qualified_name(self) -> Optional[str]: @project_qualified_name.setter def project_qualified_name(self, project_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_qualified_name = project_qualified_name @property @@ -103,7 +103,7 @@ def top_level_project_qualified_name( self, top_level_project_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.top_level_project_qualified_name = ( top_level_project_qualified_name ) @@ -115,7 +115,7 @@ def project_hierarchy(self) -> Optional[list[dict[str, str]]]: @project_hierarchy.setter def project_hierarchy(self, project_hierarchy: Optional[list[dict[str, str]]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_hierarchy = project_hierarchy @property @@ -125,7 +125,7 @@ def project(self) -> Optional[TableauProject]: @project.setter def project(self, project: Optional[TableauProject]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project = project class Attributes(Tableau.Attributes): @@ -146,7 +146,9 @@ class Attributes(Tableau.Attributes): ) # relationship attributes: "TableauMetric.Attributes" = Field( - default_factory=lambda: TableauMetric.Attributes(), + default_factory=lambda: TableauMetric.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset64.py b/pyatlan/model/assets/asset64.py index 6f40fb951..aac4c0a6d 100644 --- a/pyatlan/model/assets/asset64.py +++ b/pyatlan/model/assets/asset64.py @@ -131,7 +131,7 @@ def folder_name(self) -> Optional[str]: @folder_name.setter def folder_name(self, folder_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.folder_name = folder_name @property @@ -141,7 +141,7 @@ def source_user_id(self) -> Optional[int]: @source_user_id.setter def source_user_id(self, source_user_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_user_id = source_user_id @property @@ -151,7 +151,7 @@ def source_view_count(self) -> Optional[int]: @source_view_count.setter def source_view_count(self, source_view_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_view_count = source_view_count @property @@ -163,7 +163,7 @@ def sourcelast_updater_id(self) -> Optional[int]: @sourcelast_updater_id.setter def sourcelast_updater_id(self, sourcelast_updater_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sourcelast_updater_id = sourcelast_updater_id @property @@ -175,7 +175,7 @@ def source_last_accessed_at(self) -> Optional[datetime]: @source_last_accessed_at.setter def source_last_accessed_at(self, source_last_accessed_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_last_accessed_at = source_last_accessed_at @property @@ -187,7 +187,7 @@ def source_last_viewed_at(self) -> Optional[datetime]: @source_last_viewed_at.setter def source_last_viewed_at(self, source_last_viewed_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_last_viewed_at = source_last_viewed_at @property @@ -201,7 +201,7 @@ def source_content_metadata_id(self) -> Optional[int]: @source_content_metadata_id.setter def source_content_metadata_id(self, source_content_metadata_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_content_metadata_id = source_content_metadata_id @property @@ -211,7 +211,7 @@ def source_query_id(self) -> Optional[int]: @source_query_id.setter def source_query_id(self, source_query_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_query_id = source_query_id @property @@ -221,7 +221,7 @@ def model_name(self) -> Optional[str]: @model_name.setter def model_name(self, model_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.model_name = model_name @property @@ -231,7 +231,7 @@ def query(self) -> Optional[LookerQuery]: @query.setter def query(self, query: Optional[LookerQuery]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query = query @property @@ -241,7 +241,7 @@ def folder(self) -> Optional[LookerFolder]: @folder.setter def folder(self, folder: Optional[LookerFolder]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.folder = folder @property @@ -251,7 +251,7 @@ def tile(self) -> Optional[LookerTile]: @tile.setter def tile(self, tile: Optional[LookerTile]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tile = tile @property @@ -261,7 +261,7 @@ def model(self) -> Optional[LookerModel]: @model.setter def model(self, model: Optional[LookerModel]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.model = model @property @@ -271,7 +271,7 @@ def dashboard(self) -> Optional[LookerDashboard]: @dashboard.setter def dashboard(self, dashboard: Optional[LookerDashboard]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboard = dashboard class Attributes(Looker.Attributes): @@ -315,7 +315,9 @@ class Attributes(Looker.Attributes): ) # relationship attributes: "LookerLook.Attributes" = Field( - default_factory=lambda: LookerLook.Attributes(), + default_factory=lambda: LookerLook.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -411,7 +413,7 @@ def folder_name(self) -> Optional[str]: @folder_name.setter def folder_name(self, folder_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.folder_name = folder_name @property @@ -421,7 +423,7 @@ def source_user_id(self) -> Optional[int]: @source_user_id.setter def source_user_id(self, source_user_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_user_id = source_user_id @property @@ -431,7 +433,7 @@ def source_view_count(self) -> Optional[int]: @source_view_count.setter def source_view_count(self, source_view_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_view_count = source_view_count @property @@ -441,7 +443,7 @@ def source_metadata_id(self) -> Optional[int]: @source_metadata_id.setter def source_metadata_id(self, source_metadata_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_metadata_id = source_metadata_id @property @@ -453,7 +455,7 @@ def sourcelast_updater_id(self) -> Optional[int]: @sourcelast_updater_id.setter def sourcelast_updater_id(self, sourcelast_updater_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sourcelast_updater_id = sourcelast_updater_id @property @@ -465,7 +467,7 @@ def source_last_accessed_at(self) -> Optional[datetime]: @source_last_accessed_at.setter def source_last_accessed_at(self, source_last_accessed_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_last_accessed_at = source_last_accessed_at @property @@ -477,7 +479,7 @@ def source_last_viewed_at(self) -> Optional[datetime]: @source_last_viewed_at.setter def source_last_viewed_at(self, source_last_viewed_at: Optional[datetime]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_last_viewed_at = source_last_viewed_at @property @@ -487,7 +489,7 @@ def tiles(self) -> Optional[list[LookerTile]]: @tiles.setter def tiles(self, tiles: Optional[list[LookerTile]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tiles = tiles @property @@ -497,7 +499,7 @@ def looks(self) -> Optional[list[LookerLook]]: @looks.setter def looks(self, looks: Optional[list[LookerLook]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.looks = looks @property @@ -507,7 +509,7 @@ def folder(self) -> Optional[LookerFolder]: @folder.setter def folder(self, folder: Optional[LookerFolder]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.folder = folder class Attributes(Looker.Attributes): @@ -541,7 +543,9 @@ class Attributes(Looker.Attributes): ) # relationship attributes: "LookerDashboard.Attributes" = Field( - default_factory=lambda: LookerDashboard.Attributes(), + default_factory=lambda: LookerDashboard.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -617,7 +621,7 @@ def source_content_metadata_id(self) -> Optional[int]: @source_content_metadata_id.setter def source_content_metadata_id(self, source_content_metadata_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_content_metadata_id = source_content_metadata_id @property @@ -627,7 +631,7 @@ def source_creator_id(self) -> Optional[int]: @source_creator_id.setter def source_creator_id(self, source_creator_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_creator_id = source_creator_id @property @@ -637,7 +641,7 @@ def source_child_count(self) -> Optional[int]: @source_child_count.setter def source_child_count(self, source_child_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_child_count = source_child_count @property @@ -647,7 +651,7 @@ def source_parent_i_d(self) -> Optional[int]: @source_parent_i_d.setter def source_parent_i_d(self, source_parent_i_d: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_parent_i_d = source_parent_i_d @property @@ -657,7 +661,7 @@ def dashboards(self) -> Optional[list[LookerDashboard]]: @dashboards.setter def dashboards(self, dashboards: Optional[list[LookerDashboard]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboards = dashboards @property @@ -667,7 +671,7 @@ def looks(self) -> Optional[list[LookerLook]]: @looks.setter def looks(self, looks: Optional[list[LookerLook]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.looks = looks class Attributes(Looker.Attributes): @@ -691,7 +695,9 @@ class Attributes(Looker.Attributes): ) # relationship attributes: "LookerFolder.Attributes" = Field( - default_factory=lambda: LookerFolder.Attributes(), + default_factory=lambda: LookerFolder.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -781,7 +787,7 @@ def lookml_link_id(self) -> Optional[str]: @lookml_link_id.setter def lookml_link_id(self, lookml_link_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.lookml_link_id = lookml_link_id @property @@ -791,7 +797,7 @@ def merge_result_id(self) -> Optional[str]: @merge_result_id.setter def merge_result_id(self, merge_result_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.merge_result_id = merge_result_id @property @@ -801,7 +807,7 @@ def note_text(self) -> Optional[str]: @note_text.setter def note_text(self, note_text: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.note_text = note_text @property @@ -811,7 +817,7 @@ def query_i_d(self) -> Optional[int]: @query_i_d.setter def query_i_d(self, query_i_d: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query_i_d = query_i_d @property @@ -821,7 +827,7 @@ def result_maker_i_d(self) -> Optional[int]: @result_maker_i_d.setter def result_maker_i_d(self, result_maker_i_d: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.result_maker_i_d = result_maker_i_d @property @@ -831,7 +837,7 @@ def subtitle_text(self) -> Optional[str]: @subtitle_text.setter def subtitle_text(self, subtitle_text: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.subtitle_text = subtitle_text @property @@ -841,7 +847,7 @@ def look_id(self) -> Optional[int]: @look_id.setter def look_id(self, look_id: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.look_id = look_id @property @@ -851,7 +857,7 @@ def query(self) -> Optional[LookerQuery]: @query.setter def query(self, query: Optional[LookerQuery]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.query = query @property @@ -861,7 +867,7 @@ def look(self) -> Optional[LookerLook]: @look.setter def look(self, look: Optional[LookerLook]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.look = look @property @@ -871,7 +877,7 @@ def dashboard(self) -> Optional[LookerDashboard]: @dashboard.setter def dashboard(self, dashboard: Optional[LookerDashboard]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboard = dashboard class Attributes(Looker.Attributes): @@ -899,7 +905,9 @@ class Attributes(Looker.Attributes): ) # relationship attributes: "LookerTile.Attributes" = Field( - default_factory=lambda: LookerTile.Attributes(), + default_factory=lambda: LookerTile.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -963,7 +971,7 @@ def project_name(self) -> Optional[str]: @project_name.setter def project_name(self, project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_name = project_name @property @@ -973,7 +981,7 @@ def explores(self) -> Optional[list[LookerExplore]]: @explores.setter def explores(self, explores: Optional[list[LookerExplore]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.explores = explores @property @@ -983,7 +991,7 @@ def project(self) -> Optional[LookerProject]: @project.setter def project(self, project: Optional[LookerProject]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project = project @property @@ -993,7 +1001,7 @@ def look(self) -> Optional[LookerLook]: @look.setter def look(self, look: Optional[LookerLook]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.look = look @property @@ -1003,7 +1011,7 @@ def queries(self) -> Optional[list[LookerQuery]]: @queries.setter def queries(self, queries: Optional[list[LookerQuery]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.queries = queries @property @@ -1013,7 +1021,7 @@ def fields(self) -> Optional[list[LookerField]]: @fields.setter def fields(self, fields: Optional[list[LookerField]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.fields = fields class Attributes(Looker.Attributes): @@ -1035,7 +1043,9 @@ class Attributes(Looker.Attributes): ) # relationship attributes: "LookerModel.Attributes" = Field( - default_factory=lambda: LookerModel.Attributes(), + default_factory=lambda: LookerModel.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1113,7 +1123,7 @@ def project_name(self) -> Optional[str]: @project_name.setter def project_name(self, project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_name = project_name @property @@ -1123,7 +1133,7 @@ def model_name(self) -> Optional[str]: @model_name.setter def model_name(self, model_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.model_name = model_name @property @@ -1135,7 +1145,7 @@ def source_connection_name(self) -> Optional[str]: @source_connection_name.setter def source_connection_name(self, source_connection_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_connection_name = source_connection_name @property @@ -1145,7 +1155,7 @@ def view_name(self) -> Optional[str]: @view_name.setter def view_name(self, view_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.view_name = view_name @property @@ -1155,7 +1165,7 @@ def sql_table_name(self) -> Optional[str]: @sql_table_name.setter def sql_table_name(self, sql_table_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.sql_table_name = sql_table_name @property @@ -1165,7 +1175,7 @@ def project(self) -> Optional[LookerProject]: @project.setter def project(self, project: Optional[LookerProject]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project = project @property @@ -1175,7 +1185,7 @@ def model(self) -> Optional[LookerModel]: @model.setter def model(self, model: Optional[LookerModel]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.model = model @property @@ -1185,7 +1195,7 @@ def fields(self) -> Optional[list[LookerField]]: @fields.setter def fields(self, fields: Optional[list[LookerField]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.fields = fields class Attributes(Looker.Attributes): @@ -1209,7 +1219,9 @@ class Attributes(Looker.Attributes): ) # relationship attributes: "LookerExplore.Attributes" = Field( - default_factory=lambda: LookerExplore.Attributes(), + default_factory=lambda: LookerExplore.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1262,7 +1274,7 @@ def models(self) -> Optional[list[LookerModel]]: @models.setter def models(self, models: Optional[list[LookerModel]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.models = models @property @@ -1272,7 +1284,7 @@ def explores(self) -> Optional[list[LookerExplore]]: @explores.setter def explores(self, explores: Optional[list[LookerExplore]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.explores = explores @property @@ -1282,7 +1294,7 @@ def fields(self) -> Optional[list[LookerField]]: @fields.setter def fields(self, fields: Optional[list[LookerField]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.fields = fields @property @@ -1292,7 +1304,7 @@ def views(self) -> Optional[list[LookerView]]: @views.setter def views(self, views: Optional[list[LookerView]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.views = views class Attributes(Looker.Attributes): @@ -1310,7 +1322,9 @@ class Attributes(Looker.Attributes): ) # relationship attributes: "LookerProject.Attributes" = Field( - default_factory=lambda: LookerProject.Attributes(), + default_factory=lambda: LookerProject.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1385,7 +1399,7 @@ def source_definition(self) -> Optional[str]: @source_definition.setter def source_definition(self, source_definition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_definition = source_definition @property @@ -1399,7 +1413,7 @@ def source_definition_database(self) -> Optional[str]: @source_definition_database.setter def source_definition_database(self, source_definition_database: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_definition_database = source_definition_database @property @@ -1413,7 +1427,7 @@ def source_definition_schema(self) -> Optional[str]: @source_definition_schema.setter def source_definition_schema(self, source_definition_schema: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_definition_schema = source_definition_schema @property @@ -1423,7 +1437,7 @@ def fields(self) -> Optional[set[str]]: @fields.setter def fields(self, fields: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.fields = fields @property @@ -1433,7 +1447,7 @@ def tiles(self) -> Optional[list[LookerTile]]: @tiles.setter def tiles(self, tiles: Optional[list[LookerTile]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tiles = tiles @property @@ -1443,7 +1457,7 @@ def looks(self) -> Optional[list[LookerLook]]: @looks.setter def looks(self, looks: Optional[list[LookerLook]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.looks = looks @property @@ -1453,7 +1467,7 @@ def model(self) -> Optional[LookerModel]: @model.setter def model(self, model: Optional[LookerModel]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.model = model class Attributes(Looker.Attributes): @@ -1478,7 +1492,9 @@ class Attributes(Looker.Attributes): ) # relationship attributes: "LookerQuery.Attributes" = Field( - default_factory=lambda: LookerQuery.Attributes(), + default_factory=lambda: LookerQuery.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1581,7 +1597,7 @@ def project_name(self) -> Optional[str]: @project_name.setter def project_name(self, project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_name = project_name @property @@ -1597,7 +1613,7 @@ def looker_explore_qualified_name( self, looker_explore_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.looker_explore_qualified_name = looker_explore_qualified_name @property @@ -1611,7 +1627,7 @@ def looker_view_qualified_name(self) -> Optional[str]: @looker_view_qualified_name.setter def looker_view_qualified_name(self, looker_view_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.looker_view_qualified_name = looker_view_qualified_name @property @@ -1621,7 +1637,7 @@ def model_name(self) -> Optional[str]: @model_name.setter def model_name(self, model_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.model_name = model_name @property @@ -1631,7 +1647,7 @@ def source_definition(self) -> Optional[str]: @source_definition.setter def source_definition(self, source_definition: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_definition = source_definition @property @@ -1643,7 +1659,7 @@ def looker_field_data_type(self) -> Optional[str]: @looker_field_data_type.setter def looker_field_data_type(self, looker_field_data_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.looker_field_data_type = looker_field_data_type @property @@ -1653,7 +1669,7 @@ def looker_times_used(self) -> Optional[int]: @looker_times_used.setter def looker_times_used(self, looker_times_used: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.looker_times_used = looker_times_used @property @@ -1663,7 +1679,7 @@ def explore(self) -> Optional[LookerExplore]: @explore.setter def explore(self, explore: Optional[LookerExplore]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.explore = explore @property @@ -1673,7 +1689,7 @@ def project(self) -> Optional[LookerProject]: @project.setter def project(self, project: Optional[LookerProject]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project = project @property @@ -1683,7 +1699,7 @@ def view(self) -> Optional[LookerView]: @view.setter def view(self, view: Optional[LookerView]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.view = view @property @@ -1693,7 +1709,7 @@ def model(self) -> Optional[LookerModel]: @model.setter def model(self, model: Optional[LookerModel]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.model = model class Attributes(Looker.Attributes): @@ -1728,7 +1744,9 @@ class Attributes(Looker.Attributes): ) # relationship attributes: "LookerField.Attributes" = Field( - default_factory=lambda: LookerField.Attributes(), + default_factory=lambda: LookerField.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1791,7 +1809,7 @@ def project_name(self) -> Optional[str]: @project_name.setter def project_name(self, project_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project_name = project_name @property @@ -1803,7 +1821,7 @@ def looker_view_file_path(self) -> Optional[str]: @looker_view_file_path.setter def looker_view_file_path(self, looker_view_file_path: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.looker_view_file_path = looker_view_file_path @property @@ -1815,7 +1833,7 @@ def looker_view_file_name(self) -> Optional[str]: @looker_view_file_name.setter def looker_view_file_name(self, looker_view_file_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.looker_view_file_name = looker_view_file_name @property @@ -1825,7 +1843,7 @@ def project(self) -> Optional[LookerProject]: @project.setter def project(self, project: Optional[LookerProject]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.project = project @property @@ -1835,7 +1853,7 @@ def fields(self) -> Optional[list[LookerField]]: @fields.setter def fields(self, fields: Optional[list[LookerField]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.fields = fields class Attributes(Looker.Attributes): @@ -1854,7 +1872,9 @@ class Attributes(Looker.Attributes): ) # relationship attributes: "LookerView.Attributes" = Field( - default_factory=lambda: LookerView.Attributes(), + default_factory=lambda: LookerView.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset65.py b/pyatlan/model/assets/asset65.py index 51f0e1a91..e6028ad6e 100644 --- a/pyatlan/model/assets/asset65.py +++ b/pyatlan/model/assets/asset65.py @@ -53,7 +53,7 @@ def redash_dashboard_widget_count( self, redash_dashboard_widget_count: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_dashboard_widget_count = redash_dashboard_widget_count class Attributes(Redash.Attributes): @@ -62,7 +62,9 @@ class Attributes(Redash.Attributes): ) attributes: "RedashDashboard.Attributes" = Field( - default_factory=lambda: RedashDashboard.Attributes(), + default_factory=lambda: RedashDashboard.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset66.py b/pyatlan/model/assets/asset66.py index 18ec45611..0f4069d1f 100644 --- a/pyatlan/model/assets/asset66.py +++ b/pyatlan/model/assets/asset66.py @@ -98,7 +98,7 @@ def redash_query_s_q_l(self) -> Optional[str]: @redash_query_s_q_l.setter def redash_query_s_q_l(self, redash_query_s_q_l: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_query_s_q_l = redash_query_s_q_l @property @@ -110,7 +110,7 @@ def redash_query_parameters(self) -> Optional[str]: @redash_query_parameters.setter def redash_query_parameters(self, redash_query_parameters: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_query_parameters = redash_query_parameters @property @@ -122,7 +122,7 @@ def redash_query_schedule(self) -> Optional[dict[str, str]]: @redash_query_schedule.setter def redash_query_schedule(self, redash_query_schedule: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_query_schedule = redash_query_schedule @property @@ -138,7 +138,7 @@ def redash_query_last_execution_runtime( self, redash_query_last_execution_runtime: Optional[float] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_query_last_execution_runtime = ( redash_query_last_execution_runtime ) @@ -156,7 +156,7 @@ def redash_query_last_executed_at( self, redash_query_last_executed_at: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_query_last_executed_at = redash_query_last_executed_at @property @@ -172,7 +172,7 @@ def redash_query_schedule_humanized( self, redash_query_schedule_humanized: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_query_schedule_humanized = ( redash_query_schedule_humanized ) @@ -188,7 +188,7 @@ def redash_visualizations( self, redash_visualizations: Optional[list[RedashVisualization]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_visualizations = redash_visualizations class Attributes(Redash.Attributes): @@ -215,7 +215,9 @@ class Attributes(Redash.Attributes): ) # relationship attributes: "RedashQuery.Attributes" = Field( - default_factory=lambda: RedashQuery.Attributes(), + default_factory=lambda: RedashQuery.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -281,7 +283,7 @@ def redash_visualization_type(self) -> Optional[str]: @redash_visualization_type.setter def redash_visualization_type(self, redash_visualization_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_visualization_type = redash_visualization_type @property @@ -291,7 +293,7 @@ def redash_query_name(self) -> Optional[str]: @redash_query_name.setter def redash_query_name(self, redash_query_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_query_name = redash_query_name @property @@ -305,7 +307,7 @@ def redash_query_qualified_name(self) -> Optional[str]: @redash_query_qualified_name.setter def redash_query_qualified_name(self, redash_query_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_query_qualified_name = redash_query_qualified_name @property @@ -315,7 +317,7 @@ def redash_query(self) -> Optional[RedashQuery]: @redash_query.setter def redash_query(self, redash_query: Optional[RedashQuery]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.redash_query = redash_query class Attributes(Redash.Attributes): @@ -333,7 +335,9 @@ class Attributes(Redash.Attributes): ) # relationship attributes: "RedashVisualization.Attributes" = Field( - default_factory=lambda: RedashVisualization.Attributes(), + default_factory=lambda: RedashVisualization.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset67.py b/pyatlan/model/assets/asset67.py index 55a99f5fa..73db33eb9 100644 --- a/pyatlan/model/assets/asset67.py +++ b/pyatlan/model/assets/asset67.py @@ -82,7 +82,7 @@ def metabase_dashboard_count(self) -> Optional[int]: @metabase_dashboard_count.setter def metabase_dashboard_count(self, metabase_dashboard_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_dashboard_count = metabase_dashboard_count @property @@ -92,7 +92,7 @@ def metabase_query_type(self) -> Optional[str]: @metabase_query_type.setter def metabase_query_type(self, metabase_query_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_query_type = metabase_query_type @property @@ -102,7 +102,7 @@ def metabase_query(self) -> Optional[str]: @metabase_query.setter def metabase_query(self, metabase_query: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_query = metabase_query @property @@ -114,7 +114,7 @@ def metabase_dashboards( self, metabase_dashboards: Optional[list[MetabaseDashboard]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_dashboards = metabase_dashboards @property @@ -124,7 +124,7 @@ def metabase_collection(self) -> Optional[MetabaseCollection]: @metabase_collection.setter def metabase_collection(self, metabase_collection: Optional[MetabaseCollection]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_collection = metabase_collection class Attributes(Metabase.Attributes): @@ -145,7 +145,9 @@ class Attributes(Metabase.Attributes): ) # relationship attributes: "MetabaseQuestion.Attributes" = Field( - default_factory=lambda: MetabaseQuestion.Attributes(), + default_factory=lambda: MetabaseQuestion.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -217,7 +219,7 @@ def metabase_slug(self) -> Optional[str]: @metabase_slug.setter def metabase_slug(self, metabase_slug: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_slug = metabase_slug @property @@ -227,7 +229,7 @@ def metabase_color(self) -> Optional[str]: @metabase_color.setter def metabase_color(self, metabase_color: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_color = metabase_color @property @@ -237,7 +239,7 @@ def metabase_namespace(self) -> Optional[str]: @metabase_namespace.setter def metabase_namespace(self, metabase_namespace: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_namespace = metabase_namespace @property @@ -253,7 +255,7 @@ def metabase_is_personal_collection( self, metabase_is_personal_collection: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_is_personal_collection = ( metabase_is_personal_collection ) @@ -267,7 +269,7 @@ def metabase_dashboards( self, metabase_dashboards: Optional[list[MetabaseDashboard]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_dashboards = metabase_dashboards @property @@ -277,7 +279,7 @@ def metabase_questions(self) -> Optional[list[MetabaseQuestion]]: @metabase_questions.setter def metabase_questions(self, metabase_questions: Optional[list[MetabaseQuestion]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_questions = metabase_questions class Attributes(Metabase.Attributes): @@ -299,7 +301,9 @@ class Attributes(Metabase.Attributes): ) # relationship attributes: "MetabaseCollection.Attributes" = Field( - default_factory=lambda: MetabaseCollection.Attributes(), + default_factory=lambda: MetabaseCollection.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -352,7 +356,7 @@ def metabase_question_count(self) -> Optional[int]: @metabase_question_count.setter def metabase_question_count(self, metabase_question_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_question_count = metabase_question_count @property @@ -362,7 +366,7 @@ def metabase_questions(self) -> Optional[list[MetabaseQuestion]]: @metabase_questions.setter def metabase_questions(self, metabase_questions: Optional[list[MetabaseQuestion]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_questions = metabase_questions @property @@ -372,7 +376,7 @@ def metabase_collection(self) -> Optional[MetabaseCollection]: @metabase_collection.setter def metabase_collection(self, metabase_collection: Optional[MetabaseCollection]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.metabase_collection = metabase_collection class Attributes(Metabase.Attributes): @@ -387,7 +391,9 @@ class Attributes(Metabase.Attributes): ) # relationship attributes: "MetabaseDashboard.Attributes" = Field( - default_factory=lambda: MetabaseDashboard.Attributes(), + default_factory=lambda: MetabaseDashboard.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset68.py b/pyatlan/model/assets/asset68.py index 955b2a3fb..6dcc8b048 100644 --- a/pyatlan/model/assets/asset68.py +++ b/pyatlan/model/assets/asset68.py @@ -88,7 +88,7 @@ def quick_sight_folder_type( self, quick_sight_folder_type: Optional[QuickSightFolderType] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_folder_type = quick_sight_folder_type @property @@ -104,7 +104,7 @@ def quick_sight_folder_hierarchy( self, quick_sight_folder_hierarchy: Optional[list[dict[str, str]]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_folder_hierarchy = quick_sight_folder_hierarchy @property @@ -118,7 +118,7 @@ def quick_sight_dashboards( self, quick_sight_dashboards: Optional[list[QuickSightDashboard]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dashboards = quick_sight_dashboards @property @@ -130,7 +130,7 @@ def quick_sight_datasets( self, quick_sight_datasets: Optional[list[QuickSightDataset]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_datasets = quick_sight_datasets @property @@ -142,7 +142,7 @@ def quick_sight_analyses( self, quick_sight_analyses: Optional[list[QuickSightAnalysis]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_analyses = quick_sight_analyses class Attributes(QuickSight.Attributes): @@ -163,7 +163,9 @@ class Attributes(QuickSight.Attributes): ) # relationship attributes: "QuickSightFolder.Attributes" = Field( - default_factory=lambda: QuickSightFolder.Attributes(), + default_factory=lambda: QuickSightFolder.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -219,7 +221,7 @@ def quick_sight_dashboard_qualified_name( self, quick_sight_dashboard_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dashboard_qualified_name = ( quick_sight_dashboard_qualified_name ) @@ -235,7 +237,7 @@ def quick_sight_dashboard( self, quick_sight_dashboard: Optional[QuickSightDashboard] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dashboard = quick_sight_dashboard class Attributes(QuickSight.Attributes): @@ -247,7 +249,9 @@ class Attributes(QuickSight.Attributes): ) # relationship attributes: "QuickSightDashboardVisual.Attributes" = Field( - default_factory=lambda: QuickSightDashboardVisual.Attributes(), + default_factory=lambda: QuickSightDashboardVisual.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -301,7 +305,7 @@ def quick_sight_analysis_qualified_name( self, quick_sight_analysis_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_analysis_qualified_name = ( quick_sight_analysis_qualified_name ) @@ -313,7 +317,7 @@ def quick_sight_analysis(self) -> Optional[QuickSightAnalysis]: @quick_sight_analysis.setter def quick_sight_analysis(self, quick_sight_analysis: Optional[QuickSightAnalysis]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_analysis = quick_sight_analysis class Attributes(QuickSight.Attributes): @@ -325,7 +329,9 @@ class Attributes(QuickSight.Attributes): ) # relationship attributes: "QuickSightAnalysisVisual.Attributes" = Field( - default_factory=lambda: QuickSightAnalysisVisual.Attributes(), + default_factory=lambda: QuickSightAnalysisVisual.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -386,7 +392,7 @@ def quick_sight_dataset_field_type( self, quick_sight_dataset_field_type: Optional[QuickSightDatasetFieldType] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dataset_field_type = quick_sight_dataset_field_type @property @@ -402,7 +408,7 @@ def quick_sight_dataset_qualified_name( self, quick_sight_dataset_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dataset_qualified_name = ( quick_sight_dataset_qualified_name ) @@ -414,7 +420,7 @@ def quick_sight_dataset(self) -> Optional[QuickSightDataset]: @quick_sight_dataset.setter def quick_sight_dataset(self, quick_sight_dataset: Optional[QuickSightDataset]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dataset = quick_sight_dataset class Attributes(QuickSight.Attributes): @@ -429,7 +435,9 @@ class Attributes(QuickSight.Attributes): ) # relationship attributes: "QuickSightDatasetField.Attributes" = Field( - default_factory=lambda: QuickSightDatasetField.Attributes(), + default_factory=lambda: QuickSightDatasetField.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -512,7 +520,7 @@ def quick_sight_analysis_status( self, quick_sight_analysis_status: Optional[QuickSightAnalysisStatus] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_analysis_status = quick_sight_analysis_status @property @@ -528,7 +536,7 @@ def quick_sight_analysis_calculated_fields( self, quick_sight_analysis_calculated_fields: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_analysis_calculated_fields = ( quick_sight_analysis_calculated_fields ) @@ -546,7 +554,7 @@ def quick_sight_analysis_parameter_declarations( self, quick_sight_analysis_parameter_declarations: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_analysis_parameter_declarations = ( quick_sight_analysis_parameter_declarations ) @@ -564,7 +572,7 @@ def quick_sight_analysis_filter_groups( self, quick_sight_analysis_filter_groups: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_analysis_filter_groups = ( quick_sight_analysis_filter_groups ) @@ -582,7 +590,7 @@ def quick_sight_analysis_visuals( self, quick_sight_analysis_visuals: Optional[list[QuickSightAnalysisVisual]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_analysis_visuals = quick_sight_analysis_visuals @property @@ -598,7 +606,7 @@ def quick_sight_analysis_folders( self, quick_sight_analysis_folders: Optional[list[QuickSightFolder]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_analysis_folders = quick_sight_analysis_folders class Attributes(QuickSight.Attributes): @@ -622,7 +630,9 @@ class Attributes(QuickSight.Attributes): ) # relationship attributes: "QuickSightAnalysis.Attributes" = Field( - default_factory=lambda: QuickSightAnalysis.Attributes(), + default_factory=lambda: QuickSightAnalysis.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -693,7 +703,7 @@ def quick_sight_dashboard_published_version_number( self, quick_sight_dashboard_published_version_number: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dashboard_published_version_number = ( quick_sight_dashboard_published_version_number ) @@ -711,7 +721,7 @@ def quick_sight_dashboard_last_published_time( self, quick_sight_dashboard_last_published_time: Optional[datetime] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dashboard_last_published_time = ( quick_sight_dashboard_last_published_time ) @@ -729,7 +739,7 @@ def quick_sight_dashboard_folders( self, quick_sight_dashboard_folders: Optional[list[QuickSightFolder]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dashboard_folders = quick_sight_dashboard_folders @property @@ -747,7 +757,7 @@ def quick_sight_dashboard_visuals( self, quick_sight_dashboard_visuals: Optional[list[QuickSightDashboardVisual]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dashboard_visuals = quick_sight_dashboard_visuals class Attributes(QuickSight.Attributes): @@ -767,7 +777,9 @@ class Attributes(QuickSight.Attributes): ) # relationship attributes: "QuickSightDashboard.Attributes" = Field( - default_factory=lambda: QuickSightDashboard.Attributes(), + default_factory=lambda: QuickSightDashboard.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -835,7 +847,7 @@ def quick_sight_dataset_import_mode( self, quick_sight_dataset_import_mode: Optional[QuickSightDatasetImportMode] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dataset_import_mode = ( quick_sight_dataset_import_mode ) @@ -853,7 +865,7 @@ def quick_sight_dataset_column_count( self, quick_sight_dataset_column_count: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dataset_column_count = ( quick_sight_dataset_column_count ) @@ -871,7 +883,7 @@ def quick_sight_dataset_folders( self, quick_sight_dataset_folders: Optional[list[QuickSightFolder]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dataset_folders = quick_sight_dataset_folders @property @@ -887,7 +899,7 @@ def quick_sight_dataset_fields( self, quick_sight_dataset_fields: Optional[list[QuickSightDatasetField]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.quick_sight_dataset_fields = quick_sight_dataset_fields class Attributes(QuickSight.Attributes): @@ -905,7 +917,9 @@ class Attributes(QuickSight.Attributes): ) # relationship attributes: "QuickSightDataset.Attributes" = Field( - default_factory=lambda: QuickSightDataset.Attributes(), + default_factory=lambda: QuickSightDataset.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset69.py b/pyatlan/model/assets/asset69.py index 654bb186d..0018e8ff4 100644 --- a/pyatlan/model/assets/asset69.py +++ b/pyatlan/model/assets/asset69.py @@ -47,7 +47,7 @@ def thoughtspot_dashlets( self, thoughtspot_dashlets: Optional[list[ThoughtspotDashlet]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.thoughtspot_dashlets = thoughtspot_dashlets class Attributes(Thoughtspot.Attributes): @@ -56,7 +56,9 @@ class Attributes(Thoughtspot.Attributes): ) # relationship attributes: "ThoughtspotLiveboard.Attributes" = Field( - default_factory=lambda: ThoughtspotLiveboard.Attributes(), + default_factory=lambda: ThoughtspotLiveboard.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -119,7 +121,7 @@ def thoughtspot_liveboard_name(self) -> Optional[str]: @thoughtspot_liveboard_name.setter def thoughtspot_liveboard_name(self, thoughtspot_liveboard_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.thoughtspot_liveboard_name = thoughtspot_liveboard_name @property @@ -135,7 +137,7 @@ def thoughtspot_liveboard_qualified_name( self, thoughtspot_liveboard_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.thoughtspot_liveboard_qualified_name = ( thoughtspot_liveboard_qualified_name ) @@ -151,7 +153,7 @@ def thoughtspot_liveboard( self, thoughtspot_liveboard: Optional[ThoughtspotLiveboard] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.thoughtspot_liveboard = thoughtspot_liveboard class Attributes(Thoughtspot.Attributes): @@ -166,7 +168,9 @@ class Attributes(Thoughtspot.Attributes): ) # relationship attributes: "ThoughtspotDashlet.Attributes" = Field( - default_factory=lambda: ThoughtspotDashlet.Attributes(), + default_factory=lambda: ThoughtspotDashlet.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset71.py b/pyatlan/model/assets/asset71.py index 075e7724a..ced46c16d 100644 --- a/pyatlan/model/assets/asset71.py +++ b/pyatlan/model/assets/asset71.py @@ -95,7 +95,7 @@ def workspace_qualified_name(self) -> Optional[str]: @workspace_qualified_name.setter def workspace_qualified_name(self, workspace_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace_qualified_name = workspace_qualified_name @property @@ -107,7 +107,7 @@ def dataset_qualified_name(self) -> Optional[str]: @dataset_qualified_name.setter def dataset_qualified_name(self, dataset_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dataset_qualified_name = dataset_qualified_name @property @@ -117,7 +117,7 @@ def web_url(self) -> Optional[str]: @web_url.setter def web_url(self, web_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.web_url = web_url @property @@ -127,7 +127,7 @@ def page_count(self) -> Optional[int]: @page_count.setter def page_count(self, page_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.page_count = page_count @property @@ -137,7 +137,7 @@ def workspace(self) -> Optional[PowerBIWorkspace]: @workspace.setter def workspace(self, workspace: Optional[PowerBIWorkspace]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace = workspace @property @@ -147,7 +147,7 @@ def tiles(self) -> Optional[list[PowerBITile]]: @tiles.setter def tiles(self, tiles: Optional[list[PowerBITile]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tiles = tiles @property @@ -157,7 +157,7 @@ def pages(self) -> Optional[list[PowerBIPage]]: @pages.setter def pages(self, pages: Optional[list[PowerBIPage]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.pages = pages @property @@ -167,7 +167,7 @@ def dataset(self) -> Optional[PowerBIDataset]: @dataset.setter def dataset(self, dataset: Optional[PowerBIDataset]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dataset = dataset class Attributes(PowerBI.Attributes): @@ -193,7 +193,9 @@ class Attributes(PowerBI.Attributes): ) # relationship attributes: "PowerBIReport.Attributes" = Field( - default_factory=lambda: PowerBIReport.Attributes(), + default_factory=lambda: PowerBIReport.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -264,7 +266,7 @@ def workspace_qualified_name(self) -> Optional[str]: @workspace_qualified_name.setter def workspace_qualified_name(self, workspace_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace_qualified_name = workspace_qualified_name @property @@ -276,7 +278,7 @@ def dataset_qualified_name(self) -> Optional[str]: @dataset_qualified_name.setter def dataset_qualified_name(self, dataset_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dataset_qualified_name = dataset_qualified_name @property @@ -290,7 +292,7 @@ def power_b_i_measure_expression(self) -> Optional[str]: @power_b_i_measure_expression.setter def power_b_i_measure_expression(self, power_b_i_measure_expression: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_measure_expression = power_b_i_measure_expression @property @@ -306,7 +308,7 @@ def power_b_i_is_external_measure( self, power_b_i_is_external_measure: Optional[bool] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_is_external_measure = power_b_i_is_external_measure @property @@ -316,7 +318,7 @@ def table(self) -> Optional[PowerBITable]: @table.setter def table(self, table: Optional[PowerBITable]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.table = table class Attributes(PowerBI.Attributes): @@ -337,7 +339,9 @@ class Attributes(PowerBI.Attributes): ) # relationship attributes: "PowerBIMeasure.Attributes" = Field( - default_factory=lambda: PowerBIMeasure.Attributes(), + default_factory=lambda: PowerBIMeasure.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -422,7 +426,7 @@ def workspace_qualified_name(self) -> Optional[str]: @workspace_qualified_name.setter def workspace_qualified_name(self, workspace_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace_qualified_name = workspace_qualified_name @property @@ -434,7 +438,7 @@ def dataset_qualified_name(self) -> Optional[str]: @dataset_qualified_name.setter def dataset_qualified_name(self, dataset_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dataset_qualified_name = dataset_qualified_name @property @@ -450,7 +454,7 @@ def power_b_i_column_data_category( self, power_b_i_column_data_category: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_column_data_category = power_b_i_column_data_category @property @@ -464,7 +468,7 @@ def power_b_i_column_data_type(self) -> Optional[str]: @power_b_i_column_data_type.setter def power_b_i_column_data_type(self, power_b_i_column_data_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_column_data_type = power_b_i_column_data_type @property @@ -478,7 +482,7 @@ def power_b_i_sort_by_column(self) -> Optional[str]: @power_b_i_sort_by_column.setter def power_b_i_sort_by_column(self, power_b_i_sort_by_column: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_sort_by_column = power_b_i_sort_by_column @property @@ -494,7 +498,7 @@ def power_b_i_column_summarize_by( self, power_b_i_column_summarize_by: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_column_summarize_by = power_b_i_column_summarize_by @property @@ -504,7 +508,7 @@ def table(self) -> Optional[PowerBITable]: @table.setter def table(self, table: Optional[PowerBITable]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.table = table class Attributes(PowerBI.Attributes): @@ -531,7 +535,9 @@ class Attributes(PowerBI.Attributes): ) # relationship attributes: "PowerBIColumn.Attributes" = Field( - default_factory=lambda: PowerBIColumn.Attributes(), + default_factory=lambda: PowerBIColumn.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -619,7 +625,7 @@ def workspace_qualified_name(self) -> Optional[str]: @workspace_qualified_name.setter def workspace_qualified_name(self, workspace_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace_qualified_name = workspace_qualified_name @property @@ -631,7 +637,7 @@ def dataset_qualified_name(self) -> Optional[str]: @dataset_qualified_name.setter def dataset_qualified_name(self, dataset_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dataset_qualified_name = dataset_qualified_name @property @@ -647,7 +653,7 @@ def power_b_i_table_source_expressions( self, power_b_i_table_source_expressions: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_table_source_expressions = ( power_b_i_table_source_expressions ) @@ -663,7 +669,7 @@ def power_b_i_table_column_count(self) -> Optional[int]: @power_b_i_table_column_count.setter def power_b_i_table_column_count(self, power_b_i_table_column_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_table_column_count = power_b_i_table_column_count @property @@ -679,7 +685,7 @@ def power_b_i_table_measure_count( self, power_b_i_table_measure_count: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.power_b_i_table_measure_count = power_b_i_table_measure_count @property @@ -689,7 +695,7 @@ def columns(self) -> Optional[list[PowerBIColumn]]: @columns.setter def columns(self, columns: Optional[list[PowerBIColumn]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.columns = columns @property @@ -699,7 +705,7 @@ def measures(self) -> Optional[list[PowerBIMeasure]]: @measures.setter def measures(self, measures: Optional[list[PowerBIMeasure]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.measures = measures @property @@ -709,7 +715,7 @@ def dataset(self) -> Optional[PowerBIDataset]: @dataset.setter def dataset(self, dataset: Optional[PowerBIDataset]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dataset = dataset class Attributes(PowerBI.Attributes): @@ -739,7 +745,9 @@ class Attributes(PowerBI.Attributes): ) # relationship attributes: "PowerBITable.Attributes" = Field( - default_factory=lambda: PowerBITable.Attributes(), + default_factory=lambda: PowerBITable.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -806,7 +814,7 @@ def workspace_qualified_name(self) -> Optional[str]: @workspace_qualified_name.setter def workspace_qualified_name(self, workspace_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace_qualified_name = workspace_qualified_name @property @@ -820,7 +828,7 @@ def dashboard_qualified_name(self) -> Optional[str]: @dashboard_qualified_name.setter def dashboard_qualified_name(self, dashboard_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboard_qualified_name = dashboard_qualified_name @property @@ -830,7 +838,7 @@ def report(self) -> Optional[PowerBIReport]: @report.setter def report(self, report: Optional[PowerBIReport]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.report = report @property @@ -840,7 +848,7 @@ def dataset(self) -> Optional[PowerBIDataset]: @dataset.setter def dataset(self, dataset: Optional[PowerBIDataset]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dataset = dataset @property @@ -850,7 +858,7 @@ def dashboard(self) -> Optional[PowerBIDashboard]: @dashboard.setter def dashboard(self, dashboard: Optional[PowerBIDashboard]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboard = dashboard class Attributes(PowerBI.Attributes): @@ -871,7 +879,9 @@ class Attributes(PowerBI.Attributes): ) # relationship attributes: "PowerBITile.Attributes" = Field( - default_factory=lambda: PowerBITile.Attributes(), + default_factory=lambda: PowerBITile.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -917,7 +927,7 @@ def connection_details(self) -> Optional[dict[str, str]]: @connection_details.setter def connection_details(self, connection_details: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.connection_details = connection_details @property @@ -927,7 +937,7 @@ def datasets(self) -> Optional[list[PowerBIDataset]]: @datasets.setter def datasets(self, datasets: Optional[list[PowerBIDataset]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasets = datasets class Attributes(PowerBI.Attributes): @@ -939,7 +949,9 @@ class Attributes(PowerBI.Attributes): ) # relationship attributes: "PowerBIDatasource.Attributes" = Field( - default_factory=lambda: PowerBIDatasource.Attributes(), + default_factory=lambda: PowerBIDatasource.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1022,7 +1034,7 @@ def web_url(self) -> Optional[str]: @web_url.setter def web_url(self, web_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.web_url = web_url @property @@ -1032,7 +1044,7 @@ def report_count(self) -> Optional[int]: @report_count.setter def report_count(self, report_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.report_count = report_count @property @@ -1042,7 +1054,7 @@ def dashboard_count(self) -> Optional[int]: @dashboard_count.setter def dashboard_count(self, dashboard_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboard_count = dashboard_count @property @@ -1052,7 +1064,7 @@ def dataset_count(self) -> Optional[int]: @dataset_count.setter def dataset_count(self, dataset_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dataset_count = dataset_count @property @@ -1062,7 +1074,7 @@ def dataflow_count(self) -> Optional[int]: @dataflow_count.setter def dataflow_count(self, dataflow_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dataflow_count = dataflow_count @property @@ -1072,7 +1084,7 @@ def reports(self) -> Optional[list[PowerBIReport]]: @reports.setter def reports(self, reports: Optional[list[PowerBIReport]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.reports = reports @property @@ -1082,7 +1094,7 @@ def datasets(self) -> Optional[list[PowerBIDataset]]: @datasets.setter def datasets(self, datasets: Optional[list[PowerBIDataset]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasets = datasets @property @@ -1092,7 +1104,7 @@ def dashboards(self) -> Optional[list[PowerBIDashboard]]: @dashboards.setter def dashboards(self, dashboards: Optional[list[PowerBIDashboard]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboards = dashboards @property @@ -1102,7 +1114,7 @@ def dataflows(self) -> Optional[list[PowerBIDataflow]]: @dataflows.setter def dataflows(self, dataflows: Optional[list[PowerBIDataflow]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dataflows = dataflows class Attributes(PowerBI.Attributes): @@ -1129,7 +1141,9 @@ class Attributes(PowerBI.Attributes): ) # relationship attributes: "PowerBIWorkspace.Attributes" = Field( - default_factory=lambda: PowerBIWorkspace.Attributes(), + default_factory=lambda: PowerBIWorkspace.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1209,7 +1223,7 @@ def workspace_qualified_name(self) -> Optional[str]: @workspace_qualified_name.setter def workspace_qualified_name(self, workspace_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace_qualified_name = workspace_qualified_name @property @@ -1219,7 +1233,7 @@ def web_url(self) -> Optional[str]: @web_url.setter def web_url(self, web_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.web_url = web_url @property @@ -1229,7 +1243,7 @@ def reports(self) -> Optional[list[PowerBIReport]]: @reports.setter def reports(self, reports: Optional[list[PowerBIReport]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.reports = reports @property @@ -1239,7 +1253,7 @@ def workspace(self) -> Optional[PowerBIWorkspace]: @workspace.setter def workspace(self, workspace: Optional[PowerBIWorkspace]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace = workspace @property @@ -1249,7 +1263,7 @@ def dataflows(self) -> Optional[list[PowerBIDataflow]]: @dataflows.setter def dataflows(self, dataflows: Optional[list[PowerBIDataflow]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dataflows = dataflows @property @@ -1259,7 +1273,7 @@ def tiles(self) -> Optional[list[PowerBITile]]: @tiles.setter def tiles(self, tiles: Optional[list[PowerBITile]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tiles = tiles @property @@ -1269,7 +1283,7 @@ def tables(self) -> Optional[list[PowerBITable]]: @tables.setter def tables(self, tables: Optional[list[PowerBITable]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tables = tables @property @@ -1279,7 +1293,7 @@ def datasources(self) -> Optional[list[PowerBIDatasource]]: @datasources.setter def datasources(self, datasources: Optional[list[PowerBIDatasource]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasources = datasources class Attributes(PowerBI.Attributes): @@ -1307,7 +1321,9 @@ class Attributes(PowerBI.Attributes): ) # relationship attributes: "PowerBIDataset.Attributes" = Field( - default_factory=lambda: PowerBIDataset.Attributes(), + default_factory=lambda: PowerBIDataset.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1372,7 +1388,7 @@ def workspace_qualified_name(self) -> Optional[str]: @workspace_qualified_name.setter def workspace_qualified_name(self, workspace_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace_qualified_name = workspace_qualified_name @property @@ -1382,7 +1398,7 @@ def web_url(self) -> Optional[str]: @web_url.setter def web_url(self, web_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.web_url = web_url @property @@ -1392,7 +1408,7 @@ def tile_count(self) -> Optional[int]: @tile_count.setter def tile_count(self, tile_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tile_count = tile_count @property @@ -1402,7 +1418,7 @@ def workspace(self) -> Optional[PowerBIWorkspace]: @workspace.setter def workspace(self, workspace: Optional[PowerBIWorkspace]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace = workspace @property @@ -1412,7 +1428,7 @@ def tiles(self) -> Optional[list[PowerBITile]]: @tiles.setter def tiles(self, tiles: Optional[list[PowerBITile]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.tiles = tiles class Attributes(PowerBI.Attributes): @@ -1429,7 +1445,9 @@ class Attributes(PowerBI.Attributes): ) # relationship attributes: "PowerBIDashboard.Attributes" = Field( - default_factory=lambda: PowerBIDashboard.Attributes(), + default_factory=lambda: PowerBIDashboard.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1489,7 +1507,7 @@ def workspace_qualified_name(self) -> Optional[str]: @workspace_qualified_name.setter def workspace_qualified_name(self, workspace_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace_qualified_name = workspace_qualified_name @property @@ -1499,7 +1517,7 @@ def web_url(self) -> Optional[str]: @web_url.setter def web_url(self, web_url: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.web_url = web_url @property @@ -1509,7 +1527,7 @@ def workspace(self) -> Optional[PowerBIWorkspace]: @workspace.setter def workspace(self, workspace: Optional[PowerBIWorkspace]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace = workspace @property @@ -1519,7 +1537,7 @@ def datasets(self) -> Optional[list[PowerBIDataset]]: @datasets.setter def datasets(self, datasets: Optional[list[PowerBIDataset]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.datasets = datasets class Attributes(PowerBI.Attributes): @@ -1535,7 +1553,9 @@ class Attributes(PowerBI.Attributes): ) # relationship attributes: "PowerBIDataflow.Attributes" = Field( - default_factory=lambda: PowerBIDataflow.Attributes(), + default_factory=lambda: PowerBIDataflow.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1592,7 +1612,7 @@ def workspace_qualified_name(self) -> Optional[str]: @workspace_qualified_name.setter def workspace_qualified_name(self, workspace_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.workspace_qualified_name = workspace_qualified_name @property @@ -1604,7 +1624,7 @@ def report_qualified_name(self) -> Optional[str]: @report_qualified_name.setter def report_qualified_name(self, report_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.report_qualified_name = report_qualified_name @property @@ -1614,7 +1634,7 @@ def report(self) -> Optional[PowerBIReport]: @report.setter def report(self, report: Optional[PowerBIReport]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.report = report class Attributes(PowerBI.Attributes): @@ -1629,7 +1649,9 @@ class Attributes(PowerBI.Attributes): ) # relationship attributes: "PowerBIPage.Attributes" = Field( - default_factory=lambda: PowerBIPage.Attributes(), + default_factory=lambda: PowerBIPage.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset72.py b/pyatlan/model/assets/asset72.py index 5ea24daec..2317777a3 100644 --- a/pyatlan/model/assets/asset72.py +++ b/pyatlan/model/assets/asset72.py @@ -77,7 +77,7 @@ def micro_strategy_report_type(self) -> Optional[str]: @micro_strategy_report_type.setter def micro_strategy_report_type(self, micro_strategy_report_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_report_type = micro_strategy_report_type @property @@ -91,7 +91,7 @@ def micro_strategy_metrics( self, micro_strategy_metrics: Optional[list[MicroStrategyMetric]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_metrics = micro_strategy_metrics @property @@ -105,7 +105,7 @@ def micro_strategy_project( self, micro_strategy_project: Optional[MicroStrategyProject] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_project = micro_strategy_project @property @@ -121,7 +121,7 @@ def micro_strategy_attributes( self, micro_strategy_attributes: Optional[list[MicroStrategyAttribute]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_attributes = micro_strategy_attributes class Attributes(MicroStrategy.Attributes): @@ -139,7 +139,9 @@ class Attributes(MicroStrategy.Attributes): ) # relationship attributes: "MicroStrategyReport.Attributes" = Field( - default_factory=lambda: MicroStrategyReport.Attributes(), + default_factory=lambda: MicroStrategyReport.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -228,7 +230,7 @@ def micro_strategy_reports( self, micro_strategy_reports: Optional[list[MicroStrategyReport]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_reports = micro_strategy_reports @property @@ -240,7 +242,7 @@ def micro_strategy_facts( self, micro_strategy_facts: Optional[list[MicroStrategyFact]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_facts = micro_strategy_facts @property @@ -254,7 +256,7 @@ def micro_strategy_metrics( self, micro_strategy_metrics: Optional[list[MicroStrategyMetric]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_metrics = micro_strategy_metrics @property @@ -272,7 +274,7 @@ def micro_strategy_visualizations( self, micro_strategy_visualizations: Optional[list[MicroStrategyVisualization]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_visualizations = micro_strategy_visualizations @property @@ -288,7 +290,7 @@ def micro_strategy_documents( self, micro_strategy_documents: Optional[list[MicroStrategyDocument]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_documents = micro_strategy_documents @property @@ -300,7 +302,7 @@ def micro_strategy_cubes( self, micro_strategy_cubes: Optional[list[MicroStrategyCube]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_cubes = micro_strategy_cubes @property @@ -314,7 +316,7 @@ def micro_strategy_dossiers( self, micro_strategy_dossiers: Optional[list[MicroStrategyDossier]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_dossiers = micro_strategy_dossiers @property @@ -330,7 +332,7 @@ def micro_strategy_attributes( self, micro_strategy_attributes: Optional[list[MicroStrategyAttribute]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_attributes = micro_strategy_attributes class Attributes(MicroStrategy.Attributes): @@ -362,7 +364,9 @@ class Attributes(MicroStrategy.Attributes): ) # relationship attributes: "MicroStrategyProject.Attributes" = Field( - default_factory=lambda: MicroStrategyProject.Attributes(), + default_factory=lambda: MicroStrategyProject.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -512,7 +516,7 @@ def micro_strategy_metric_expression( self, micro_strategy_metric_expression: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_metric_expression = ( micro_strategy_metric_expression ) @@ -530,7 +534,7 @@ def micro_strategy_attribute_qualified_names( self, micro_strategy_attribute_qualified_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_attribute_qualified_names = ( micro_strategy_attribute_qualified_names ) @@ -548,7 +552,7 @@ def micro_strategy_attribute_names( self, micro_strategy_attribute_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_attribute_names = micro_strategy_attribute_names @property @@ -564,7 +568,7 @@ def micro_strategy_fact_qualified_names( self, micro_strategy_fact_qualified_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_fact_qualified_names = ( micro_strategy_fact_qualified_names ) @@ -580,7 +584,7 @@ def micro_strategy_fact_names(self) -> Optional[set[str]]: @micro_strategy_fact_names.setter def micro_strategy_fact_names(self, micro_strategy_fact_names: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_fact_names = micro_strategy_fact_names @property @@ -596,7 +600,7 @@ def micro_strategy_metric_parent_qualified_names( self, micro_strategy_metric_parent_qualified_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_metric_parent_qualified_names = ( micro_strategy_metric_parent_qualified_names ) @@ -614,7 +618,7 @@ def micro_strategy_metric_parent_names( self, micro_strategy_metric_parent_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_metric_parent_names = ( micro_strategy_metric_parent_names ) @@ -632,7 +636,7 @@ def micro_strategy_metric_parents( self, micro_strategy_metric_parents: Optional[list[MicroStrategyMetric]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_metric_parents = micro_strategy_metric_parents @property @@ -644,7 +648,7 @@ def micro_strategy_facts( self, micro_strategy_facts: Optional[list[MicroStrategyFact]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_facts = micro_strategy_facts @property @@ -658,7 +662,7 @@ def micro_strategy_reports( self, micro_strategy_reports: Optional[list[MicroStrategyReport]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_reports = micro_strategy_reports @property @@ -670,7 +674,7 @@ def micro_strategy_cubes( self, micro_strategy_cubes: Optional[list[MicroStrategyCube]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_cubes = micro_strategy_cubes @property @@ -686,7 +690,7 @@ def micro_strategy_metric_children( self, micro_strategy_metric_children: Optional[list[MicroStrategyMetric]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_metric_children = micro_strategy_metric_children @property @@ -700,7 +704,7 @@ def micro_strategy_project( self, micro_strategy_project: Optional[MicroStrategyProject] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_project = micro_strategy_project @property @@ -716,7 +720,7 @@ def micro_strategy_attributes( self, micro_strategy_attributes: Optional[list[MicroStrategyAttribute]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_attributes = micro_strategy_attributes class Attributes(MicroStrategy.Attributes): @@ -764,7 +768,9 @@ class Attributes(MicroStrategy.Attributes): ) # relationship attributes: "MicroStrategyMetric.Attributes" = Field( - default_factory=lambda: MicroStrategyMetric.Attributes(), + default_factory=lambda: MicroStrategyMetric.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -837,7 +843,7 @@ def micro_strategy_cube_type(self) -> Optional[str]: @micro_strategy_cube_type.setter def micro_strategy_cube_type(self, micro_strategy_cube_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_cube_type = micro_strategy_cube_type @property @@ -851,7 +857,7 @@ def micro_strategy_cube_query(self) -> Optional[str]: @micro_strategy_cube_query.setter def micro_strategy_cube_query(self, micro_strategy_cube_query: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_cube_query = micro_strategy_cube_query @property @@ -865,7 +871,7 @@ def micro_strategy_metrics( self, micro_strategy_metrics: Optional[list[MicroStrategyMetric]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_metrics = micro_strategy_metrics @property @@ -879,7 +885,7 @@ def micro_strategy_project( self, micro_strategy_project: Optional[MicroStrategyProject] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_project = micro_strategy_project @property @@ -895,7 +901,7 @@ def micro_strategy_attributes( self, micro_strategy_attributes: Optional[list[MicroStrategyAttribute]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_attributes = micro_strategy_attributes class Attributes(MicroStrategy.Attributes): @@ -916,7 +922,9 @@ class Attributes(MicroStrategy.Attributes): ) # relationship attributes: "MicroStrategyCube.Attributes" = Field( - default_factory=lambda: MicroStrategyCube.Attributes(), + default_factory=lambda: MicroStrategyCube.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -977,7 +985,7 @@ def micro_strategy_dossier_chapter_names( self, micro_strategy_dossier_chapter_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_dossier_chapter_names = ( micro_strategy_dossier_chapter_names ) @@ -997,7 +1005,7 @@ def micro_strategy_visualizations( self, micro_strategy_visualizations: Optional[list[MicroStrategyVisualization]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_visualizations = micro_strategy_visualizations @property @@ -1011,7 +1019,7 @@ def micro_strategy_project( self, micro_strategy_project: Optional[MicroStrategyProject] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_project = micro_strategy_project class Attributes(MicroStrategy.Attributes): @@ -1028,7 +1036,9 @@ class Attributes(MicroStrategy.Attributes): ) # relationship attributes: "MicroStrategyDossier.Attributes" = Field( - default_factory=lambda: MicroStrategyDossier.Attributes(), + default_factory=lambda: MicroStrategyDossier.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1089,7 +1099,7 @@ def micro_strategy_fact_expressions( self, micro_strategy_fact_expressions: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_fact_expressions = ( micro_strategy_fact_expressions ) @@ -1105,7 +1115,7 @@ def micro_strategy_metrics( self, micro_strategy_metrics: Optional[list[MicroStrategyMetric]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_metrics = micro_strategy_metrics @property @@ -1119,7 +1129,7 @@ def micro_strategy_project( self, micro_strategy_project: Optional[MicroStrategyProject] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_project = micro_strategy_project class Attributes(MicroStrategy.Attributes): @@ -1134,7 +1144,9 @@ class Attributes(MicroStrategy.Attributes): ) # relationship attributes: "MicroStrategyFact.Attributes" = Field( - default_factory=lambda: MicroStrategyFact.Attributes(), + default_factory=lambda: MicroStrategyFact.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1178,7 +1190,7 @@ def micro_strategy_project( self, micro_strategy_project: Optional[MicroStrategyProject] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_project = micro_strategy_project class Attributes(MicroStrategy.Attributes): @@ -1187,7 +1199,9 @@ class Attributes(MicroStrategy.Attributes): ) # relationship attributes: "MicroStrategyDocument.Attributes" = Field( - default_factory=lambda: MicroStrategyDocument.Attributes(), + default_factory=lambda: MicroStrategyDocument.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1260,7 +1274,7 @@ def micro_strategy_attribute_forms( self, micro_strategy_attribute_forms: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_attribute_forms = micro_strategy_attribute_forms @property @@ -1274,7 +1288,7 @@ def micro_strategy_reports( self, micro_strategy_reports: Optional[list[MicroStrategyReport]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_reports = micro_strategy_reports @property @@ -1288,7 +1302,7 @@ def micro_strategy_metrics( self, micro_strategy_metrics: Optional[list[MicroStrategyMetric]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_metrics = micro_strategy_metrics @property @@ -1300,7 +1314,7 @@ def micro_strategy_cubes( self, micro_strategy_cubes: Optional[list[MicroStrategyCube]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_cubes = micro_strategy_cubes @property @@ -1314,7 +1328,7 @@ def micro_strategy_project( self, micro_strategy_project: Optional[MicroStrategyProject] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_project = micro_strategy_project class Attributes(MicroStrategy.Attributes): @@ -1335,7 +1349,9 @@ class Attributes(MicroStrategy.Attributes): ) # relationship attributes: "MicroStrategyAttribute.Attributes" = Field( - default_factory=lambda: MicroStrategyAttribute.Attributes(), + default_factory=lambda: MicroStrategyAttribute.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -1416,7 +1432,7 @@ def micro_strategy_visualization_type( self, micro_strategy_visualization_type: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_visualization_type = ( micro_strategy_visualization_type ) @@ -1434,7 +1450,7 @@ def micro_strategy_dossier_qualified_name( self, micro_strategy_dossier_qualified_name: Optional[str] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_dossier_qualified_name = ( micro_strategy_dossier_qualified_name ) @@ -1450,7 +1466,7 @@ def micro_strategy_dossier_name(self) -> Optional[str]: @micro_strategy_dossier_name.setter def micro_strategy_dossier_name(self, micro_strategy_dossier_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_dossier_name = micro_strategy_dossier_name @property @@ -1464,7 +1480,7 @@ def micro_strategy_dossier( self, micro_strategy_dossier: Optional[MicroStrategyDossier] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_dossier = micro_strategy_dossier @property @@ -1478,7 +1494,7 @@ def micro_strategy_project( self, micro_strategy_project: Optional[MicroStrategyProject] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.micro_strategy_project = micro_strategy_project class Attributes(MicroStrategy.Attributes): @@ -1499,7 +1515,9 @@ class Attributes(MicroStrategy.Attributes): ) # relationship attributes: "MicroStrategyVisualization.Attributes" = Field( - default_factory=lambda: MicroStrategyVisualization.Attributes(), + default_factory=lambda: MicroStrategyVisualization.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset73.py b/pyatlan/model/assets/asset73.py index 5b13abd56..e06266c65 100644 --- a/pyatlan/model/assets/asset73.py +++ b/pyatlan/model/assets/asset73.py @@ -95,7 +95,7 @@ def qlik_has_section_access(self) -> Optional[bool]: @qlik_has_section_access.setter def qlik_has_section_access(self, qlik_has_section_access: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_has_section_access = qlik_has_section_access @property @@ -105,7 +105,7 @@ def qlik_origin_app_id(self) -> Optional[str]: @qlik_origin_app_id.setter def qlik_origin_app_id(self, qlik_origin_app_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_origin_app_id = qlik_origin_app_id @property @@ -115,7 +115,7 @@ def qlik_is_encrypted(self) -> Optional[bool]: @qlik_is_encrypted.setter def qlik_is_encrypted(self, qlik_is_encrypted: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_is_encrypted = qlik_is_encrypted @property @@ -129,7 +129,7 @@ def qlik_is_direct_query_mode(self) -> Optional[bool]: @qlik_is_direct_query_mode.setter def qlik_is_direct_query_mode(self, qlik_is_direct_query_mode: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_is_direct_query_mode = qlik_is_direct_query_mode @property @@ -143,7 +143,7 @@ def qlik_app_static_byte_size(self) -> Optional[int]: @qlik_app_static_byte_size.setter def qlik_app_static_byte_size(self, qlik_app_static_byte_size: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_app_static_byte_size = qlik_app_static_byte_size @property @@ -153,7 +153,7 @@ def qlik_space(self) -> Optional[QlikSpace]: @qlik_space.setter def qlik_space(self, qlik_space: Optional[QlikSpace]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_space = qlik_space @property @@ -163,7 +163,7 @@ def qlik_sheets(self) -> Optional[list[QlikSheet]]: @qlik_sheets.setter def qlik_sheets(self, qlik_sheets: Optional[list[QlikSheet]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_sheets = qlik_sheets class Attributes(Qlik.Attributes): @@ -190,7 +190,9 @@ class Attributes(Qlik.Attributes): ) # relationship attributes: "QlikApp.Attributes" = Field( - default_factory=lambda: QlikApp.Attributes(), + default_factory=lambda: QlikApp.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -257,7 +259,7 @@ def qlik_chart_subtitle(self) -> Optional[str]: @qlik_chart_subtitle.setter def qlik_chart_subtitle(self, qlik_chart_subtitle: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_chart_subtitle = qlik_chart_subtitle @property @@ -267,7 +269,7 @@ def qlik_chart_footnote(self) -> Optional[str]: @qlik_chart_footnote.setter def qlik_chart_footnote(self, qlik_chart_footnote: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_chart_footnote = qlik_chart_footnote @property @@ -279,7 +281,7 @@ def qlik_chart_orientation(self) -> Optional[str]: @qlik_chart_orientation.setter def qlik_chart_orientation(self, qlik_chart_orientation: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_chart_orientation = qlik_chart_orientation @property @@ -289,7 +291,7 @@ def qlik_chart_type(self) -> Optional[str]: @qlik_chart_type.setter def qlik_chart_type(self, qlik_chart_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_chart_type = qlik_chart_type @property @@ -299,7 +301,7 @@ def qlik_sheet(self) -> Optional[QlikSheet]: @qlik_sheet.setter def qlik_sheet(self, qlik_sheet: Optional[QlikSheet]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_sheet = qlik_sheet class Attributes(Qlik.Attributes): @@ -320,7 +322,9 @@ class Attributes(Qlik.Attributes): ) # relationship attributes: "QlikChart.Attributes" = Field( - default_factory=lambda: QlikChart.Attributes(), + default_factory=lambda: QlikChart.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -393,7 +397,7 @@ def qlik_dataset_technical_name(self) -> Optional[str]: @qlik_dataset_technical_name.setter def qlik_dataset_technical_name(self, qlik_dataset_technical_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_dataset_technical_name = qlik_dataset_technical_name @property @@ -403,7 +407,7 @@ def qlik_dataset_type(self) -> Optional[str]: @qlik_dataset_type.setter def qlik_dataset_type(self, qlik_dataset_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_dataset_type = qlik_dataset_type @property @@ -413,7 +417,7 @@ def qlik_dataset_uri(self) -> Optional[str]: @qlik_dataset_uri.setter def qlik_dataset_uri(self, qlik_dataset_uri: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_dataset_uri = qlik_dataset_uri @property @@ -423,7 +427,7 @@ def qlik_dataset_subtype(self) -> Optional[str]: @qlik_dataset_subtype.setter def qlik_dataset_subtype(self, qlik_dataset_subtype: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_dataset_subtype = qlik_dataset_subtype @property @@ -433,7 +437,7 @@ def qlik_space(self) -> Optional[QlikSpace]: @qlik_space.setter def qlik_space(self, qlik_space: Optional[QlikSpace]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_space = qlik_space class Attributes(Qlik.Attributes): @@ -454,7 +458,9 @@ class Attributes(Qlik.Attributes): ) # relationship attributes: "QlikDataset.Attributes" = Field( - default_factory=lambda: QlikDataset.Attributes(), + default_factory=lambda: QlikDataset.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -507,7 +513,7 @@ def qlik_sheet_is_approved(self) -> Optional[bool]: @qlik_sheet_is_approved.setter def qlik_sheet_is_approved(self, qlik_sheet_is_approved: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_sheet_is_approved = qlik_sheet_is_approved @property @@ -517,7 +523,7 @@ def qlik_app(self) -> Optional[QlikApp]: @qlik_app.setter def qlik_app(self, qlik_app: Optional[QlikApp]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_app = qlik_app @property @@ -527,7 +533,7 @@ def qlik_charts(self) -> Optional[list[QlikChart]]: @qlik_charts.setter def qlik_charts(self, qlik_charts: Optional[list[QlikChart]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_charts = qlik_charts class Attributes(Qlik.Attributes): @@ -542,7 +548,9 @@ class Attributes(Qlik.Attributes): ) # relationship attributes: "QlikSheet.Attributes" = Field( - default_factory=lambda: QlikSheet.Attributes(), + default_factory=lambda: QlikSheet.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -593,7 +601,7 @@ def qlik_space_type(self) -> Optional[str]: @qlik_space_type.setter def qlik_space_type(self, qlik_space_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_space_type = qlik_space_type @property @@ -603,7 +611,7 @@ def qlik_datasets(self) -> Optional[list[QlikDataset]]: @qlik_datasets.setter def qlik_datasets(self, qlik_datasets: Optional[list[QlikDataset]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_datasets = qlik_datasets @property @@ -613,7 +621,7 @@ def qlik_apps(self) -> Optional[list[QlikApp]]: @qlik_apps.setter def qlik_apps(self, qlik_apps: Optional[list[QlikApp]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.qlik_apps = qlik_apps class Attributes(Qlik.Attributes): @@ -628,7 +636,9 @@ class Attributes(Qlik.Attributes): ) # relationship attributes: "QlikSpace.Attributes" = Field( - default_factory=lambda: QlikSpace.Attributes(), + default_factory=lambda: QlikSpace.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset74.py b/pyatlan/model/assets/asset74.py index 0f4546b81..e852235f2 100644 --- a/pyatlan/model/assets/asset74.py +++ b/pyatlan/model/assets/asset74.py @@ -83,7 +83,7 @@ def is_custom(self) -> Optional[bool]: @is_custom.setter def is_custom(self, is_custom: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_custom = is_custom @property @@ -93,7 +93,7 @@ def is_mergable(self) -> Optional[bool]: @is_mergable.setter def is_mergable(self, is_mergable: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_mergable = is_mergable @property @@ -103,7 +103,7 @@ def is_queryable(self) -> Optional[bool]: @is_queryable.setter def is_queryable(self, is_queryable: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_queryable = is_queryable @property @@ -113,7 +113,7 @@ def field_count(self) -> Optional[int]: @field_count.setter def field_count(self, field_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.field_count = field_count @property @@ -123,7 +123,7 @@ def lookup_fields(self) -> Optional[list[SalesforceField]]: @lookup_fields.setter def lookup_fields(self, lookup_fields: Optional[list[SalesforceField]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.lookup_fields = lookup_fields @property @@ -133,7 +133,7 @@ def organization(self) -> Optional[SalesforceOrganization]: @organization.setter def organization(self, organization: Optional[SalesforceOrganization]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.organization = organization @property @@ -143,7 +143,7 @@ def fields(self) -> Optional[list[SalesforceField]]: @fields.setter def fields(self, fields: Optional[list[SalesforceField]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.fields = fields class Attributes(Salesforce.Attributes): @@ -162,7 +162,9 @@ class Attributes(Salesforce.Attributes): ) # relationship attributes: "SalesforceObject.Attributes" = Field( - default_factory=lambda: SalesforceObject.Attributes(), + default_factory=lambda: SalesforceObject.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -300,7 +302,7 @@ def data_type(self) -> Optional[str]: @data_type.setter def data_type(self, data_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.data_type = data_type @property @@ -312,7 +314,7 @@ def object_qualified_name(self) -> Optional[str]: @object_qualified_name.setter def object_qualified_name(self, object_qualified_name: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.object_qualified_name = object_qualified_name @property @@ -322,7 +324,7 @@ def order(self) -> Optional[int]: @order.setter def order(self, order: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.order = order @property @@ -332,7 +334,7 @@ def inline_help_text(self) -> Optional[str]: @inline_help_text.setter def inline_help_text(self, inline_help_text: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.inline_help_text = inline_help_text @property @@ -342,7 +344,7 @@ def is_calculated(self) -> Optional[bool]: @is_calculated.setter def is_calculated(self, is_calculated: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_calculated = is_calculated @property @@ -352,7 +354,7 @@ def formula(self) -> Optional[str]: @formula.setter def formula(self, formula: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.formula = formula @property @@ -362,7 +364,7 @@ def is_case_sensitive(self) -> Optional[bool]: @is_case_sensitive.setter def is_case_sensitive(self, is_case_sensitive: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_case_sensitive = is_case_sensitive @property @@ -372,7 +374,7 @@ def is_encrypted(self) -> Optional[bool]: @is_encrypted.setter def is_encrypted(self, is_encrypted: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_encrypted = is_encrypted @property @@ -382,7 +384,7 @@ def max_length(self) -> Optional[int]: @max_length.setter def max_length(self, max_length: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.max_length = max_length @property @@ -392,7 +394,7 @@ def is_nullable(self) -> Optional[bool]: @is_nullable.setter def is_nullable(self, is_nullable: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_nullable = is_nullable @property @@ -402,7 +404,7 @@ def precision(self) -> Optional[int]: @precision.setter def precision(self, precision: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.precision = precision @property @@ -412,7 +414,7 @@ def numeric_scale(self) -> Optional[float]: @numeric_scale.setter def numeric_scale(self, numeric_scale: Optional[float]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.numeric_scale = numeric_scale @property @@ -422,7 +424,7 @@ def is_unique(self) -> Optional[bool]: @is_unique.setter def is_unique(self, is_unique: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_unique = is_unique @property @@ -432,7 +434,7 @@ def picklist_values(self) -> Optional[set[str]]: @picklist_values.setter def picklist_values(self, picklist_values: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.picklist_values = picklist_values @property @@ -446,7 +448,7 @@ def is_polymorphic_foreign_key(self) -> Optional[bool]: @is_polymorphic_foreign_key.setter def is_polymorphic_foreign_key(self, is_polymorphic_foreign_key: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.is_polymorphic_foreign_key = is_polymorphic_foreign_key @property @@ -458,7 +460,7 @@ def default_value_formula(self) -> Optional[str]: @default_value_formula.setter def default_value_formula(self, default_value_formula: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.default_value_formula = default_value_formula @property @@ -468,7 +470,7 @@ def lookup_objects(self) -> Optional[list[SalesforceObject]]: @lookup_objects.setter def lookup_objects(self, lookup_objects: Optional[list[SalesforceObject]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.lookup_objects = lookup_objects @property @@ -478,7 +480,7 @@ def object(self) -> Optional[SalesforceObject]: @object.setter def object(self, object: Optional[SalesforceObject]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.object = object class Attributes(Salesforce.Attributes): @@ -522,7 +524,9 @@ class Attributes(Salesforce.Attributes): ) # relationship attributes: "SalesforceField.Attributes" = Field( - default_factory=lambda: SalesforceField.Attributes(), + default_factory=lambda: SalesforceField.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -576,7 +580,7 @@ def source_id(self) -> Optional[str]: @source_id.setter def source_id(self, source_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_id = source_id @property @@ -586,7 +590,7 @@ def reports(self) -> Optional[list[SalesforceReport]]: @reports.setter def reports(self, reports: Optional[list[SalesforceReport]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.reports = reports @property @@ -596,7 +600,7 @@ def objects(self) -> Optional[list[SalesforceObject]]: @objects.setter def objects(self, objects: Optional[list[SalesforceObject]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.objects = objects @property @@ -606,7 +610,7 @@ def dashboards(self) -> Optional[list[SalesforceDashboard]]: @dashboards.setter def dashboards(self, dashboards: Optional[list[SalesforceDashboard]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboards = dashboards class Attributes(Salesforce.Attributes): @@ -622,7 +626,9 @@ class Attributes(Salesforce.Attributes): ) # relationship attributes: "SalesforceOrganization.Attributes" = Field( - default_factory=lambda: SalesforceOrganization.Attributes(), + default_factory=lambda: SalesforceOrganization.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -683,7 +689,7 @@ def source_id(self) -> Optional[str]: @source_id.setter def source_id(self, source_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_id = source_id @property @@ -693,7 +699,7 @@ def dashboard_type(self) -> Optional[str]: @dashboard_type.setter def dashboard_type(self, dashboard_type: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboard_type = dashboard_type @property @@ -703,7 +709,7 @@ def report_count(self) -> Optional[int]: @report_count.setter def report_count(self, report_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.report_count = report_count @property @@ -713,7 +719,7 @@ def reports(self) -> Optional[list[SalesforceReport]]: @reports.setter def reports(self, reports: Optional[list[SalesforceReport]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.reports = reports @property @@ -723,7 +729,7 @@ def organization(self) -> Optional[SalesforceOrganization]: @organization.setter def organization(self, organization: Optional[SalesforceOrganization]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.organization = organization class Attributes(Salesforce.Attributes): @@ -740,7 +746,9 @@ class Attributes(Salesforce.Attributes): ) # relationship attributes: "SalesforceDashboard.Attributes" = Field( - default_factory=lambda: SalesforceDashboard.Attributes(), + default_factory=lambda: SalesforceDashboard.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -801,7 +809,7 @@ def source_id(self) -> Optional[str]: @source_id.setter def source_id(self, source_id: Optional[str]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.source_id = source_id @property @@ -811,7 +819,7 @@ def report_type(self) -> Optional[dict[str, str]]: @report_type.setter def report_type(self, report_type: Optional[dict[str, str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.report_type = report_type @property @@ -821,7 +829,7 @@ def detail_columns(self) -> Optional[set[str]]: @detail_columns.setter def detail_columns(self, detail_columns: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.detail_columns = detail_columns @property @@ -831,7 +839,7 @@ def dashboards(self) -> Optional[list[SalesforceDashboard]]: @dashboards.setter def dashboards(self, dashboards: Optional[list[SalesforceDashboard]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.dashboards = dashboards @property @@ -841,7 +849,7 @@ def organization(self) -> Optional[SalesforceOrganization]: @organization.setter def organization(self, organization: Optional[SalesforceOrganization]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.organization = organization class Attributes(Salesforce.Attributes): @@ -860,7 +868,9 @@ class Attributes(Salesforce.Attributes): ) # relationship attributes: "SalesforceReport.Attributes" = Field( - default_factory=lambda: SalesforceReport.Attributes(), + default_factory=lambda: SalesforceReport.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/assets/asset76.py b/pyatlan/model/assets/asset76.py index b6bdb78ed..0e6c4794f 100644 --- a/pyatlan/model/assets/asset76.py +++ b/pyatlan/model/assets/asset76.py @@ -95,7 +95,7 @@ def kafka_consumer_group_topic_consumption_properties( ], ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_consumer_group_topic_consumption_properties = ( kafka_consumer_group_topic_consumption_properties ) @@ -113,7 +113,7 @@ def kafka_consumer_group_member_count( self, kafka_consumer_group_member_count: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_consumer_group_member_count = ( kafka_consumer_group_member_count ) @@ -125,7 +125,7 @@ def kafka_topic_names(self) -> Optional[set[str]]: @kafka_topic_names.setter def kafka_topic_names(self, kafka_topic_names: Optional[set[str]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_topic_names = kafka_topic_names @property @@ -141,7 +141,7 @@ def kafka_topic_qualified_names( self, kafka_topic_qualified_names: Optional[set[str]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_topic_qualified_names = kafka_topic_qualified_names @property @@ -151,7 +151,7 @@ def kafka_topics(self) -> Optional[list[KafkaTopic]]: @kafka_topics.setter def kafka_topics(self, kafka_topics: Optional[list[KafkaTopic]]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_topics = kafka_topics class Attributes(Kafka.Attributes): @@ -174,7 +174,9 @@ class Attributes(Kafka.Attributes): ) # relationship attributes: "KafkaConsumerGroup.Attributes" = Field( - default_factory=lambda: KafkaConsumerGroup.Attributes(), + default_factory=lambda: KafkaConsumerGroup.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) @@ -273,7 +275,7 @@ def kafka_topic_is_internal(self) -> Optional[bool]: @kafka_topic_is_internal.setter def kafka_topic_is_internal(self, kafka_topic_is_internal: Optional[bool]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_topic_is_internal = kafka_topic_is_internal @property @@ -289,7 +291,7 @@ def kafka_topic_compression_type( self, kafka_topic_compression_type: Optional[KafkaTopicCompressionType] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_topic_compression_type = kafka_topic_compression_type @property @@ -305,7 +307,7 @@ def kafka_topic_replication_factor( self, kafka_topic_replication_factor: Optional[int] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_topic_replication_factor = kafka_topic_replication_factor @property @@ -319,7 +321,7 @@ def kafka_topic_segment_bytes(self) -> Optional[int]: @kafka_topic_segment_bytes.setter def kafka_topic_segment_bytes(self, kafka_topic_segment_bytes: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_topic_segment_bytes = kafka_topic_segment_bytes @property @@ -333,7 +335,7 @@ def kafka_topic_partitions_count(self) -> Optional[int]: @kafka_topic_partitions_count.setter def kafka_topic_partitions_count(self, kafka_topic_partitions_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_topic_partitions_count = kafka_topic_partitions_count @property @@ -347,7 +349,7 @@ def kafka_topic_size_in_bytes(self) -> Optional[int]: @kafka_topic_size_in_bytes.setter def kafka_topic_size_in_bytes(self, kafka_topic_size_in_bytes: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_topic_size_in_bytes = kafka_topic_size_in_bytes @property @@ -361,7 +363,7 @@ def kafka_topic_record_count(self) -> Optional[int]: @kafka_topic_record_count.setter def kafka_topic_record_count(self, kafka_topic_record_count: Optional[int]): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_topic_record_count = kafka_topic_record_count @property @@ -377,7 +379,7 @@ def kafka_topic_cleanup_policy( self, kafka_topic_cleanup_policy: Optional[KafkaTopicCleanupPolicy] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_topic_cleanup_policy = kafka_topic_cleanup_policy @property @@ -391,7 +393,7 @@ def kafka_consumer_groups( self, kafka_consumer_groups: Optional[list[KafkaConsumerGroup]] ): if self.attributes is None: - self.attributes = self.Attributes() + self.attributes = self.Attributes(name="") self.attributes.kafka_consumer_groups = kafka_consumer_groups class Attributes(Kafka.Attributes): @@ -424,7 +426,9 @@ class Attributes(Kafka.Attributes): ) # relationship attributes: "KafkaTopic.Attributes" = Field( - default_factory=lambda: KafkaTopic.Attributes(), + default_factory=lambda: KafkaTopic.Attributes( + name="", + ), description="Map of attributes in the instance and their values. The specific keys of this map will vary by " "type, so are described in the sub-types of this schema.\n", ) diff --git a/pyatlan/model/custom_metadata.py b/pyatlan/model/custom_metadata.py index 03486b618..516aa6af1 100644 --- a/pyatlan/model/custom_metadata.py +++ b/pyatlan/model/custom_metadata.py @@ -29,7 +29,8 @@ def modified(self): def __setitem__(self, key: str, value): """Set the value of a property of the custom metadata set using the human readable name as the key. - The name will be validated to ensure that it's valid for this custom metadata set""" + The name will be validated to ensure that it's valid for this custom metadata set + """ if key not in self._names: raise KeyError(f"'{key}' is not a valid property name for {self._name}") self._modified = True @@ -37,7 +38,8 @@ def __setitem__(self, key: str, value): def __getitem__(self, key: str): """Retrieve the value of a property of the custom metadata set using the human readable name as the key. - The name will be validated to ensure that it's valid for this custom metadata set""" + The name will be validated to ensure that it's valid for this custom metadata set + """ if key not in self._names: raise KeyError(f"'{key}' is not a valid property name for {self._name}") if key not in self.data: @@ -58,7 +60,8 @@ def clear_unset(self): def is_set(self, key: str): """Returns a boolean indicating whether the given property has been set in the metadata set. The key - will be validated to ensure that it's a valid property name for this metadata set""" + will be validated to ensure that it's a valid property name for this metadata set + """ if key not in self._names: raise KeyError(f"'{key}' is not a valid property name for {self._name}") return key in self.data diff --git a/pyatlan/model/events.py b/pyatlan/model/events.py index 74ce0f9cc..40a676cbe 100644 --- a/pyatlan/model/events.py +++ b/pyatlan/model/events.py @@ -9,7 +9,6 @@ class AtlanEventPayload(AtlanObject): - _subtypes_: dict[str, type] = dict() def __init_subclass__( diff --git a/pyatlan/model/response.py b/pyatlan/model/response.py index e734ac667..2e96c70ad 100644 --- a/pyatlan/model/response.py +++ b/pyatlan/model/response.py @@ -40,8 +40,8 @@ class MutatedEntities(AtlanObject): class AssetMutationResponse(AtlanObject): - guid_assignments: dict[str, Any] = Field( - None, description="Map of assigned unique identifiers for the changed assets." + guid_assignments: Optional[dict[str, Any]] = Field( + description="Map of assigned unique identifiers for the changed assets." ) mutated_entities: Optional[MutatedEntities] = Field( None, description="Assets that were changed." diff --git a/pyatlan/model/role.py b/pyatlan/model/role.py index 3f0bb63db..308b7bfe8 100644 --- a/pyatlan/model/role.py +++ b/pyatlan/model/role.py @@ -10,10 +10,10 @@ class AtlanRole(AtlanObject): - id: str = Field(None, description="Unique identifier for the role (GUID).\n") + id: str = Field(description="Unique identifier for the role (GUID).\n") """Unique identifier for the role (GUID).""" + name: str = Field(description="Unique name for the role.\n") description: Optional[str] = Field(None, description="Description of the role.\n") - name: str = Field(None, description="Unique name for the role.\n") client_role: Optional[bool] = Field(None, description="TBC\n") level: Optional[str] = Field(None, description="TBC\n") member_count: Optional[str] = Field( @@ -29,5 +29,5 @@ class RoleResponse(AtlanObject): description="Number of roles in the filtered response.\n", ) records: List["AtlanRole"] = Field( - None, description="Details of each role included in the response.\n" + description="Details of each role included in the response.\n" ) diff --git a/pyatlan/model/structs.py b/pyatlan/model/structs.py index ee18ab53a..90b4b4e2b 100644 --- a/pyatlan/model/structs.py +++ b/pyatlan/model/structs.py @@ -34,13 +34,20 @@ class AwsCloudWatchMetric(AtlanObject): """Description""" aws_cloud_watch_metric_name: "str" = Field( - None, description="", alias="awsCloudWatchMetricName" + description="", alias="awsCloudWatchMetricName" ) aws_cloud_watch_metric_scope: "str" = Field( - None, description="", alias="awsCloudWatchMetricScope" + description="", alias="awsCloudWatchMetricScope" ) +class Histogram(AtlanObject): + """Description""" + + boundaries: "set[float]" = Field(description="", alias="boundaries") + frequencies: "set[float]" = Field(description="", alias="frequencies") + + class KafkaTopicConsumption(AtlanObject): """Description""" @@ -54,13 +61,6 @@ class KafkaTopicConsumption(AtlanObject): ) -class Histogram(AtlanObject): - """Description""" - - boundaries: "set[float]" = Field(None, description="", alias="boundaries") - frequencies: "set[float]" = Field(None, description="", alias="frequencies") - - class ColumnValueFrequencyMap(AtlanObject): """Description""" @@ -70,6 +70,46 @@ class ColumnValueFrequencyMap(AtlanObject): ) +class SourceTagAttachment(AtlanObject): + """Description""" + + source_tag_name: Optional["str"] = Field( + None, description="", alias="sourceTagName" + ) + source_tag_qualified_name: Optional["str"] = Field( + None, description="", alias="sourceTagQualifiedName" + ) + source_tag_guid: Optional["str"] = Field( + None, description="", alias="sourceTagGuid" + ) + source_tag_connector_name: Optional["str"] = Field( + None, description="", alias="sourceTagConnectorName" + ) + source_tag_value: Optional["list[SourceTagAttachmentValue]"] = Field( + None, description="", alias="sourceTagValue" + ) + is_source_tag_synced: Optional["bool"] = Field( + None, description="", alias="isSourceTagSynced" + ) + source_tag_sync_timestamp: Optional["datetime"] = Field( + None, description="", alias="sourceTagSyncTimestamp" + ) + source_tag_sync_error: Optional["str"] = Field( + None, description="", alias="sourceTagSyncError" + ) + + +class SourceTagAttachmentValue(AtlanObject): + """Description""" + + tag_attachment_key: Optional["str"] = Field( + None, description="", alias="tagAttachmentKey" + ) + tag_attachment_value: Optional["str"] = Field( + None, description="", alias="tagAttachmentValue" + ) + + class BadgeCondition(AtlanObject): """Description""" @@ -109,46 +149,6 @@ def create( ) -class SourceTagAttachmentValue(AtlanObject): - """Description""" - - tag_attachment_key: Optional["str"] = Field( - None, description="", alias="tagAttachmentKey" - ) - tag_attachment_value: Optional["str"] = Field( - None, description="", alias="tagAttachmentValue" - ) - - -class SourceTagAttachment(AtlanObject): - """Description""" - - source_tag_name: Optional["str"] = Field( - None, description="", alias="sourceTagName" - ) - source_tag_qualified_name: Optional["str"] = Field( - None, description="", alias="sourceTagQualifiedName" - ) - source_tag_guid: Optional["str"] = Field( - None, description="", alias="sourceTagGuid" - ) - source_tag_connector_name: Optional["str"] = Field( - None, description="", alias="sourceTagConnectorName" - ) - source_tag_value: Optional["list[SourceTagAttachmentValue]"] = Field( - None, description="", alias="sourceTagValue" - ) - is_source_tag_synced: Optional["bool"] = Field( - None, description="", alias="isSourceTagSynced" - ) - source_tag_sync_timestamp: Optional["datetime"] = Field( - None, description="", alias="sourceTagSyncTimestamp" - ) - source_tag_sync_error: Optional["str"] = Field( - None, description="", alias="sourceTagSyncError" - ) - - class StarredDetails(AtlanObject): """Description""" @@ -163,26 +163,24 @@ class StarredDetails(AtlanObject): class AzureTag(AtlanObject): """Description""" - azure_tag_key: "str" = Field(None, description="", alias="azureTagKey") - azure_tag_value: "str" = Field(None, description="", alias="azureTagValue") + azure_tag_key: "str" = Field(description="", alias="azureTagKey") + azure_tag_value: "str" = Field(description="", alias="azureTagValue") class AuthPolicyCondition(AtlanObject): """Description""" - policy_condition_type: "str" = Field( - None, description="", alias="policyConditionType" - ) + policy_condition_type: "str" = Field(description="", alias="policyConditionType") policy_condition_values: "set[str]" = Field( - None, description="", alias="policyConditionValues" + description="", alias="policyConditionValues" ) class AwsTag(AtlanObject): """Description""" - aws_tag_key: "str" = Field(None, description="", alias="awsTagKey") - aws_tag_value: "str" = Field(None, description="", alias="awsTagValue") + aws_tag_key: "str" = Field(description="", alias="awsTagKey") + aws_tag_value: "str" = Field(description="", alias="awsTagValue") class DbtMetricFilter(AtlanObject): @@ -205,21 +203,21 @@ class DbtMetricFilter(AtlanObject): class GoogleTag(AtlanObject): """Description""" - google_tag_key: "str" = Field(None, description="", alias="googleTagKey") - google_tag_value: "str" = Field(None, description="", alias="googleTagValue") + google_tag_key: "str" = Field(description="", alias="googleTagKey") + google_tag_value: "str" = Field(description="", alias="googleTagValue") class AuthPolicyValiditySchedule(AtlanObject): """Description""" policy_validity_schedule_start_time: "str" = Field( - None, description="", alias="policyValidityScheduleStartTime" + description="", alias="policyValidityScheduleStartTime" ) policy_validity_schedule_end_time: "str" = Field( - None, description="", alias="policyValidityScheduleEndTime" + description="", alias="policyValidityScheduleEndTime" ) policy_validity_schedule_timezone: "str" = Field( - None, description="", alias="policyValidityScheduleTimezone" + description="", alias="policyValidityScheduleTimezone" ) @@ -249,8 +247,8 @@ class MCRuleComparison(AtlanObject): class GoogleLabel(AtlanObject): """Description""" - google_label_key: "str" = Field(None, description="", alias="googleLabelKey") - google_label_value: "str" = Field(None, description="", alias="googleLabelValue") + google_label_key: "str" = Field(description="", alias="googleLabelKey") + google_label_value: "str" = Field(description="", alias="googleLabelValue") class PopularityInsights(AtlanObject): diff --git a/pyatlan/model/typedef.py b/pyatlan/model/typedef.py index c467c8616..499a2d610 100644 --- a/pyatlan/model/typedef.py +++ b/pyatlan/model/typedef.py @@ -1,7 +1,7 @@ from __future__ import annotations import time -from typing import Any, Dict, List, Optional +from typing import Any, Callable, Optional, cast from pydantic import Field @@ -186,14 +186,14 @@ def of(ordinal: int, value: str) -> EnumDef.ElementDef: return EnumDef.ElementDef(ordinal=ordinal, value=value) @staticmethod - def list_from(values: List[str]) -> List[EnumDef.ElementDef]: + def list_from(values: list[str]) -> list[EnumDef.ElementDef]: from pyatlan.utils import validate_required_fields validate_required_fields( ["values"], [values], ) - elements: List[EnumDef.ElementDef] = [] + elements: list[EnumDef.ElementDef] = [] elements.extend( EnumDef.ElementDef.of(ordinal=i, value=values[i]) for i in range(len(values)) @@ -201,16 +201,16 @@ def list_from(values: List[str]) -> List[EnumDef.ElementDef]: return elements category: AtlanTypeCategory = AtlanTypeCategory.ENUM - element_defs: List["EnumDef.ElementDef"] = Field( + element_defs: list["EnumDef.ElementDef"] = Field( description="Valid values for the enumeration." ) - options: Optional[Dict[str, Any]] = Field( + options: Optional[dict[str, Any]] = Field( description="Optional properties of the type definition." ) service_type: Optional[str] = Field(description="Internal use only.") @staticmethod - def create(name: str, values: List[str]) -> EnumDef: + def create(name: str, values: list[str]) -> EnumDef: from pyatlan.utils import validate_required_fields validate_required_fields( @@ -224,7 +224,7 @@ def create(name: str, values: List[str]) -> EnumDef: element_defs=EnumDef.ElementDef.list_from(values), ) - def get_valid_values(self) -> Optional[List[str]]: + def get_valid_values(self) -> Optional[list[str]]: """ Translate the element definitions in this enumeration into simple list of strings. """ @@ -327,11 +327,11 @@ def create( "`LIST` indicates they are ordered and duplicates are allowed, while `SET` indicates " "they are unique and unordered.", ) - constraints: Optional[List[Dict[str, Any]]] = Field( + constraints: Optional[list[dict[str, Any]]] = Field( description="Internal use only." ) - enum_values: Optional[List[str]] = Field( - description="List of values for an enumeration." + enum_values: Optional[list[str]] = Field( + description="list of values for an enumeration." ) description: Optional[str] = Field( description="Description of the attribute definition." @@ -378,10 +378,10 @@ def create( description="Maximum number of values for this attribute. If greater than 1, this attribute allows " "multiple values.", ) - index_type_es_config: Optional[Dict[str, str]] = Field( + index_type_es_config: Optional[dict[str, str]] = Field( description="Internal use only.", alias="indexTypeESConfig" ) - index_type_es_fields: Optional[Dict[str, dict[str, str]]] = Field( + index_type_es_fields: Optional[dict[str, dict[str, str]]] = Field( description="Internal use only.", alias="indexTypeESFields" ) is_default_value_null: Optional[bool] = Field(description="TBC") @@ -464,9 +464,9 @@ class RelationshipAttributeDef(AttributeDef): class StructDef(TypeDef): category: AtlanTypeCategory = AtlanTypeCategory.STRUCT - attribute_defs: Optional[List[AttributeDef]] = Field( + attribute_defs: Optional[list[AttributeDef]] = Field( None, - description="List of attributes that should be available in the type_ definition.", + description="list of attributes that should be available in the type_ definition.", ) service_type: Optional[str] = Field( None, description="Internal use only.", example="atlan" @@ -474,25 +474,25 @@ class StructDef(TypeDef): class AtlanTagDef(TypeDef): - attribute_defs: Optional[List[Dict[str, Any]]] = Field(description="Unused.") + attribute_defs: Optional[list[dict[str, Any]]] = Field(description="Unused.") category: AtlanTypeCategory = AtlanTypeCategory.CLASSIFICATION display_name: str = Field( description="Name used for display purposes (in user interfaces)." ) - entity_types: Optional[List[str]] = Field( + entity_types: Optional[list[str]] = Field( description="A list of the entity types that this classification can be used against." " (This should be `Asset` to allow classification of any asset in Atlan.)" ) - options: Optional[Dict[str, Any]] = Field( + options: Optional[dict[str, Any]] = Field( description="Optional properties of the type_ definition." ) - sub_types: Optional[List[str]] = Field( - description="List of the sub-types that extend from this type_ definition. Generally this is not specified " + sub_types: Optional[list[str]] = Field( + description="list of the sub-types that extend from this type_ definition. Generally this is not specified " "in any request, but is only supplied in responses. (This is intended for internal use only, and " "should not be used without specific guidance.)", ) - super_types: Optional[List[str]] = Field( - description="List of the super-types that this type_ definition should extend. (This is intended for internal " + super_types: Optional[list[str]] = Field( + description="list of the super-types that this type_ definition should extend. (This is intended for internal " "use only, and should not be used without specific guidance.)", ) service_type: Optional[str] = Field( @@ -535,41 +535,43 @@ def create( class EntityDef(TypeDef): - attribute_defs: Optional[List[Dict[str, Any]]] = Field( + attribute_defs: Optional[list[dict[str, Any]]] = Field( [], description="Unused.", example=[] ) - business_attribute_defs: Optional[Dict[str, List[Dict[str, Any]]]] = Field( - [], description="Unused.", example=[] + business_attribute_defs: Optional[dict[str, list[dict[str, Any]]]] = Field( + default_factory=cast(Callable[[], dict[str, list[dict[str, Any]]]], dict), + description="Unused.", + example=[], ) category: AtlanTypeCategory = AtlanTypeCategory.ENTITY - relationship_attribute_defs: Optional[List[Dict[str, Any]]] = Field( + relationship_attribute_defs: Optional[list[dict[str, Any]]] = Field( [], description="Unused.", example=[] ) service_type: Optional[str] = Field( None, description="Internal use only.", example="atlan" ) - sub_types: Optional[List[str]] = Field( + sub_types: Optional[list[str]] = Field( [], - description="List of the sub-types that extend from this type_ definition. Generally this is not specified in " + description="list of the sub-types that extend from this type_ definition. Generally this is not specified in " "any request, but is only supplied in responses. (This is intended for internal use only, and " "should not be used without specific guidance.)", example=[], ) - super_types: Optional[List[str]] = Field( + super_types: Optional[list[str]] = Field( [], - description="List of the super-types that this type_ definition should extend. (This is intended for internal " + description="list of the super-types that this type_ definition should extend. (This is intended for internal " "use only, and should not be used without specific guidance.)", example=[], ) class RelationshipDef(TypeDef): - attribute_defs: Optional[List[Dict[str, Any]]] = Field( + attribute_defs: Optional[list[dict[str, Any]]] = Field( [], description="Unused.", example=[] ) category: AtlanTypeCategory = AtlanTypeCategory.RELATIONSHIP - end_def1: Optional[Dict[str, Any]] = Field({}, description="Unused.", example={}) - end_def2: Optional[Dict[str, Any]] = Field({}, description="Unused.", example={}) + end_def1: Optional[dict[str, Any]] = Field({}, description="Unused.", example={}) + end_def2: Optional[dict[str, Any]] = Field({}, description="Unused.", example={}) propagate_tags: str = Field( "ONE_TO_TWO", description="Unused", example="ONE_TO_TWO" ) @@ -632,9 +634,9 @@ def with_logo_from_url( logo_url=url, logo_type="image", is_locked=locked ) - attribute_defs: List[AttributeDef] = Field( + attribute_defs: list[AttributeDef] = Field( default=[], - description="List of custom attributes defined within the custom metadata.", + description="list of custom attributes defined within the custom metadata.", ) category: AtlanTypeCategory = AtlanTypeCategory.CUSTOM_METADATA display_name: str = Field( @@ -661,25 +663,25 @@ def create(display_name: str) -> CustomMetadataDef: class TypeDefResponse(AtlanObject): - enum_defs: List[EnumDef] = Field( - [], description="List of enumeration type definitions." + enum_defs: list[EnumDef] = Field( + [], description="list of enumeration type definitions." ) - struct_defs: List[StructDef] = Field( - [], description="List of struct type definitions." + struct_defs: list[StructDef] = Field( + [], description="list of struct type definitions." ) - atlan_tag_defs: List[AtlanTagDef] = Field( + atlan_tag_defs: list[AtlanTagDef] = Field( [], - description="List of classification type definitions.", + description="list of classification type definitions.", alias="classificationDefs", ) - entity_defs: List[EntityDef] = Field( - [], description="List of entity type_ definitions." + entity_defs: list[EntityDef] = Field( + [], description="list of entity type_ definitions." ) - relationship_defs: List[RelationshipDef] = Field( - [], description="List of relationship type_ definitions." + relationship_defs: list[RelationshipDef] = Field( + [], description="list of relationship type_ definitions." ) - custom_metadata_defs: List[CustomMetadataDef] = Field( + custom_metadata_defs: list[CustomMetadataDef] = Field( [], - description="List of custom metadata type_ definitions.", + description="list of custom metadata type_ definitions.", alias="businessMetadataDefs", ) diff --git a/requirements-dev.txt b/requirements-dev.txt index 140caca38..bb7e39116 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,8 +1,8 @@ -flake8==5.0.4 -mypy==0.991 -black==22.10.0 -types-requests==2.28.11.17 -pytest==7.3.1 +flake8==6.1.0 +mypy==1.5.1 +black==23.7.0 +types-requests==2.31.0.2 +pytest==7.4.0 pytest-order==1.1.0 retry==0.9.2 pre-commit==2.20.0 @@ -12,3 +12,4 @@ twine==4.0.2 types-retry==0.9.9.3 nanoid==2.0.0 networkx +networkx-stubs diff --git a/requirements.txt b/requirements.txt index 14a8032af..bdcbfccd2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ requests>=2.24 -pydantic==1.10.8 +pydantic==1.10.12 jinja2==3.1.2 diff --git a/tests/unit/model/readme_test.py b/tests/unit/model/readme_test.py index 1419c266a..760f3de5a 100644 --- a/tests/unit/model/readme_test.py +++ b/tests/unit/model/readme_test.py @@ -50,7 +50,7 @@ def test_create_readme_without_required_parameters_raises_exception( TABLE_NAME, ), ( - Table(attributes=Table.Attributes()), + Table(attributes=Table.Attributes(name=TABLE_NAME)), "