Logo
Explore Help
Sign In
Archives/gristlabs_grist-core
1
0
Fork 0
You've already forked gristlabs_grist-core
mirror of https://github.com/gristlabs/grist-core.git synced 2026-03-02 04:09:24 +00:00
Code Issues Projects Releases Wiki Activity
Files
alex/skip-fstrings-3.9
gristlabs_grist-core/sandbox/grist/functions/unimplemented.py

12 lines
220 B
Python
Raw Permalink Normal View History

(core) Improve suggestions for formula autocomplete Summary: - Make suggestions less case-sensitive (not entirely case-insensitive, but allow top-level suggestions to match in all-lowercase) - Add function signatures to suggestions for Grist functions. - Excel-like functions that are present but not implemented are no longer offered as suggestions. Test Plan: Added a test case on python side, and a browser test case for how suggestions are rendered and inserted. Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D2608
2020-09-11 14:18:03 -04:00
"""
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
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 447ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API