Skip to content

[RLlib] Add type annotations for agents/dqn#10626

Merged
sven1977 merged 4 commits intoray-project:masterfrom
desktable:type_annotation
Sep 9, 2020
Merged

[RLlib] Add type annotations for agents/dqn#10626
sven1977 merged 4 commits intoray-project:masterfrom
desktable:type_annotation

Conversation

@desktable
Copy link
Copy Markdown
Contributor

@desktable desktable commented Sep 7, 2020

Why are these changes needed?

Adding type annotations makes RLlib code easier to understand and develop on. Further context provided in #10115

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/latest/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failure rates at https://ray-travis-tracker.herokuapp.com/.
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested (please justify below)

@desktable desktable changed the title [RLlib] Add type annotation to agents/dqn [RLlib] Add type annotation to simple_q.py Sep 7, 2020
@desktable desktable marked this pull request as draft September 7, 2020 22:33
@desktable desktable changed the title [RLlib] Add type annotation to simple_q.py [RLlib] Add type annotations for agents/dqn Sep 9, 2020
@desktable desktable marked this pull request as ready for review September 9, 2020 05:05
@sven1977 sven1977 self-assigned this Sep 9, 2020
Copy link
Copy Markdown
Contributor

@sven1977 sven1977 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks @desktable !

@sven1977 sven1977 merged commit 799318d into ray-project:master Sep 9, 2020
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.

2 participants