diff --git a/src/spaceone/cost_analysis/plugin/data_source/model/data_source_response.py b/src/spaceone/cost_analysis/plugin/data_source/model/data_source_response.py index 412935d2..651da8cb 100644 --- a/src/spaceone/cost_analysis/plugin/data_source/model/data_source_response.py +++ b/src/spaceone/cost_analysis/plugin/data_source/model/data_source_response.py @@ -53,7 +53,7 @@ class SupportedSecretType(str, Enum): class PluginMetadata(BaseModel): - data_source_rules: List[DataSourceRule] + data_source_rules: List[DataSourceRule] = [] supported_secret_types: List[SupportedSecretType] = [SupportedSecretType.manual] currency: str = 'USD' diff --git a/src/spaceone/cost_analysis/plugin/data_source/model/job_response.py b/src/spaceone/cost_analysis/plugin/data_source/model/job_response.py index 0dec3c7e..4c402102 100644 --- a/src/spaceone/cost_analysis/plugin/data_source/model/job_response.py +++ b/src/spaceone/cost_analysis/plugin/data_source/model/job_response.py @@ -15,4 +15,4 @@ class Changed(BaseModel): class TasksResponse(BaseModel): tasks: List[Task] - changed: List[Changed] + changed: List[Changed] = []