Skip to content

Commit

Permalink
refactor: change response model in plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
whdalsrnt committed Nov 3, 2023
1 parent 521adfb commit 6f8d70e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ class Changed(BaseModel):

class TasksResponse(BaseModel):
tasks: List[Task]
changed: List[Changed]
changed: List[Changed] = []

0 comments on commit 6f8d70e

Please sign in to comment.