@@ -37,6 +37,7 @@ def __init__(
3737 * ,
3838 nullable : bool = False ,
3939 primary_key : bool = False ,
40+ unique : bool = False ,
4041 min : dt .date | None = None ,
4142 min_exclusive : dt .date | None = None ,
4243 max : dt .date | None = None ,
@@ -54,6 +55,7 @@ def __init__(
5455 is not specified.
5556 primary_key: Whether this column is part of the primary key of the schema.
5657 If `True`, `nullable` is automatically set to `False`.
58+ unique: Whether this column must contain unique values.
5759 min: The minimum date for dates in this column (inclusive).
5860 min_exclusive: Like `min` but exclusive. May not be specified if `min`
5961 is specified and vice versa.
@@ -101,6 +103,7 @@ def __init__(
101103 super ().__init__ (
102104 nullable = nullable ,
103105 primary_key = primary_key ,
106+ unique = unique ,
104107 min = min ,
105108 min_exclusive = min_exclusive ,
106109 max = max ,
@@ -170,6 +173,7 @@ def __init__(
170173 * ,
171174 nullable : bool = False ,
172175 primary_key : bool = False ,
176+ unique : bool = False ,
173177 min : dt .time | None = None ,
174178 min_exclusive : dt .time | None = None ,
175179 max : dt .time | None = None ,
@@ -187,6 +191,7 @@ def __init__(
187191 is not specified.
188192 primary_key: Whether this column is part of the primary key of the schema.
189193 If `True`, `nullable` is automatically set to `False`.
194+ unique: Whether this column must contain unique values.
190195 min: The minimum time for times in this column (inclusive).
191196 min_exclusive: Like `min` but exclusive. May not be specified if `min`
192197 is specified and vice versa.
@@ -234,6 +239,7 @@ def __init__(
234239 super ().__init__ (
235240 nullable = nullable ,
236241 primary_key = primary_key ,
242+ unique = unique ,
237243 min = min ,
238244 min_exclusive = min_exclusive ,
239245 max = max ,
@@ -309,6 +315,7 @@ def __init__(
309315 * ,
310316 nullable : bool = False ,
311317 primary_key : bool = False ,
318+ unique : bool = False ,
312319 min : dt .datetime | None = None ,
313320 min_exclusive : dt .datetime | None = None ,
314321 max : dt .datetime | None = None ,
@@ -328,6 +335,7 @@ def __init__(
328335 is not specified.
329336 primary_key: Whether this column is part of the primary key of the schema.
330337 If `True`, `nullable` is automatically set to `False`.
338+ unique: Whether this column must contain unique values.
331339 min: The minimum datetime for datetimes in this column (inclusive).
332340 min_exclusive: Like `min` but exclusive. May not be specified if `min`
333341 is specified and vice versa.
@@ -375,6 +383,7 @@ def __init__(
375383 super ().__init__ (
376384 nullable = nullable ,
377385 primary_key = primary_key ,
386+ unique = unique ,
378387 min = min ,
379388 min_exclusive = min_exclusive ,
380389 max = max ,
@@ -472,6 +481,7 @@ def __init__(
472481 * ,
473482 nullable : bool = False ,
474483 primary_key : bool = False ,
484+ unique : bool = False ,
475485 min : dt .timedelta | None = None ,
476486 min_exclusive : dt .timedelta | None = None ,
477487 max : dt .timedelta | None = None ,
@@ -490,6 +500,7 @@ def __init__(
490500 is not specified.
491501 primary_key: Whether this column is part of the primary key of the schema.
492502 If `True`, `nullable` is automatically set to `False`.
503+ unique: Whether this column must contain unique values.
493504 min: The minimum duration for durations in this column (inclusive).
494505 min_exclusive: Like `min` but exclusive. May not be specified if `min`
495506 is specified and vice versa.
@@ -534,6 +545,7 @@ def __init__(
534545 super ().__init__ (
535546 nullable = nullable ,
536547 primary_key = primary_key ,
548+ unique = unique ,
537549 min = min ,
538550 min_exclusive = min_exclusive ,
539551 max = max ,
0 commit comments