core: add hpi query command (#157)
- restructure query code for cli, some test fixes - initial query_range implementation refactored functions in query some more to allow re-use in range_range, select() pretty much just calls out to a bunch of handlers now
This commit is contained in:
parent
b94120deaf
commit
fb49243005
11 changed files with 902 additions and 134 deletions
|
@ -140,7 +140,7 @@ def localize(dt: datetime) -> tzdatetime:
|
|||
|
||||
from ...core import stat, Stats
|
||||
def stats() -> Stats:
|
||||
from ...core.common import fromisoformat
|
||||
from ...core.compat import fromisoformat
|
||||
# TODO not sure what would be a good stat() for this module...
|
||||
# might be nice to print some actual timezones?
|
||||
# there aren't really any great iterables to expose
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue