mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-16 11:01:34 +08:00
Add support for RangeBoundary (#252)
This commit is contained in:
1 parent
f5f33b061d
commit
3b69ec6a72
2 files changed
+6
No files matched your search
@@ -9,6 +9,7 @@ from .ranges import (
|
||||
DateRangeField as DateRangeField,
|
||||
DateTimeRangeField as DateTimeRangeField,
|
||||
RangeOperators as RangeOperators,
|
||||
RangeBoundary as RangeBoundary,
|
||||
)
|
||||
from .hstore import HStoreField as HStoreField
|
||||
from .citext import (
|
||||
|
||||
@@ -41,3 +41,8 @@ class RangeOperators:
|
||||
NOT_LT: str
|
||||
NOT_GT: str
|
||||
ADJACENT_TO: str
|
||||
|
||||
class RangeBoundary(models.Expression):
|
||||
lower: str
|
||||
upper: str
|
||||
def __init__(self, inclusive_lower: bool = ..., inclusive_upper: bool = ...): ...
|
||||
Reference in new issue
Block a user