There is a newer version of the record available.

Published September 10, 2024 | Version v4.5.0
Software Open

Sage-Bionetworks/synapsePythonClient: v4.5.0

Description

Highlights

  • Improved handling of pre-authorized requests:
    • During long running asynchronous download operations (i.e. syncing a folder with many files), some pre-authorized URLs were expiring before they were used to download the file. This change will now check the expiration datetime of the URL before using it. If the URL is expired it will be refreshed.
  • Added support for pandas.read_csv keyword arguments:
    • Added support for all pandas.read_csv keyword arguments to the asDataFrame method of the CsvFileTable class.
    • This enables custom handling of missing values and default values when reading a Synapse table to a pandas DataFrame. See the pandas documentation for a full list of available keyword arguments.

What's Changed

  • [SYNPY-1514] Handle Expired Pre-Signed URLs by @BWMac in https://github.com/Sage-Bionetworks/synapsePythonClient/pull/1126
  • [SYNPY-1509] Updates NA handling for CSVFileTable.asDataFrame by @BWMac in https://github.com/Sage-Bionetworks/synapsePythonClient/pull/1127
  • [FDS-2373] Update retry delay, add some otel traces, add retry to url creation by @BryanFauble in https://github.com/Sage-Bionetworks/synapsePythonClient/pull/1128

Full Changelog: https://github.com/Sage-Bionetworks/synapsePythonClient/compare/v4.4.1...v4.5.0

Files

Sage-Bionetworks/synapsePythonClient-v4.5.0.zip

Files (1.5 MB)

Additional details

Related works