fix: added missing type hints
This commit is contained in:
+26
-26
@@ -5,50 +5,50 @@ class DataFormat(Enum):
|
||||
The possible data format types for record field values.
|
||||
"""
|
||||
|
||||
Raw = 0
|
||||
Formatted = 1
|
||||
Raw:int = 0
|
||||
Formatted:int = 1
|
||||
|
||||
class ReportDataType(Enum):
|
||||
"""
|
||||
The possible report data types for reports.
|
||||
"""
|
||||
ReportData = 0
|
||||
ChartData = 1
|
||||
ReportData:int = 0
|
||||
ChartData:int = 1
|
||||
|
||||
class ResultValueType(Enum):
|
||||
"""
|
||||
The possible types for record field values.
|
||||
"""
|
||||
String = 0
|
||||
Integer = 1
|
||||
Decimal = 2
|
||||
Date = 3
|
||||
TimeSpan = 4
|
||||
Guid = 5
|
||||
StringList = 6
|
||||
IntegerList = 7
|
||||
GuidList = 8
|
||||
AttachmentList = 9
|
||||
ScoringGroupList = 10
|
||||
FileList = 11
|
||||
String:int = 0
|
||||
Integer:int = 1
|
||||
Decimal:int = 2
|
||||
Date:int = 3
|
||||
TimeSpan:int = 4
|
||||
Guid:int = 5
|
||||
StringList:int = 6
|
||||
IntegerList:int = 7
|
||||
GuidList:int = 8
|
||||
AttachmentList:int = 9
|
||||
ScoringGroupList:int = 10
|
||||
FileList:int = 11
|
||||
|
||||
class Increment(Enum):
|
||||
"""
|
||||
The possible values for the increment property of timespan data in an Onspring timespan field.
|
||||
"""
|
||||
Seconds = "Second(s)"
|
||||
Minutes = "Minute(s)"
|
||||
Hours = "Hour(s)"
|
||||
Days = "Day(s)"
|
||||
Weeks = "Week(s)"
|
||||
Months = "Month(s)"
|
||||
Years = "Year(s)"
|
||||
Seconds:str = "Second(s)"
|
||||
Minutes:str = "Minute(s)"
|
||||
Hours:str = "Hour(s)"
|
||||
Days:str = "Day(s)"
|
||||
Weeks:str = "Week(s)"
|
||||
Months:str = "Month(s)"
|
||||
Years:str = "Year(s)"
|
||||
|
||||
class Recurrence(Enum):
|
||||
"""
|
||||
The possible values for the recurrence property of timespan data in an Onspring timespan field.
|
||||
"""
|
||||
Empty = "None"
|
||||
EndByDate = "EndByDate"
|
||||
EndAfterOccurrences = 'EndAfterOccurrences'
|
||||
Empty:str = "None"
|
||||
EndByDate:str = "EndByDate"
|
||||
EndAfterOccurrences:str = 'EndAfterOccurrences'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user