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
3 changes: 3 additions & 0 deletions src/pingintel_api/pingvision/pingvision_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def create_submission(
expiration_date: datetime.date | None = None,
delegate_to_company: str | None = None,
delegate_to_team: str | None = None,
do_not_certify: bool = False,
) -> t.PingVisionCreateSubmissionResponse:
"""
Initiate a new submission from one or more original files.
Expand Down Expand Up @@ -92,6 +93,8 @@ def create_submission(
data["delegate_to_company"] = delegate_to_company
if delegate_to_team:
data["delegate_to_team"] = delegate_to_team

data["do_not_certify"] = do_not_certify

response = self.post(url, files=multiple_files, data=data)

Expand Down
3 changes: 3 additions & 0 deletions src/pingintel_api/sov_fixer/sov_fixer_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def fix_sov_async_start(
update_callback_url=None,
allow_ping_data_api=None,
workflow=None,
do_not_certify: bool = False,
):
"""
Start a SOV Fixer request from one or more files asynchronously.
Expand Down Expand Up @@ -76,6 +77,8 @@ def fix_sov_async_start(
if workflow is not None:
data["workflow"] = workflow

data["do_not_certify"] = do_not_certify

response = self.post(url, files=files, data=data)
if 200 <= response.status_code < 300:
# pprint.pprint(response.json())
Expand Down