Releases: RavenPack/python-api
Version 1.0.27
Added
- New
ApiConnectionError request_realtimemethod now supportskeep_alive
Version 1.0.26
Added
New common_request_params attribute on the RPApi object to send extra
params to the requests library
Version 1.0.25
Improved
request_realtime now doesn't buffer RT requests to avoid waiting for chunks.
Version 1.0.24
Added
Support for the job cancellation endpoint (while a job is in the ENQUEUED
state)
job = ds.request_datafile(...)
job.cancel()Improved
Job.wait_for_completion raises an exception if the job goes in ERROR so we
don't wait forever.
Version 1.0.23
Fixed
Fixed encoding issues with differences in Python2 and Python3
Improved
Jobs are now iterable
Version 1.0.22
Added
Created EntityTypeReference to query the whole of entity reference
Version 1.0.21
Changed
Requesting Ad-Hoc json() will use the dataset frequency as the default one
Version 1.0.20
Changed
Saving job to file raises an exception when there is an error in the API call
Version 1.0.19
Added
Added 2 more options (SPLIT_WEEKLY and SPLIT_DAILY) to the method time_intervals, used to download a datafile in chunks:
from ravenpackapi.util import (
SPLIT_YEARLY,
SPLIT_MONTHLY,
SPLIT_WEEKLY,
SPLIT_DAILY,
time_intervals
)
split = SPLIT_DAILY
for range_start, range_end in time_intervals(start_date, end_date, split=split):
job = ds.request_datafile(
start_date=range_start,
end_date=range_end,
compressed=GET_COMPRESSED,
)
...Version 1.0.18
Added
Now datasets can not only be created but updated as well via the
dataset.save() method.