arguments
arguments
#
argument_hash — a call's argument hashes as its value, a failure naming the parameter.
UnhashableArgumentError
#
Bases: TypeError
A recipe argument whose type has no canonical content hash.
Source code in capturegraph-lib/capturegraph/scratch/values/arguments.py
__init__(param_name, value_type)
#
The error for param_name holding a value_type value.
Source code in capturegraph-lib/capturegraph/scratch/values/arguments.py
argument_hash(param_name, value)
#
The content hash identifying value as the argument to param_name.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
param_name
|
str
|
The parameter the value is bound to. |
required |
value
|
object
|
The argument value. |
required |
Raises:
| Type | Description |
|---|---|
UnhashableArgumentError
|
If |