.. Adapted from https://stackoverflow.com/a/62613202 flexmeasures.data.services.timescaledb ====================================== .. automodule:: flexmeasures.data.services.timescaledb .. rubric:: Module Attributes .. autodata:: MINIMUM_VERSION .. autodata:: DEFAULT_CHUNK_TIME_INTERVAL .. autodata:: DEFAULT_COMPRESS_AFTER .. autodata:: COMPRESS_SEGMENT_BY .. autodata:: COMPRESS_ORDER_BY .. autodata:: OLD_HYPERTABLE_SCHEMA .. rubric:: Functions .. autofunction:: available_version .. autofunction:: compress_eligible_chunks .. autofunction:: compression_policy_age .. autofunction:: convert_to_hypertable .. autofunction:: convert_to_plain_table .. autofunction:: count_chunks .. autofunction:: decompressed_size .. autofunction:: enable_compression .. autofunction:: ensure_extension .. autofunction:: installed_version .. autofunction:: is_hypertable .. autofunction:: set_chunk_time_interval .. autofunction:: setting .. autofunction:: supports_compression .. autofunction:: table_size .. rubric:: Exceptions .. autoexception:: TimescaleDBUnavailable