Skip to content

Commit fa7a724

Browse files
committed
more comments
1 parent aea84cf commit fa7a724

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

caldav/objects.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,13 +1937,19 @@ class CalendarObjectResource(DAVObject):
19371937
event, a todo-item, a journal entry, or a free/busy entry
19381938
"""
19391939

1940-
## There is also STARTTOFINISH in RFC9253, it does not have any reverse
1940+
## There is also STARTTOFINISH, STARTTOSTART and FINISHTOFINISH in RFC9253,
1941+
## those do not seem to have any reverse
1942+
## (FINISHTOSTART and STARTTOFINISH may seem like reverse relations, but
1943+
## as I read the RFC, FINISHTOSTART seems like the reverse of DEPENDS-ON)
1944+
## (STARTTOSTART and FINISHTOFINISH may also seem like symmetric relations,
1945+
## meaning they are their own reverse, but as I read the RFC they are
1946+
## asymmetric)
19411947
RELTYPE_REVERSER: ClassVar = {
19421948
"PARENT": "CHILD",
19431949
"CHILD": "PARENT",
19441950
"SIBLING": "SIBLING",
19451951
## this is how Tobias Brox inteprets RFC9253:
1946-
"DEPENDENT": "FINISHTOSTART",
1952+
"DEPENDS-ON": "FINISHTOSTART",
19471953
"FINISHTOSTART": "DEPENDENT",
19481954
## next/first is a special case, linked list
19491955
## it needs special handling when length of list<>2

0 commit comments

Comments
 (0)