Types
CommonKwargs
¶
Source code in python/opsml/types/_types.pyi
as_string()
¶
Return the string representation of the CommonKwargs.
Returns:
Type | Description |
---|---|
str
|
String representation of the CommonKwargs. |
from_string(s)
staticmethod
¶
Return the CommonKwargs enum from a string.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
s
|
str
|
The string representation of the CommonKwargs. |
required |
Returns:
Type | Description |
---|---|
Optional[CommonKwargs]
|
The CommonKwargs enum. |
DriftProfileUri
¶
Source code in python/opsml/types/_types.pyi
__init__(uri, drift_type)
¶
Define a drift profile
Parameters:
Name | Type | Description | Default |
---|---|---|---|
root_dir
|
The root directory of the drift profile |
required | |
uri
|
Path
|
The relative path to the drift profile |
required |
drift_type
|
DriftType
|
Drift profile type |
required |
Source code in python/opsml/types/_types.pyi
SaveName
¶
Source code in python/opsml/types/_types.pyi
__str__()
¶
as_string()
¶
Return the string representation of the SaveName.
Returns:
Type | Description |
---|---|
str
|
String representation of the SaveName. |
SaverPath
¶
Source code in python/opsml/types/_types.pyi
__init__(parent, child, filename, extension)
¶
Helper for creating paths for saving artifacts.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
parent
|
Path
|
The parent path. |
required |
child
|
Path | None
|
The child path. |
required |
filename
|
SaveName | None
|
The filename. |
required |
extension
|
Suffix | None
|
The extension. |
required |
Source code in python/opsml/types/_types.pyi
Suffix
¶
Source code in python/opsml/types/_types.pyi
__str__()
¶
as_string()
¶
Return the string representation of the Suffix.
Returns:
Type | Description |
---|---|
str
|
String representation of the Suffix. |