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

Must record tape only when the query for workflows succeed #1

Open
kinow opened this issue May 26, 2019 · 1 comment
Open

Must record tape only when the query for workflows succeed #1

kinow opened this issue May 26, 2019 · 1 comment
Assignees

Comments

@kinow
Copy link
Owner

kinow commented May 26, 2019

The query for workflows may take a while, as it does not trigger a cylc scan, but instead does a look up on a dictionary populated every N seconds by a Tornado PeriodicCallback.

Once that query succeeds, then we can proceed with the rest of the script.

@kinow kinow self-assigned this May 26, 2019
@kinow
Copy link
Owner Author

kinow commented May 31, 2019

Quite hard, as you need to query within a with vcr... context manager, which automatically creates a cassette. Only if it's possible to abort the recording of a cassette...

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

No branches or pull requests

1 participant