flexmeasures.api.v3_0.public
Functions
- flexmeasures.api.v3_0.public.quickref_directive(content)
Adapted from sphinxcontrib/autohttp/flask_base.py:quickref_directive.
- flexmeasures.api.v3_0.public.removeprefix(text: str, prefix: str) str
Remove a prefix from a text.
- todo: use text.removeprefix(prefix) instead of this method, after dropping support for Python 3.8
See https://docs.python.org/3.9/library/stdtypes.html#str.removeprefix
- flexmeasures.api.v3_0.public.removesuffix(text: str, suffix: str) str
Remove a suffix from a text.
- todo: use text.removesuffix(suffix) instead of this method, after dropping support for Python 3.8
See https://docs.python.org/3.9/library/stdtypes.html#str.removesuffix
Classes