Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bayesian/utility/v2/sa_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class StackAnalysesPostRequest(BaseModel):
True,
description='This is required to enable or disable the transitive support',
)
ignore: Optional[Dict[str, List[str]]]

class Config:
"""Validation configuration for model."""
Expand Down
5 changes: 3 additions & 2 deletions bayesian/utility/v2/stack_analyses.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def post_request(self):
logger.info('SA Post request with ecosystem: %s manifest: %s path: %s '
'show_transitive: %s', self.params.ecosystem,
self.params.manifest.filename, self.params.file_path,
self.params.show_transitive)
self.params.show_transitive, self.params.ignore)
# Build manifest file info.
self._manifest_file_info = {
'filename': self.params.manifest.filename,
Expand Down Expand Up @@ -147,7 +147,8 @@ def _make_backbone_request(self):
'packages': data['packages'],
'manifest_name': self._manifest_file_info['filename'],
'manifest_file_path': self._manifest_file_info['filepath'],
'show_transitive': self.params.show_transitive
'show_transitive': self.params.show_transitive,
'ignore': self.params.ignore
}
request_params = {
'persist': 'true',
Expand Down