The Rally SDK
Project description
SDVI Decision Engine Rally Module
A collection of classes and functions for interacting with SDVI Rally APIs.
Refer to documentation found in your Rally Silo.
v0.2.0 -- release 01 Apr 2022
Features
- Altering a different asset is no longer allowed in Decision Engine jobs. Allowing the alteration of another asset
could cause unpredictable behavior as multiple jobs operated on the same asset at the same time. The best practice for
altering any asset is to launch a supply chain with that asset. The following methods have had
asset_nameremoved from their kwargs:asset.add_asset_status_indicatorasset.clear_all_asset_status_indicatorssupplyChain.set_scheduled_workflow
Fixes
- Fixed a bug in
supplyChain.get_scheduled_supply_chainandsupplyChain.set_scheduled_supply_chainthat was improperly converting datetimes - Fixed an issue with
files.delete_filethat prevented deletion of files in Storage Location subdirectories - Various documentation fixes
v0.1.9 -- released 18 Jan 2022
Features
- Added optional
remove_dateargument tofiles.RallyFile.remove_location()method, allows the actual delete to occur at a later date - Added
sharedDeleteAtattribute toRallyFile.locations - Added optional
timeoutargument tofiles.RallyFile.presigned_url(),files.read_file(),files.read_files()methods - Add
rallyUrlto SDK context
v0.1.8 -- released 09 Nov 2021
Features
-
There is a new library available! SDVI Rally Token Auth allows users to easily access the v2 API from Decision Engine presets. Refer to preset documentation on your silo for usage.
-
Added
clientResourceIdattribute to return ofjobs.get_jobs_for_asset, if present -
Asset Status Indicator methods
get_asset_status_indicators,add_asset_status_indicator,clear_asset_status_indicator, andclear_all_asset_status_indicatorsare being promoted out of Alpha. They will move out of theexperimentalsubmodule and into theassetsubmodule. Import statements will change accordingly.
Fixes
- Presets can now correctly import zip packages placed in nested directories specified in
RallyConfig
Eval2Package
v0.1.7 -- released 12 Oct 2021
Features
- A new key,
rallyUrl, has been added to the context. This is the base URL for your silo's API. - You can now find out the SDK version your silo is running:
from rally import __version__ print(__version__)
ORimport rally print(rally.__version__)
Either results in "0.1.7". Note that this feature is not available in prior versions of the SDK.
Fixes
SupplyChainStepfail_stepargument type was incorrectly listed as being either a string or a SupplyChainStep.fail_stepcould only be the stringnameof an alternate SupplyChainStep.fail_stepargument changed to string-typefail_step_name
v0.1.6 -- released 29 Sept 2021
Features
- Add support for
forced_deletemode tofiles.RallyFile.remove_location()method. This option removes a file location from the asset's inventory and deletes the file even if it is referenced by another asset. - Add support for
forced_deletemode tofiles.remove_inventory()method. This option removes a file reference from the asset's inventory and deletes the file locations even if they are referenced by another asset.
Fixes
v0.1.5 -- released 31 Aug 2021
Features
- Add
set_scheduled_supply_chainto the supplyChain submodule, allowing users to schedule a supply chain for the current asset - Add
get_scheduled_supply_chainto the supplyChain submodule, returning a dict representation of an arbitrary asset's scheduled supply chain
Fixes
- Fix an issue with the SDK improperly handling missing environment variable
v0.1.4 -- released 03 Aug 2021
Features
- Add
presigned_urlmethod toRallyFile. This returns a presigned url for a file. - Add
asset_nameandcategoryarguments tojobs.get_jobs_for_assetmethod. - Add
inputFileLabelto dictionary returned byjobs.get_jobs_for_asset. - Add
fail_stepargument tosupplyChain.SupplyChainStepcreation to specify a step to execute if the next step fails. - Add
jobs.cancel_jobmethod to cancel a job given its UUID. supplyChain.set_supply_chain_metadatanow overwrites existing metadata with the new value. This enables users to remove top-level keys.
Fixes
supplyChain.SupplyChainSplit.add_splitparamasynchas been renamed torun_async.
v0.1.3 -- released 20 Jul 2021
Features
- Add
asset_nameargument tojobs.get_job_reportmethod. This allows users to retrieve QC or analyze data from arbitrary assets using the supplied provider type and label.
Fixes
v0.1.2 -- released 22 June 2021
Features
- Add
files.write_filesmethod that offers parallel writing of files given a dict of URLs and content - Add
files.read_filesmethod that offers parallel reading of files given a sequence of URLs Caution should be used when reading multiple files files.list_filesnow returns both files and (subdirectories) at the specified url.- Add License-only deadline argument
step_deadline_lic_onlytosupplyChain.SupplyChainStep SupplyChainSplitandSupplyChainCancelcan now take aSupplyChainSequence
Fixes
SupplyChainStepnow correctly recognizesprovider_filtervalues
v0.1.1 -- released 16 Mar 2021
Features
- Initial Beta offering.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sdvi-rally-0.2.0.tar.gz.
File metadata
- Download URL: sdvi-rally-0.2.0.tar.gz
- Upload date:
- Size: 329.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc6f2f394d17f2b3b35006bd4d74c81dfc6ded3532e35b61ec28450ff7439579
|
|
| MD5 |
fb95c21f4d949d9981a4b12e838dd597
|
|
| BLAKE2b-256 |
7f2050fda0f932a3cfd58afca83bc7191bf03c0e0288a25badcf2e01ccb40ff0
|
File details
Details for the file sdvi_rally-0.2.0-py3-none-any.whl.
File metadata
- Download URL: sdvi_rally-0.2.0-py3-none-any.whl
- Upload date:
- Size: 387.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f01b78a15ab9e54dfadfe60ab56fb721bb57350b9265a6624f8dd2c577a6c06
|
|
| MD5 |
474cea3ca68c21941d61e56d5e37d85e
|
|
| BLAKE2b-256 |
265e8ccc26ec1b1c6db4a83cd3d075f44c4a102970638e6ab6ae2752a84afde7
|