jgdv.structs.dkey.special.args_keys

Classes

ArgsDKey

A Key representing the action spec's args

KwargsDKey

A Key representing all of an action spec's kwargs

Module Contents

class jgdv.structs.dkey.special.args_keys.ArgsDKey(*args, **kwargs)[source]

Bases: jgdv.structs.dkey.dkey.DKey

A Key representing the action spec’s args

expand(*sources, **kwargs) <Unknown>[source]

args are simple, just get the first specstruct’s args value

Return type:

list

class jgdv.structs.dkey.special.args_keys.KwargsDKey(*args, **kwargs)[source]

Bases: jgdv.structs.dkey.dkey.DKey

A Key representing all of an action spec’s kwargs

expand(
*sources,
fallback=None,
**kwargs,
) <Unknown>[source]

kwargs are easy, just get the first specstruct’s kwargs value

Parameters:

fallback (jgdv.Maybe)

Return type:

dict