File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010from django .core .serializers .json import DjangoJSONEncoder
1111from django .db .models import Q
12- from typing_extensions import Literal
1312
1413from morango .models .certificates import Filter
1514from morango .models .core import DatabaseMaxCounter
@@ -71,8 +70,14 @@ def __init__(
7170 profile : str ,
7271 sync_filter : Optional [Filter ] = None ,
7372 dirty_only : bool = True ,
74- partition_order : Literal [ "asc" , "desc" ] = "asc" ,
73+ partition_order : str = "asc" ,
7574 ):
75+ """
76+ :param profile: The Morango model profile
77+ :param sync_filter: The Filter object for this sync
78+ :param dirty_only: Whether to filter on dirty records only
79+ :param partition_order: Controls how the filter specificity is applied, "asc" or "desc"
80+ """
7681 self .profile = profile
7782 self .sync_filter = sync_filter
7883 self .dirty_only = dirty_only
Original file line number Diff line number Diff line change 2929 "djangorestframework>3.10" ,
3030 "django-ipware==4.0.2" ,
3131 "requests" ,
32- "typing-extensions==4.1.1" ,
3332 "ifcfg" ,
3433 ],
3534 license = "MIT" ,
You can’t perform that action at this time.
0 commit comments