Skip to content

Commit 8c5211f

Browse files
author
José Márquez Doblas
committed
Folder structure changed
1 parent 41b773b commit 8c5211f

16 files changed

+19
-20
lines changed

__init__.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
from ._exceptions import *
2-
from ._command import Command
3-
from ._command_bus import CommandBus
4-
from ._command_handler import CommandHandler
5-
from ._query import Query
6-
from ._query_bus import QueryBus
7-
from ._query_handler import QueryHandler
8-
from ._query_response import QueryResponse
1+
from .command._exceptions import *
2+
from .command._command import Command
3+
from .command._command_bus import CommandBus
4+
from .command._command_handler import CommandHandler
5+
from .query._exceptions import *
6+
from .query._query import Query
7+
from .query._query_bus import QueryBus
8+
from .query._query_handler import QueryHandler
9+
from .query._query_response import QueryResponse
File renamed without changes.
File renamed without changes.
File renamed without changes.

_exceptions.py renamed to command/_exceptions.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,3 @@ class CommandAlreadyExistException(CommandBusException):
88

99
class CommandHandlerDoesNotExistException(CommandBusException):
1010
pass
11-
12-
13-
class QueryBusException(Exception):
14-
pass
15-
16-
17-
class QueryAlreadyExistException(QueryBusException):
18-
pass
19-
20-
21-
class QueryHandlerDoesNotExistException(QueryBusException):
22-
pass

command/tests/__init__.py

Whitespace-only changes.

query/__init__.py

Whitespace-only changes.

query/_exceptions.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
class QueryBusException(Exception):
2+
pass
3+
4+
5+
class QueryAlreadyExistException(QueryBusException):
6+
pass
7+
8+
9+
class QueryHandlerDoesNotExistException(QueryBusException):
10+
pass

0 commit comments

Comments
 (0)