Google-pandas-load

Latest version: v6.0.0

Safety actively analyzes 630094 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

2.0.0

------------------
API Changes
^^^^^^^^^^^
* The parameters delete_in_bq, delete_in_gs and delete_in_local
of :meth:`google_pandas_load.loader.Loader.load` do not exist anymore.
There were used to choose if data had to be deleted once loaded to the next
location. The new behavior is now the following:

- The data is kept in the source.
- The data is deleted in transitional locations after being transferred.

This behavior is safer, simpler to understand and fits to the common use.

* The destination parameter of :meth:`google_pandas_load.loader.Loader.load`
can no longer be set to 'query' since it appeared to be useless. It is now
restricted to ‘bq’, ‘gs’, ‘local’ or ‘dataframe’.

* The gs_dir_path_in_bucket parameter of :class:`google_pandas_load.loader.Loader`
has been renamed gs_dir_path.

* :class:`google_pandas_load.loader.Loader` has now the following getter
functions: bq_client, dataset_ref, bucket, gs_dir_path and local_dir_path.
They return the homonym arguments of the class.

* :class:`google_pandas_load.loader_quick_setup.LoaderQuickSetup` has three new
getter functions: project_id, dataset_id and bucket_name. They return the
homonym arguments of the class.

Bugfixes
^^^^^^^^
* The method `google.cloud.bigquery.job.QueryJob.result()`_ was used to wait
for a google job to be completed. It appeared it could lead to a timeout if
the google job was too long to run and is threfore no longer used. Instead,
the google job is reloaded every second until it is completed.

1.0.0

------------------
* Initial release on PyPI.

.. _google.cloud.bigquery.job.LoadJobConfig.autodetect: https://googleapis.dev/python/bigquery/latest/generated/google.cloud.bigquery.job.LoadJobConfig.html#google.cloud.bigquery.job.LoadJobConfig
.. _google.cloud.bigquery.job.QueryJob.result(): https://googleapis.dev/python/bigquery/latest/generated/google.cloud.bigquery.job.QueryJob.html#google.cloud.bigquery.job.QueryJob.result

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.