We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 177e525 commit 83a4ff9Copy full SHA for 83a4ff9
src/charm.py
@@ -125,8 +125,9 @@ def __init__(
125
)
126
self.database_key = "topic"
127
128
- def get_full_state(self) -> DPBenchmarkBaseDatabaseModel | None:
129
- """Returns the value of the key."""
+ @override
+ def model(self) -> DPBenchmarkBaseDatabaseModel | None:
130
+ """Returns the database model."""
131
if not self.relation or not (endpoints := self.remote_data.get("endpoints")):
132
return None
133
if not (dbmodel := super().model()):
0 commit comments