You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Added the keyword argument client to civis.utils.job_logs(). (#518)
Implemented ListResponse as a list of civis.Response objects that has "headers"
information from a Civis API call. (#518)
The civis.io.* functions for dataframes support polars in addition to pandas. (#515)
For civis.io.read_civis_sql and civis.io.read_civis:
The new kwarg return_as has been added. It defaults to "list" to maintain
the same return behavior as civis-python <= v2.5.0.
To return a dataframe, set return_as to either "pandas" or "polars".
For civis.io.dataframe_to_file and civis.io.dataframe_to_civis:
Either a pandas or polars dataframe can now be directly used as input.
For civis.io.file_to_dataframe:
The new kwarg return_as has been added. It defaults to "pandas" to maintain
the same return behavior as civis-python <= v2.5.0.
To return a polars dataframe, set return_as to "polars".
Added examples to civis.utils.job_logs() docstring (#510)
Changed
Updated Civis parallel backend's internals for refactored joblib's backend. (#513)
Updated the Sphinx docs for ListResponse and the Civis API. (#519)
Deprecated
The kwarg use_pandas at civis.io.read_civis_sql and civis.io.read_civis
has been deprecated and will be removed at civis-python v3.0.0 (no release timeline yet).
Its continued usage is discouraged, and please use the new kwarg return_as instead
(see notes under the "added" section above).
The property feature_flags at a civis.APIClient instance is now deprecated. client.users.list_me()["feature_flags"] should be used instead. (#516)
Fixed
Switched from a pool to the concurrent.futures API in the file multipart upload
implementation. (#520)
Fixed civis_logger for needing a user-provided __name__ as best practice. (#512)
Security
Updated docs/requirements.txt due to a security advisory for jinja2. See GHSA-cpwx-vrp4-4pq7 (#510)