mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
12 lines
220 B
Python
12 lines
220 B
Python
|
"""
|
||
|
Decorator that marks functions as not implemented. It sets func.unimplemented=True.
|
||
|
Usage:
|
||
|
|
||
|
@unimplemented
|
||
|
def func(...):
|
||
|
raise NotImplemented
|
||
|
"""
|
||
|
def unimplemented(func):
|
||
|
func.unimplemented = True
|
||
|
return func
|