Ignore:
Timestamp:
22/05/07 14:37:01 (12 years ago)
Author:
spascoe
Message:

Some bug fixes to ows_common. OwsController?._load_capabilities implements
discovery of capabilities from a controller definition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_common/ows_common/decorators.py

    r2501 r2502  
    2323    return Domain(defaultValue=value, possibleValues=pv, 
    2424                  meaning=meaning, dataType=dataType, valuesUnit=valuesUnit) 
     25 
     26def operation(method): 
     27    """ 
     28    A decorator which tags a method as a OWS operation. 
     29 
     30    """ 
     31    method._ows_name = method.__name__ 
     32 
     33    return method 
    2534 
    2635def parameter(name, value=None, possibleValues=None, 
Note: See TracChangeset for help on using the changeset viewer.