Skip to content

Commit

Permalink
funciton routing with module_routes in c.Module
Browse files Browse the repository at this point in the history
  • Loading branch information
latentvector committed Jun 9, 2024
1 parent ed776ba commit 7765273
Show file tree
Hide file tree
Showing 7 changed files with 278 additions and 634 deletions.
5 changes: 4 additions & 1 deletion commune/key/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ def create_from_seed(
def from_password(cls, password:str, **kwargs):
return cls.create_from_uri(password, **kwargs)

pwd2key = password2key = from_password
str2key = pwd2key = password2key = from_password


@classmethod
Expand Down Expand Up @@ -1668,7 +1668,10 @@ def process_result(fn, result, fn2result):

return fn2result


Keypair.run(__name__)





Loading

0 comments on commit 7765273

Please sign in to comment.