Pyscicat

Latest version: v0.4.4

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

Scan your dependencies

Page 1 of 2

0.4.4

What's Changed
* Fix auth error in from_token, from_credentials by dylanmcreynolds in https://github.com/SciCatProject/pyscicat/pull/51


**Full Changelog**: https://github.com/SciCatProject/pyscicat/compare/v0.4.3...v0.4.4

0.4.3

What's Changed
* Multiple fixes for new backend by dylanmcreynolds in https://github.com/SciCatProject/pyscicat/pull/49


**Full Changelog**: https://github.com/SciCatProject/pyscicat/compare/v0.4.2...v0.4.3

Several issues were discovered in ingesting datasets to the new backend:
- The new backend provides a more consistent usage of 404 return codes than the old backend did. In the new backend, 404 seems to only be returned when the path to and endpoint is not found. The old backend sometimes returned 404 when requests did not bring back content, and there was some code to deal with that discrepency, which has been removed.
- There is a breaking API change in this version related to creating `OrigDataBlock`. The signature has changed, and a new model object has been introduced:

The OLD way to upload an `OrigDataBlock':

python
Datablock with DataFiles
data_file = DataFile(path="/foo/bar", size=42)
data_block = Datablock(
size=42,
version=1,
datasetId=dataset_id,
dataFileList=[data_file],
**ownable.dict()
)
scicat.upload_dataset_origdatablock(data_block)



The NEW way:

python
Datablock with DataFiles
data_file = DataFile(path="/foo/bar", size=42)
data_block_dto = CreateDatasetOrigDatablockDto(
size=42,
datasetId=dataset_id,
dataFileList=[data_file],
)
scicat.upload_dataset_origdatablock(dataset_id, data_block_dto)


This change was necessary for uploading `OrigDataBlock` because the new backend introduces the `CreateDatasetOrigDatablockDto` model object, which has fewer fields then the old backends `OrigDatablock` model, and validation rejects the old mechanism.

0.4.2

What's Changed
* Support newer versions of pydantic by eilmiv in https://github.com/SciCatProject/pyscicat/pull/46


**Full Changelog**: https://github.com/SciCatProject/pyscicat/compare/v0.4.1...v0.4.2

0.2.6

What's Changed
* More upload functions by eilmiv in https://github.com/SciCatProject/pyscicat/pull/35

New Contributors
* eilmiv made their first contribution in https://github.com/SciCatProject/pyscicat/pull/35

**Full Changelog**: https://github.com/SciCatProject/pyscicat/compare/v0.2.5...v0.2.6

0.2.5

What's Changed
* Log in via either Users/login or auth/msad by jl-wynen in https://github.com/SciCatProject/pyscicat/pull/31
* Remove code duplication in client by jl-wynen in https://github.com/SciCatProject/pyscicat/pull/27
* small fixes by toqduj in https://github.com/SciCatProject/pyscicat/pull/32


**Full Changelog**: https://github.com/SciCatProject/pyscicat/compare/v0.2.3...v0.2.5

0.2.4

Release of the code as it is on 2022/11/08

What's Changed
* Easy url by dylanmcreynolds in https://github.com/SciCatProject/pyscicat/pull/8
* Ess adding in house functionalities by nitrosx in https://github.com/SciCatProject/pyscicat/pull/10
* remove pre-commit by dylanmcreynolds in https://github.com/SciCatProject/pyscicat/pull/15
* modify setup.py to remove filename.as_posix causing bug by abigailalexander in https://github.com/SciCatProject/pyscicat/pull/17
* Upsert dataset by abigailalexander in https://github.com/SciCatProject/pyscicat/pull/12
* Security: Do not log username and token by jl-wynen in https://github.com/SciCatProject/pyscicat/pull/21
* Latest ESS functionalities and naming coinvention by nitrosx in https://github.com/SciCatProject/pyscicat/pull/24
* Update dataset by abigailalexander in https://github.com/SciCatProject/pyscicat/pull/23
* Add more model fields by jl-wynen in https://github.com/SciCatProject/pyscicat/pull/25

New Contributors
* nitrosx made their first contribution in https://github.com/SciCatProject/pyscicat/pull/10
* abigailalexander made their first contribution in https://github.com/SciCatProject/pyscicat/pull/17

**Full Changelog**: https://github.com/SciCatProject/pyscicat/compare/v0.2.2...v0.2.4

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.