[SAGA-RG] SAGA attributes as Python dictionaries?

Mathijs den Burger mathijs at cs.vu.nl
Tue Nov 10 03:30:59 CST 2009


On Mon, 2009-11-09 at 22:57 +0100, Andre Merzky wrote:

> I think we have an agreement on E then:
> 
>   E)  description.set_attribute ("Executable", "/bin/date");
> 
> So, no dict, no properties, but a simple plain SAGA attribute API.

Nice! One leftover thing: should the API provide string constants (as
Python class attributes) for the available SAGA attribute names? 

Example:

  description.set_attribute(JobDescription.EXECUTABLE, "/bin/date")

regards,
-Mathijs




More information about the saga-rg mailing list