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

Simplify WorkflowRuntimeServer stop logic #5161

Merged
merged 2 commits into from
Sep 29, 2022
Merged

Conversation

MetRonnie
Copy link
Member

Plus some tidying & adding type annotations.

This was split off from #5098

Check List

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • No dependency changes to both setup.cfg and conda-environment.yml.
  • Tests are updated
  • No CHANGES.md entry included (invisible to users)
  • No docs needed
  • PR for master only

@MetRonnie MetRonnie added this to the cylc-8.1.0 milestone Sep 27, 2022
@MetRonnie MetRonnie self-assigned this Sep 27, 2022
"""
self._start_sequence(*args, **kwargs)

def _start_sequence(self, *args, **kwargs):
Copy link
Member

Choose a reason for hiding this comment

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

The legacy reason for this was the thread use to be started from here.

Copy link
Member

@dwsutherland dwsutherland left a comment

Choose a reason for hiding this comment

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

LGTM.. tests passing.

port: Union[int, str] = None,
context: object = None,
srv_public_key_loc: str = None,
topics: Iterable[bytes] = None
Copy link
Member

Choose a reason for hiding this comment

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

I never really liked the double indentation .. But the linter use to pull us up otherwise.

Copy link
Member

@hjoliver hjoliver left a comment

Choose a reason for hiding this comment

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

👍

@hjoliver hjoliver merged commit 82bf5ee into cylc:master Sep 29, 2022
@MetRonnie MetRonnie deleted the tidy branch September 29, 2022 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants