Closed dotsdl closed 3 years ago
This pull request introduces 7 alerts when merging 1f3073684e4dd6b99830a977be8a8714fcdca225 into 78e4b18082db0ec03677b335d03a80a5f4b90240 - view on LGTM.com
new alerts:
This pull request introduces 6 alerts when merging ebd6001c6da52d0d051949f61974cb095e67b0f9 into 78e4b18082db0ec03677b335d03a80a5f4b90240 - view on LGTM.com
new alerts:
This pull request introduces 7 alerts when merging 098fe787f64d736acc9a7a3d06d47f589d9efff6 into 78e4b18082db0ec03677b335d03a80a5f4b90240 - view on LGTM.com
new alerts:
This pull request introduces 8 alerts when merging 192773269f0e97b79029b9434a4758d41aaa6d58 into 5f00dd06bb34ca912c4055f0cbac60863ea89c7f - view on LGTM.com
new alerts:
This pull request introduces 9 alerts when merging 2a611ce81048f002ddd93a6ffd813bf42ea527c0 into 5f00dd06bb34ca912c4055f0cbac60863ea89c7f - view on LGTM.com
new alerts:
Superseded by #671.
Description
This PR features a new
PortalClient
client interface, functioning as a MVP demonstrator for the following design features:__getitem__
forBaseProcedureDataset
subclasses, such asOptimizationDataset
as the access pattern of choice for getting records from compute specs.data
to._data
from top-level interface inCollection
subclasses, treating it as an implementation detail and guiding users away from parsing it directly_
methodstqdm
to clearly indicate server communication from an action, feedback to users on wait timespandas
, in particular as a container for complex objects such asOptimizationRecord
s, where a dict or list will do;pandas
is a great tool, but can make the client cumbersome to use with low value-add in many casesThe approach taken here is informed by user feedback collected in late 2020 on the difficulty of using the current
FractalClient
. We hope to make the use of the client more obvious for users by virtue of its exposed methods, interaction patterns, and responsiveness, while also improving performance for repeated access of the same dataset(s).This approach is meant to inspire discussion, and we are early enough in the process to alter course. Please do offer feedback!
Changelog description
Status