RCAIDE.Framework.Core.DataOrdered

DataOrdered#

class Property(key=None)[source]#

Bases: object

Used to create the root map essential to the linking in DataOrdered()

Assumptions: N/A

Source: N/A

__init__(key=None)[source]#

Initializes a property

Assumptions: N/A

Source: N/A

Inputs: N/A

Outputs: N/A

Properties Used: N/A

class DataOrdered(*args, **kwarg)[source]#

Bases: OrderedDict

An extension of the Python dict which allows for both tag and ‘.’ usage. This is an ordered dictionary. So indexing it will produce deterministic results.

Assumptions: N/A

Source: N/A

append(value, key=None)[source]#

Adds new values to the classes. Can also change an already appended key

Assumptions: N/A

Source: N/A

Inputs: value key

Outputs: N/A

Properties Used: N/A

hasattr(k)[source]#
__init__(*args, **kwarg)[source]#

Initializes a new Data() class

Assumptions: N/A

Source: N/A

Inputs: N/A

Outputs: N/A

Properties Used: N/A

get_bases()[source]#

Finds the higher classes that may be built off of data

Assumptions: N/A

Source: N/A

Inputs: N/A

Outputs: klasses

Properties Used: N/A

typestring()[source]#

This function makes the .key.key structure in string form of Data()

Assumptions: N/A

Source: N/A

Inputs: N/A

Outputs: N/A

Properties Used: N/A

dataname()[source]#

This function is used for printing the class

Assumptions: N/A

Source: N/A

Inputs: N/A

Outputs: N/A

Properties Used: N/A

deep_set(keys, val)[source]#

Regresses through a list of keys the same value in various places in a dictionary.

Assumptions: N/A

Source: N/A

Inputs: keys - The keys to iterate over val - The value to be set

Outputs: N/A

Properties Used: N/A

deep_get(keys)[source]#

Regresses through a list of keys to pull a specific value out

Assumptions: N/A

Source: N/A

Inputs: keys - The keys to iterate over

Outputs: value - The value to be retrieved

Properties Used: N/A

update(other)[source]#

Updates the internal values of a dictionary with given data

Assumptions: N/A

Source: N/A

Inputs: other

Outputs: N/A

Properties Used: N/A

clear()[source]#

Empties a dictionary

Assumptions: N/A

Source: N/A

Inputs: N/A

Outputs: N/A

Properties Used: N/A

get(k, d=None)[source]#

Returns the values from k

Assumptions: N/A

Source: N/A

Inputs: k

Outputs: N/A

Properties Used: N/A

has_key(k)[source]#

Checks if the dictionary has the key, k

Assumptions: N/A

Source: N/A

Inputs: k

Outputs: N/A

Properties Used: N/A

keys()[source]#

Returns a list of keys

Assumptions: N/A

Source: N/A

Inputs: N/A

Outputs: N/A

Properties Used: N/A

values()[source]#

Returns all values inside the Data() class.

Assumptions: N/A

Source: N/A

Inputs: N/A

Outputs: values

Properties Used: N/A

items()[source]#

Returns all the items inside the data class

Assumptions: N/A

Source: N/A

Inputs: N/A

Outputs: values

Properties Used: N/A

iterkeys()[source]#

Returns all the keys which may be iterated over

Assumptions: N/A

Source: N/A

Inputs: N/A

Outputs: N/A

Properties Used: N/A