Skip to content

Commit 1b31683

Browse files
committed
Document unknowntarget raises
1 parent 0585e24 commit 1b31683

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/vws/vws.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ def wait_for_target_processed(self, target_id: str) -> None:
268268
Raises:
269269
TimeoutError: The target remained in the processing stage for more
270270
than five minutes.
271+
~vws.exceptions.UnknownTarget: The given target ID does not match a
272+
target in the database.
271273
"""
272274
while True:
273275
report = self.get_target_summary_report(target_id=target_id)
@@ -313,6 +315,10 @@ def get_target_summary_report(
313315
314316
Returns:
315317
Details of the target.
318+
319+
Raises:
320+
~vws.exceptions.UnknownTarget: The given target ID does not match a
321+
target in the database.
316322
"""
317323
response = self._make_request(
318324
method='GET',
@@ -351,6 +357,10 @@ def delete_target(self, target_id: str) -> None:
351357
352358
Args:
353359
target_id: The ID of the target to delete.
360+
361+
Raises:
362+
~vws.exceptions.UnknownTarget: The given target ID does not match a
363+
target in the database.
354364
"""
355365
self._make_request(
356366
method='DELETE',

0 commit comments

Comments
 (0)