Skip to content

Commit

Permalink
Rename NetworkRelayF class to NetworkRelayForAccessClients for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
elikoga committed Jan 3, 2025
1 parent 9c05e2a commit 10e687b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions http_network_relay/network_relay_for_access_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def eprint(*args, only_debug=False, **kwargs):
print(*args, file=sys.stderr, **kwargs)


class NetworkRelayF(NetworkRelay):
class NetworkRelayForAccessClients(NetworkRelay):
def __init__(self, credentials):
super().__init__(credentials)
self.active_connections = {}
Expand Down Expand Up @@ -284,7 +284,7 @@ def main():
with open(credentials_file) as f:
CREDENTIALS = json.load(f)

network_relay = NetworkRelayF(CREDENTIALS)
network_relay = NetworkRelayForAccessClients(CREDENTIALS)
app.add_websocket_route("/ws_for_edge_agents", network_relay.ws_for_edge_agents)
app.add_websocket_route(
"/ws_for_access_clients", network_relay.ws_for_access_clients
Expand Down

0 comments on commit 10e687b

Please sign in to comment.