Releases: redivis/redivis-python
Releases · redivis/redivis-python
v0.20.4
v0.20.3
v0.20.1
v0.20.0
This release introduces a number of significant updates, including new ways to work with files, better integrations with SAS and Stata, and new methods for parallel data processing – alongside a series of significant performance improvements when streaming large tables and files
What's new
table.file("path/to/file")-> you can now reference a file within a table directly by its name!table.to_directory()-> construct a Directory, which is a representation of the files within a table that follows standard filesystem tree semantics, and allows for powerful manipulation of files at scale.- Calling
file.open()now behaves the same as opening a file on the filesystem. E.g.,with file.open() as f: ... - Redivis filesystems are automatically registered with fsspec. When using compatible libraries, you can reference Redivis files via the URI scheme:
redivis://table_ref/path/to/file. - New
table.to_read_streams()method returns a list of readable data streams that can be used for parallel processing. - New
table.to_sas()andtable.to_stata()methods streamline the ability to load data directly into SAS / Stata within compatible notebooks. - New
table.update_variables(),dataset.update_variables(), andworkflow.update_variables()methods allow for the bulk management of variable metadata across a table, dataset, or workflow. - All exceptions raised by Redivis now inherit from class
redivis.exceptions.RedivisError, with additional context based on the type of exception (docs).
Deprecations
file.stream()has been renamed tofile.open(). Use of the stream method will print a deprecation warning, and will be fully removed in a future version.table.download_files()has been superseded bytable.to_directory().download(). Use of the old method will print a deprecation warning, and will be removed in a future version.- Previously, a file id was used in the
file(<id>)constructor. This behavior has been deprecated, in favor of passing the file name / path directly. Using the file id will print a deprecation warning, and will be fully removed in a future version.
Breaking changes
redivis.file()is not longer available. Please use `redivis.table("table_ref").file("path/to/file") insteadtable.list_rows(), which has been deprecated for a number of major versions, has now been removed and will raise an error. Usetable.to_arrow_table().to_pylist()instead.
v0.18.18
This release introduces a new parameter interface for working with workflow parameters
- Parameter documentation
- Parameter interface
- New methods:
Full Changelog: v0.18.17...v0.18.18
v0.18.17
- refactor: improve type coercion when stream dataset tables
Full Changelog: v0.18.16...v0.18.17
v0.18.16
- perf: reduce update interval for progressbar (should particularly help in jupyter environments)
Full Changelog: v0.18.15...v0.18.16
v0.18.15
Minor bugfixes associated with API property assignment in methods from v0.18.14
Full Changelog: v0.18.14...v0.18.15
v0.18.14
What's changed
transform.source_tables()is deprecated, please usetransform.referenced_tables()instead to return a list of all tables referenced by the transform, ortransform.source_table()to return the transform's source table.notebook.source_tables()is deprecated, please usenotebook.referenced_tables()instead to return a list of all tables referenced by the notebook, ornotebook.source_table()to return the notebook's source table.
What's new
A number of new methods facilitate programmatically managing your workflows
transform.update(*, name, source_table)transform.referenced_tables()transform.source_table()notebook.update(*, name, source_table)notebook.referenced_tables()notebook.source_table()datasource.create()datasource.source_dataset()datasource.source_workflow()dataset.previous_version()dataset.next_version()
What's fixed
variable.update()andtable.update()now correctly return the table / variable instance (rather thanNone).
Full Changelog: v0.18.13...v0.18.14
v0.18.13
- fix(versions): fix bad NoneType reference in
version.previous|next_version()
Full Changelog: v0.18.12...v0.18.13