Skip to content

Support Processing Arbitrary Times #18

@patchneranartkomol

Description

@patchneranartkomol

Some of the scripts generate data files at the exact time the script runs by specifying:

    now = pendulum.now("UTC")

https://github.com/metro-ontime/performance_tracker/blob/master/performance_tracker/process_vehicles.py

https://github.com/metro-ontime/performance_tracker/blob/master/performance_tracker/query_vehicles.py

As an admin, I would like to process an arbitrary range of times. I should be able to pass a window of time over which generate the data files. When that isn't provided, we can default to UTC now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions