Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GispoCoding/arho-feature-template
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 85f000a8248164896e4ec60906d26b2abe08aa3a
Choose a base ref
..
head repository: GispoCoding/arho-feature-template
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9c8d8d4d331391060b4391c751b820de4493900c
Choose a head ref
5 changes: 3 additions & 2 deletions arho_feature_template/core/models.py
Original file line number Diff line number Diff line change
@@ -97,7 +97,6 @@ def from_config_file(
for group_name in feature_data.get("regulation_groups", [])
if (group := cls.find_matching_group_config(group_name, regulation_group_libraries))
],
lifecycles=[],
plan_id=None,
id_=None,
)
@@ -553,7 +552,6 @@ class PlanFeature:
name: str | None = None
description: str | None = None
regulation_groups: list[RegulationGroup] = field(default_factory=list)
lifecycles: list[LifeCycle] = field(default_factory=list)
plan_id: int | None = None
id_: str | None = None

@@ -562,6 +560,9 @@ def from_config_data(cls, data: dict) -> PlanFeature:
# TODO: Implement
return cls(**data)

def __str__(self):
return self.name if self.name else ""


@dataclass
class Plan:
Loading