Skip to content

Commit

Permalink
arg order
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Jun 30, 2023
1 parent 62b0f88 commit c9541a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/relations/deprecated_shared_db_database_provides.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def __init__(
self,
*,
relation: ops.Relation,
unit: ops.Unit,
peer_relation_app_databag: ops.RelationDataContent,
unit: ops.Unit,
) -> None:
super().__init__(relation=relation, peer_relation_app_databag=peer_relation_app_databag)
self._local_unit_databag = relation.data[unit]
Expand Down Expand Up @@ -117,8 +117,8 @@ def __init__(
self,
*,
relation: ops.Relation,
unit: ops.Unit,
peer_relation_app_databag: ops.RelationDataContent,
unit: ops.Unit,
event,
) -> None:
if isinstance(event, ops.RelationBrokenEvent) and event.relation.id == self._id:
Expand Down

0 comments on commit c9541a1

Please sign in to comment.