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
The Python API must return some indication of whether the requested operation succeeded, partially succeeded, or failed. Individual APIs may handle status differently.
The most difficult API is cache_descriptors(), as this very frequently encounters errors attempting to download one or more PDSCs. Similarly, it is expected to always encounter parse issues (resulting in warnings logs from the Rust code). Perhaps this is best handled with callbacks for different results.
The download_pack_list() API is easier, but can still result in partial success. Thus, a list of successfully downloaded packs should be returned.
The Python API must return some indication of whether the requested operation succeeded, partially succeeded, or failed. Individual APIs may handle status differently.
The most difficult API is
cache_descriptors()
, as this very frequently encounters errors attempting to download one or more PDSCs. Similarly, it is expected to always encounter parse issues (resulting in warnings logs from the Rust code). Perhaps this is best handled with callbacks for different results.The
download_pack_list()
API is easier, but can still result in partial success. Thus, a list of successfully downloaded packs should be returned.This is required to resolve pyocd/pyOCD#1130.
The text was updated successfully, but these errors were encountered: