forked from cosmicpython/book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chapters.py
executable file
·44 lines (39 loc) · 994 Bytes
/
chapters.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env python
CHAPTERS = [
'chapter_01_domain_model',
'chapter_02_repository',
"chapter_04_service_layer",
"chapter_05_high_gear_low_gear",
"appendix_project_structure",
'appendix_django',
"chapter_06_uow",
"appendix_csvs",
"chapter_07_aggregate",
"chapter_08_events_and_message_bus",
"chapter_09_all_messagebus",
"chapter_10_commands",
"chapter_11_external_events",
"chapter_12_cqrs",
"chapter_13_dependency_injection",
]
BRANCHES = {
'appendix_csvs',
'appendix_django',
}
STANDALONE = [
'chapter_03_abstractions',
]
NO_EXERCISE = [
"chapter_03_abstractions",
"chapter_05_high_gear_low_gear",
"appendix_project_structure",
'appendix_django',
"appendix_csvs",
"chapter_09_all_messagebus",
"chapter_10_commands",
"chapter_11_external_events",
"chapter_12_cqrs",
"chapter_13_dependency_injection",
]
if __name__ == "__main__":
print("\n".join(CHAPTERS + STANDALONE))