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

Add a timedelta validator and checker #49

Closed
insightindustry opened this issue Dec 20, 2019 · 0 comments
Closed

Add a timedelta validator and checker #49

insightindustry opened this issue Dec 20, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@insightindustry
Copy link
Owner

A bug was reported in SQLAthanor (insightindustry/sqlathanor#80) that occurs when attempting to convert a string measuring an amount of time (rather than a time of day) to an Interval object, which is itself a given number of seconds (a classic Python timedelta representation).

Therefore, there is a need that the Validator Collection support validation of an amount of time, either expressed as a number of seconds or expressed as an amount of time (e.g. '00:35:00.00000') and return a timedelta object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant