Skip to content

Commit

Permalink
add _on_secret_changed to DatabaseProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
skourta committed Feb 28, 2025
1 parent a1dbf63 commit aea5632
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/charms/data_platform_libs/v0/data_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -2822,6 +2822,10 @@ def _on_relation_changed_event(self, event: RelationChangedEvent) -> None:
event.relation, app=event.app, unit=event.unit
)

def _on_secret_changed_event(self, event: SecretChangedEvent) -> None:
"""Event emitted when the secret has changed."""
pass


class DatabaseProvides(DatabaseProviderData, DatabaseProviderEventHandlers):
"""Provider-side of the database relations."""
Expand Down

0 comments on commit aea5632

Please sign in to comment.