Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mlky/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
import importlib.metadata

__version__ = "4.2.7"
__version__ = "4.2.8"

# Instantiate before the CLI
from .configs import *
Expand Down
4 changes: 4 additions & 0 deletions mlky/configs/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ def cast(cls, value):

return cls.dtype(str(value))

@classmethod
def yaml(cls, value):
return Types.yaml(cls, str(value))


# Define what keys would match to which dtype class
dtypes = {
Expand Down