Store a value in a table. The table is automatically created if it doesn't exist. Args: table: Table name key: Key to store under value: Value to store (must be serializable)
(self, table, key, value)
| 189 | # ------------------------------------------------------------------------- |
| 190 | |
| 191 | def put(self, table, key, value): |
| 192 | """ |
| 193 | Store a value in a table. |
| 194 | |
| 195 | The table is automatically created if it doesn't exist. |
| 196 | |
| 197 | Args: |
| 198 | table: Table name |
| 199 | key: Key to store under |
| 200 | value: Value to store (must be serializable) |
| 201 | """ |
| 202 | self._execute(STASH_OP_PUT, table, key=key, value=value) |
| 203 | |
| 204 | def get(self, table, key, default=None): |
| 205 | """ |