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

Fix misleading error with empty table list #4367

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

greenape
Copy link
Member

@greenape greenape commented Oct 5, 2021

Closes #436

I have:

  • Formatted any Python files with black
  • Brought the branch up to date with master
  • Added any relevant Github labels
  • Added tests for any new additions
  • Added or updated any relevant documentation
  • Added an Architectural Decision Record (ADR), if appropriate
  • Added an MPLv2 License Header if appropriate
  • Updated the Changelog

Description

Fixes the misleading missing dates error raised when passing an empty list of tables to EventsTablesUnion. Instead it will now raise a ValueError stating that the list must have table names in it, also raises sensible errors for empty strings, and things which are not strings.

@greenape greenape added bug Something isn't working FlowMachine Issues related to FlowMachine labels Oct 5, 2021
@greenape greenape force-pushed the fix-incorrect-error-with-no-tables branch from be0afaf to 5646835 Compare October 20, 2021 15:31
@cypress
Copy link

cypress bot commented Oct 20, 2021



Test summary

43 0 0 0Flakiness 1


Run details

Project FlowAuth
Status Passed
Commit af3e89c
Started Nov 11, 2022 2:36 PM
Ended Nov 11, 2022 2:59 PM
Duration 23:08 💡
OS Linux Debian -
Browser Electron 106

View run in Cypress Dashboard ➡️


Flakiness

cypress/e2e/add_new_server.js Flakiness
1 Server management > Add server

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@greenape greenape added the Needs Review PR that is ready for review by a human label Oct 21, 2021
@greenape greenape force-pushed the fix-incorrect-error-with-no-tables branch from 9517a29 to 0239833 Compare April 29, 2022 08:34
@greenape greenape force-pushed the fix-incorrect-error-with-no-tables branch from 0239833 to b007ad5 Compare June 13, 2022 09:13
@greenape greenape added the ready-to-merge Label indicating a PR is OK to automerge label Jun 17, 2022
@greenape greenape force-pushed the fix-incorrect-error-with-no-tables branch 3 times, most recently from 5a1ac43 to 918d80c Compare November 8, 2022 11:13
@greenape greenape force-pushed the fix-incorrect-error-with-no-tables branch from 918d80c to af3e89c Compare November 11, 2022 14:31
@greenape greenape merged commit dc5f841 into master Nov 11, 2022
@greenape greenape deleted the fix-incorrect-error-with-no-tables branch November 11, 2022 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working FlowMachine Issues related to FlowMachine Needs Review PR that is ready for review by a human ready-to-merge Label indicating a PR is OK to automerge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty tables argument raises MissingDateError even if data for the given dates is present
3 participants