Skip to content

Commit 90ae1e9

Browse files
committed
correct class FetchOption(IntEnum)
1 parent 6809706 commit 90ae1e9

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/gstype_python.i

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,19 @@ class FetchOption(IntEnum):
5757
def __int__(self):
5858
return int(self.value)
5959
LIMIT = 0
60+
%#if GS_COMPATIBILITY_SUPPORT_1_5
61+
62+
%#if GS_INTERNAL_DEFINITION_VISIBLE
63+
%#if !GS_COMPATIBILITY_DEPRECATE_FETCH_OPTION_SIZE
64+
SIZE = (LIMIT + 1)
65+
%#endif
66+
%#endif
67+
68+
%#if GS_COMPATIBILITY_SUPPORT_4_0
69+
PARTIAL_EXECUTION = (LIMIT + 2)
70+
%#endif
71+
72+
%#endif
6073
class TimeUnit(IntEnum):
6174
def __int__(self):
6275
return int(self.value)

0 commit comments

Comments
 (0)