[EMAIL PROTECTED] wrote:

I am trying to build a capability based API. That is, an instance of the
api will reflect the capabilities of some underlying services.

The question I'd ask at this point is - does the term 'instance of the API' correspond to a Python class, or an instance of the class that you define? In case you want to have one class per API, you'd have multiple classes in which case metaclasses *may* be useful (but still not required). In case you want to have one instance per API such that each instance has a different set of methods, you don't need metaclasses at all.


--
Shalabh

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to