mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-24 09:54:31 +02:00
Use :param x: for docstring comments, refs #413
This commit is contained in:
parent
7f56f90d30
commit
26e6d2622c
3 changed files with 327 additions and 129 deletions
|
|
@ -365,6 +365,9 @@ def hash_record(record: Dict, keys: Optional[Iterable[str]] = None):
|
|||
{"name": "Cleo", "twitter": "CleoPaws", "age": 7},
|
||||
keys=("name", "twitter")
|
||||
)
|
||||
|
||||
:param record: Record to generate a hash for
|
||||
:param keys: Subset of keys to use for that hash
|
||||
"""
|
||||
to_hash = record
|
||||
if keys is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue