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

Support custom data fields in scheduler and emitters #429

Merged
merged 8 commits into from
Nov 27, 2023
Merged

Conversation

btjanaka
Copy link
Member

Description

This PR makes it possible to pass in custom data to schedulers and emitters. For instance, one can call

scheduler.tell(objective, measures, my_data=[1,2,3], my_other_data=[4,5,6])

The same applies for tell_dqd, and also for emitter methods.

TODO

  • Update scheduler signatures
  • Update emitter signatures
  • Miscellaneous edits to ArrayStore and archives
  • Write scheduler test

Questions

Status

  • I have read the guidelines in
    CONTRIBUTING.md
  • I have formatted my code using yapf
  • I have tested my code by running pytest
  • I have linted my code with pylint
  • I have added a one-line description of my change to the changelog in
    HISTORY.md
  • This PR is ready to go

@btjanaka btjanaka merged commit 74a2602 into master Nov 27, 2023
18 checks passed
@btjanaka btjanaka deleted the fields branch November 27, 2023 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant