Skip to content

Commit

Permalink
create acl folder
Browse files Browse the repository at this point in the history
move token code to acl/token.py
  • Loading branch information
cpaillet committed May 14, 2024
1 parent 4094461 commit ec72316
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 7 additions & 0 deletions consul/api/acl/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from consul.api.acl.token import Token


class ACL:
def __init__(self, agent):
self.agent = agent
self.token = Token(agent)
6 changes: 0 additions & 6 deletions consul/api/acl.py → consul/api/acl/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
from consul.callback import CB


class ACL:
def __init__(self, agent):
self.agent = agent
self.token = Token(agent)


class Token:
def __init__(self, agent):
self.agent = agent
Expand Down

0 comments on commit ec72316

Please sign in to comment.