Skip to content

Commit

Permalink
Merge pull request #106 from whdalsrnt/master
Browse files Browse the repository at this point in the history
refactor: change response model in plugin
  • Loading branch information
whdalsrnt authored Nov 3, 2023
2 parents 521adfb + 6f8d70e commit 5492a4d
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 5492a4d

Please sign in to comment.