Skip to content

Commit

Permalink
network refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
sal authored and sal committed Jan 30, 2025
1 parent 2afb59f commit 3d9fdd2
Show file tree
Hide file tree
Showing 9 changed files with 326 additions and 296 deletions.
3 changes: 1 addition & 2 deletions commune/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class c:
"client": 'server.client',
'network': 'server.network',
'local': 'server.network',
'network.local': 'server.network',
}
splitters = [':', '/', '.']
route_cache = None
Expand Down Expand Up @@ -1580,7 +1579,7 @@ def new_module( cls,
add_module = new_module

def build(self, *args, **kwargs):
return c.module('builder')().forward(*args, **kwargs)
return c.module('builder')().build(*args, **kwargs)

@classmethod
def filter(cls, text_list: List[str], filter_text: str) -> List[str]:
Expand Down
159 changes: 0 additions & 159 deletions commune/server/manager.py

This file was deleted.

Loading

0 comments on commit 3d9fdd2

Please sign in to comment.