jsonpack
◀
Context
Example Code
ctx
=
jsonpack
.
Context
(
node
,
module
,
**
extras
)
Arguments
Argument
Description
node
The node that this context came from.
module
The module that this context came from.
extras
Extra arguments to pass.
Methods
.add_extras(**kw)
Extra arguments to pass.
.copy()
Creates a copy of this class.
.from_dict(data)
Converts a :class:
dict
to a :class:
Context
.
.to_dict()
Converts a :class:
Context
to a :class:
dict.