Skip to content

Commit

Permalink
Bump google-api-python-client from 2.98.0 to 2.99.0 (#3784)
Browse files Browse the repository at this point in the history
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.98.0 to 2.99.0.
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Changelog](https://github.com/googleapis/google-api-python-client/blob/main/CHANGELOG.md)
- [Commits](googleapis/google-api-python-client@v2.98.0...v2.99.0)

---
updated-dependencies:
- dependency-name: google-api-python-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored and metroid-samus committed Sep 28, 2023
1 parent a845967 commit 8204255
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"devDependencies": {
"@playwright/test": "^1.38.0"
},
"dependencies": {
"lint": "^0.8.19"
}
}
22 changes: 22 additions & 0 deletions src/dispatch/conversation/exceptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
from dispatch.exceptions import DispatchException


class ConversationUpdateException(DispatchException):
"""Base exception for all errors related to updating conversations."""

pass


class NoCaseConversationRelationException(ConversationUpdateException):
def __init__(self, case_id: int):
super().__init__(f"No relationship between case {case_id} and a conversation.")


class NoIncidentConversationRelationException(ConversationUpdateException):
def __init__(self, incident_id: int):
super().__init__(f"No relationship between incident {incident_id} and a conversation.")


class NoConversationPluginException(ConversationUpdateException):
def __init__(self, msg: str = None):
super().__init__("No conversation plugin enabled.")
12 changes: 12 additions & 0 deletions src/dispatch/document/exceptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from dispatch.exceptions import DispatchException


class ConversationUpdateException(DispatchException):
"""Base exception for all errors related to updating conversations."""

pass


class NoDocumentRelationError(ConversationUpdateException):
def __init__(self, subject_id: int):
super().__init__(f"No relationship between subject {subject_id} and a document.")

0 comments on commit 8204255

Please sign in to comment.