Skip to content

Commit

Permalink
Add references property
Browse files Browse the repository at this point in the history
  • Loading branch information
PGijsbers committed Nov 28, 2024
1 parent e8ab966 commit 3862790
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions amlb/frameworks/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import itertools
import logging
import os
from dataclasses import dataclass
from dataclasses import dataclass, field
from typing import List, Optional, Union, TYPE_CHECKING

from amlb.utils import Namespace, config_load, str_sanitize
Expand Down Expand Up @@ -256,15 +256,17 @@ class Framework:
abstract: bool
module: str
version: str
params: dict
# Image
image: Image
# Setup
setup_env: dict
setup_args: list[str]
_setup_cmd: str | None
setup_cmd: str | None
setup_script: str | None
setup_env: dict = field(default_factory=dict)
setup_args: list[str] = field(default_factory=list)
# core but optional
params: dict = field(default_factory=dict)
refs: list[str] = field(default_factory=list)


def load_framework_definition(
Expand Down

0 comments on commit 3862790

Please sign in to comment.