beta.xbrl.xule.Dict

A beta.xbrl.xule.Dict class represents a dictionary of key value pairs in the XULE type system.

Base class: beta.xbrl.xule.Value

class beta.xbrl.xule.Dict(values)

Constructs a new beta.xbrl.xule.Dict value object with the given arguments.

Attributes

beta.xbrl.xule.Value.location

Returns a beta.xbrl.xule.Location object that represents the underlying source XBRL fact, concept, relationship, … of this XULE value.

beta.xbrl.xule.Dict.value

Returns the the underlying XULE dictionary as a dict object.

Methods

beta.xbrl.xule.Dict.items()

Returns an iterator of beta.xbrl.xule.Value objects that represent the individual values of the underlying XULE set.

beta.xbrl.xule.Dict.keys()

Returns an iterator of beta.xbrl.xule.Value objects that represent the individual values of the underlying XULE set.

beta.xbrl.xule.Value.property(name)

Returns the given property as a beta.xbrl.xule.Value object.

beta.xbrl.xule.Dict.values()

Returns an iterator of beta.xbrl.xule.Value objects that represent the individual values of the underlying XULE set.

Special methods

__bool__, __eq__, __float__, __ge__, __gt__, __int__, __iter__, __le__, __len__, __lt__, __ne__