fuzzylabs / matcha

A tool to provision MLOps environments in Azure
http://mymatcha.ai/
Apache License 2.0
30 stars 2 forks source link

[RPD-310] Update MatchaConfig and MatchaConfigComponent to include adding and removal of properties without overwriting #207

Closed Christopher-Norman closed 1 year ago

Christopher-Norman commented 1 year ago

MatchaConfig and MatchaConfigComponent need additional functions: MatchaConfigComponent:

    def remove_property(self, property_name: str) -> None:
MatchaConfigService
    @staticmethod
    def add_property(
        component_name: str, component_property: MatchaConfigComponentProperty
    ) -> None:

and

    @staticmethod
    def remove_property(
        component_name: str, property_name: str
    ) -> None:

Checklist

Please ensure you have done the following:

Type of change

Tick all those that apply: