Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attributes refactor and specification #59

Closed
gavento opened this issue May 30, 2018 · 2 comments
Closed

Attributes refactor and specification #59

gavento opened this issue May 30, 2018 · 2 comments

Comments

@gavento
Copy link
Contributor

gavento commented May 30, 2018

The attributes are currently not well-specified and there seem to be ways to implement them better before we release the (much more stable) v0.3.

Goals:

  • Rust structures (with serde) with typed values for known attributes (and a map for user/unknown)
  • Split Task and DataObject attributes (required by the above, will allow checking in Python and other clients)
  • Specify a fixed encoding for rich and user-specified values (current proposal: JSON with base64 binary data) (note that non-trivial binary data in attributes are generally discouraged)
  • Create a rich Attributes class in Python (underway in WIP Classes for tasks and Attribute refactor #60)
  • Fix and document the new structure semantics
@spirali
Copy link
Collaborator

spirali commented May 30, 2018

Schema for spec/info transfers
archspec svg

@gavento
Copy link
Contributor Author

gavento commented Jul 2, 2018

Resolved in v0.3 both in client, server and executor, documentation updated to describe individual attributes.

@gavento gavento closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants