metadata - keeping track of parameter descriptions

In GAMS, it’s very conveniently possible to add metadata in the form of a message about a parameter, eg.

parameter variableC variable operating costs;

Is there a way to access this from the Python api, or even when dumping out to SQL is there a way of spitting all parameter names into a table with their long form descriptions?

Many thanks

Andy,

This metadata is called the explanatory text, or just text. It is part of the GamsSymbol class, accessible as a property called text.

https://www.gams.com/latest/docs/apis/python/classgams_1_1database_1_1__GamsSymbol.html

-Steve

brilliant thanks