Skip to content

Commit 92d34dd

Browse files
author
Chris Turner
committed
06-distributed-computing_jobs_by_key.rst: include table name by method in example
1 parent 0fef7b6 commit 92d34dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs-parts/computation/06-distributed-computing_jobs_by_key.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This can be done by using `dj.key_hash` to convert the key as follows:
33

44
.. code-block:: python
55
6-
In [4]: jk = {'table_name': '__job_results', 'key_hash' : dj.key_hash({'id': 2})}
6+
In [4]: jk = {'table_name': JobResults.table_name, 'key_hash' : dj.key_hash({'id': 2})}
77
In [5]: schema.jobs & jk
88
Out[5]:
99
*table_name *key_hash status key error_message error_stac user host pid connection_id timestamp

0 commit comments

Comments
 (0)