@@ -120,7 +120,7 @@ class DCTag(AtlanYamlModel):
120
120
name : Optional [str ] = Field (
121
121
default = None , description = "Human-readable name of the Atlan tag."
122
122
)
123
- propagate : Optional [str ] = Field (
123
+ propagate : Optional [Union [ bool , str ] ] = Field (
124
124
default = None , description = "Whether to propagate the tag or not."
125
125
)
126
126
propagate_through_lineage : Optional [bool ] = Field (
@@ -156,6 +156,10 @@ class DCColumn(AtlanYamlModel):
156
156
default = None ,
157
157
description = "When true, this column is the primary key for the table." ,
158
158
)
159
+ required : Optional [bool ] = Field (
160
+ default = None ,
161
+ description = "When true, this column is the required for the table." ,
162
+ )
159
163
data_type : Optional [str ] = Field (
160
164
default = None ,
161
165
description = "Physical data type of values in this column (e.g. varchar(20))." ,
@@ -188,7 +192,7 @@ class DCColumn(AtlanYamlModel):
188
192
default_factory = list ,
189
193
description = "Enumeration of values that should be considered missing." ,
190
194
)
191
- not_null : Optional [bool ] = Field (
195
+ not_null : Optional [Any ] = Field (
192
196
default = None , description = "When true, this column cannot be empty."
193
197
)
194
198
valid_length : Optional [int ] = Field (
@@ -205,6 +209,6 @@ class DCColumn(AtlanYamlModel):
205
209
default = None ,
206
210
description = "Minimum length for a string to be considered valid." ,
207
211
)
208
- unique : Optional [bool ] = Field (
212
+ unique : Optional [Any ] = Field (
209
213
default = None , description = "When true, this column must have unique values."
210
214
)
0 commit comments