Skip to content

Commit

Permalink
Merge pull request #260 from miyurud/lintfix-nov2024
Browse files Browse the repository at this point in the history
Fix lint issue of too many args
  • Loading branch information
miyurud authored Nov 15, 2024
2 parents 0041ff7 + 9dc7b0c commit bcbae83
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src_python/fl_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class Client:
(Without partition sheduling)
"""

#pylint: disable=too-many-positional-arguments
def __init__(self, model, graph_params, weights_path, graph_id, partition_id, epochs=10,
ip=socket.gethostname(), port=5000, header_length=10):

Expand Down
1 change: 1 addition & 0 deletions src_python/fl_client_shed.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class Client:
on a given GCN model (With partition sheduling)
"""

#pylint: disable=too-many-positional-arguments
def __init__(self, client_id, weights_path, graph_id, partition_ids, epochs=10,
ip=socket.gethostname(), port=5000, header_length=10):

Expand Down
1 change: 1 addition & 0 deletions src_python/fl_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class Server:
learning process (Without partition sheduling)
"""

#pylint: disable=too-many-positional-arguments
def __init__(self, model, rounds, weights_path, graph_id, max_conn=2, ip=socket.gethostname(),
port=5000, header_length=10):

Expand Down
1 change: 1 addition & 0 deletions src_python/fl_server_shed.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class Server:
learning process (With partition sheduling)
"""

#pylint: disable=too-many-positional-arguments
def __init__(self, model_weights, rounds, weights_path, graph_id, num_clients=2,
ip=socket.gethostname(), port=5000, header_length=10):

Expand Down
1 change: 1 addition & 0 deletions src_python/org_agg.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class Aggregator:
"""Aggregator
"""

#pylint: disable=too-many-positional-arguments
def __init__(self, model, rounds, num_orgs, ip, port):

# Parameters
Expand Down
1 change: 1 addition & 0 deletions src_python/org_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Server:
"""Server
"""

#pylint: disable=too-many-positional-arguments
def __init__(self, org_id, model_weights, rounds, num_clients, ip, port):

# Parameters
Expand Down

0 comments on commit bcbae83

Please sign in to comment.