"install-with-cache.sh" did not exist on "25cee5810e8da6c2ce4611b413b0fb14c853b4a8"
Commit 7fcfb4ac authored by Baber's avatar Baber
Browse files

refactor: simplify docstrings and improve task name matching logic

parent 5e632643
import abc
from dataclasses import asdict, dataclass
from inspect import getsource
from typing import Any, Callable, List, Optional, Union
......@@ -83,8 +82,14 @@ class GroupConfig(dict):
except (TypeError, OSError):
return str(value)
@property
def version(self) -> str:
"""Returns the version of the group configuration."""
return self.metadata.get("version", "1.0")
class ConfigurableGroup(abc.ABC):
@dataclass
class ConfigurableGroup:
def __init__(
self,
config: Optional[dict] = None,
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment