Search code examples
python-3.xbitbake

Bitbake: What data structure is datastore?


Following is a sentence from Bitbake user's manual: "BitBake parses each recipe and append file located with BBFILES and stores the values of various variables into the datastore."

What data type is 'datastore' ? Is it list or Tuple or Dictionary ? Or what data type is it?


Solution

  • You can work out the type of an object in python by executing type(foo) in the same environment. As for that specific type (datastore), a quick google indicates that it's neither a tuple or a dictionary, but a custom object with it's API documented here.