enums
All the enumerated types, collected in one place so that auto-completion can list them.
Since
clear
=
<TAB>
does not offer the valid values (no IDE infers the type of an assignment target or of a
keyword argument), the practical way to discover them is
dafpy.enums.<TAB>
for the types, and then
.<TAB>
again for the values of the chosen one. The same types are also available directly, e.g.
dafpy.CacheGroup
.
You can also
from
dafpy
import
enums
as
e
and write
e.CacheGroup.MappedData
, or
from
dafpy.enums
import
*
and write
CacheGroup.MappedData
.
- class dafpy.enums. AbnormalHandler ( value ) [source]
-
The action to take when encountering an “abnormal” (but recoverable) operation. See the Julia documentation for details.
- IgnoreHandler = 'IgnoreHandler'
-
Ignore the abnormal operation.
- WarnHandler = 'WarnHandler'
-
Print a warning for the abnormal operation.
- ErrorHandler = 'ErrorHandler'
-
Raise an error for the abnormal operation.
- class dafpy.enums. CacheGroup ( value ) [source]
-
Types of cached data inside
Daf. See the Julia documentation for details.- MappedData = 'MappedData'
-
Data mapped from disk files.
- MemoryData = 'MemoryData'
-
Data that exists only in memory.
- QueryData = 'QueryData'
-
Data computed by queries.
- class dafpy.enums. LogLevel ( value ) [source]
-
The (Julia) log levels. A specific
intlevel can be used instead of any of these.- Debug = 'Debug'
-
Show debug messages and above.
- Info = 'Info'
-
Show informational messages and above.
- Warn = 'Warn'
-
Show warning messages and above.
- Error = 'Error'
-
Show only error messages.
- class dafpy.enums. MergeAction ( value ) [source]
-
The action for merging the values of a property from the concatenated data sets into the result data set. See the Julia documentation for details.
- SkipProperty = 'SkipProperty'
-
Do not include the property in the result.
- LastValue = 'LastValue'
-
Use the value from the last concatenated data set.
- CollectAxis = 'CollectAxis'
-
Collect the values along the concatenation axis.