File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ def make(self, key):
105105 The method can be implemented either as:
106106 (a) Regular method: All three steps are performed in a single database transaction.
107107 The method must return None.
108- (b) Generator method:
109- The make method is split into three functions:
108+ (b) Generator method:
109+ The make method is split into three functions:
110110 - `make_fetch`: Fetches data from the parent tables.
111111 - `make_compute`: Computes secondary attributes based on the fetched data.
112112 - `make_insert`: Inserts the computed data into the current table.
@@ -124,7 +124,7 @@ def make(self, key):
124124 self.make_insert(key, *computed_result)
125125 commit_transaction
126126 <pseudocode>
127-
127+
128128 Importantly, the output of make_fetch is a tuple that serves as the input into `make_compute`.
129129 The output of `make_compute` is a tuple that serves as the input into `make_insert`.
130130
You can’t perform that action at this time.
0 commit comments