77
88from pyatlan .model .core import AtlanObject
99from pyatlan .model .enums import (
10+ AtlanClassificationColor ,
11+ AtlanCustomAttributePrimitiveType ,
1012 AtlanTypeCategory ,
1113 Cardinality ,
1214 IndexType ,
13- AtlanCustomAttributePrimitiveType ,
14- AtlanClassificationColor ,
1515)
1616
17-
1817_complete_type_list = (
1918 '["ADLSAccount",'
2019 '"ADLSAccount",'
@@ -331,17 +330,19 @@ def create(
331330 enum_values : Optional [List [str ]] = Field (
332331 description = "List of values for an enumeration."
333332 )
334- description : str = Field (description = "Description of the attribute definition." )
333+ description : Optional [str ] = Field (
334+ description = "Description of the attribute definition."
335+ )
335336 default_value : Optional [str ] = Field (
336337 description = "Default value for this attribute (if any)."
337338 )
338- display_name : str = Field (
339+ display_name : Optional [ str ] = Field (
339340 description = "Name to use within all user interactions through the user interface. Note that this may not "
340341 "be the same name used to update or interact with the attribute through API operations, for "
341342 "that see the `name` property. (This property can be used instead of `name` for the creation "
342343 "of an attribute definition as well.)"
343344 )
344- name : str = Field (
345+ name : Optional [ str ] = Field (
345346 description = "Unique name of this attribute definition. When provided during creation, this should be the "
346347 "human-readable name for the attribute. When returned (or provided for an update) this will be "
347348 "the static-hashed name that Atlan uses internally. (This is to allow the name to be changed "
@@ -358,7 +359,7 @@ def create(
358359 is_unique : Optional [bool ] = Field (
359360 description = "When true, this attribute must be unique across all assets." ,
360361 )
361- options : AttributeDef .Options = Field (
362+ options : Optional [ AttributeDef .Options ] = Field (
362363 description = "Extensible options for the attribute."
363364 )
364365 search_weight : Optional [float ] = Field (description = "TBC" )
0 commit comments