Skip to content

Commit

Permalink
Merge pull request #113 from maurerle/role_addr
Browse files Browse the repository at this point in the history
remove overloaded property functions in RoleContext
  • Loading branch information
rcschrg authored Oct 21, 2024
2 parents 348ce11 + 9637581 commit d8d9735
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mango/agent/role.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,14 +362,6 @@ def subscribe_event(self, role: Role, event_type: Any, handler_method: Callable)
"""
self._role_handler.subscribe_event(role, event_type, handler_method)

@property
def addr(self):
return self._agent_context.addr

@property
def aid(self):
return self._aid

def deactivate(self, role) -> None:
self._role_handler.deactivate(role)

Expand Down

0 comments on commit d8d9735

Please sign in to comment.