ODataLiterals
from skipcheck_tm1.odata import ODataLiterals OData literals, as they appear in keys, function parameters and $filter, before
percent-encoding.
Members
Raw static | |
string static | A string literal. |
enum_member static | An enumeration literal in OData 4.0 form, with its namespace-qualified type. |
of static | A literal for a Python value. |
Raw
staticRawstring
staticstring(value: str) -> strA string literal: single-quoted, with single quotes doubled ('O''Neil'). Not yet percent-encoded.
enum_member
staticenum_member(qualified_type: str, member: str) -> strAn enumeration literal in OData 4.0 form, with its namespace-qualified type: ibm.tm1.api.v1.ElementType'Numeric'. Not yet percent-encoded.
of
staticof(value: Any) -> strA literal for a Python value: strings are quoted, numbers and booleans written as is, None as null. Use Raw for an already-formed literal, such as an enum member or a date. Not yet percent-encoded.