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

Update to support MDS 0.4.x #87

Merged
merged 43 commits into from
May 21, 2020
Merged

Update to support MDS 0.4.x #87

merged 43 commits into from
May 21, 2020

Commits on Jan 27, 2020

  1. Update JSON schema URLs (#86)

    * Pull JSON schema from openmobilityfoundation repo
    
    Since github.com/CityOfLosAngeles/mobility-data-specification
    redirects to this new repo.
    
    In addition, account for folder changes with the 0.4.0 tag.
    cmdoptesc authored and thekaveman committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    385b7f6 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2020

  1. Removing support for MDS 0.2.x (#90)

    * min MDS version goes to 0.3.0
    * max MDS version goes to 0.5.0 (exclusive)
    thekaveman authored Mar 3, 2020
    Configuration menu
    Copy the full SHA
    051789e View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2020

  1. correct comma typo

    fortunately this wasn't a problem as the list
    is eventually converted to CSV string
    thekaveman committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    9d11a35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    729ef1e View commit details
    Browse the repository at this point in the history
  3. adjusting time queries for 0.4.0

    * docs about use of old start_time (status_changes), min_end_time/max_end_time (trips)
    * docs about use of new event_time (status_changes), end_time (trips)
    * version-based date formatting: unix for < 0.4.0, iso8601 hours for > 0.4.0
    * raise when required params not given
    thekaveman committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    a7467bc View commit details
    Browse the repository at this point in the history
  4. adjusting paging for 0.4.0

    no longer supported for status_changes and trips
    thekaveman committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    cdb517c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    07f4290 View commit details
    Browse the repository at this point in the history
  6. missed member assignment

    thekaveman committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    6d66fab View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cc0f2d4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5bdae8f View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

  1. Configuration menu
    Copy the full SHA
    5da635c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c317e61 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f7815a5 View commit details
    Browse the repository at this point in the history
  4. support for loading events data

    since events has the same structure as status_changes,
    introduce convenience methods for loading into status_changes table
    thekaveman committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    418fb76 View commit details
    Browse the repository at this point in the history
  5. process time params for events

    * add required param checks
    * format to Unix millisecond timestamp for querystring
    thekaveman committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    6d36e59 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    10d68fe View commit details
    Browse the repository at this point in the history
  7. flake8 linting

    * adding config file
    * fix line lengths
    * fix spacing
    * fix unused imports
    * fix spelling
    thekaveman committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    c1950c7 View commit details
    Browse the repository at this point in the history
  8. schema item key may be different from type

    the /events schema uses status_changes as the item key
    thekaveman committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    8f9dd9d View commit details
    Browse the repository at this point in the history
  9. reuse schema key logic

    thekaveman committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    95d2f13 View commit details
    Browse the repository at this point in the history
  10. simplify request loop

    thekaveman committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    e2ef4eb View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2020

  1. Configuration menu
    Copy the full SHA
    e809a9a View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

  1. Configuration menu
    Copy the full SHA
    0cd5340 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aba3465 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9d8a814 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    06028d8 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2020

  1. fix typo in list concat

    thekaveman committed May 7, 2020
    Configuration menu
    Copy the full SHA
    c6fa829 View commit details
    Browse the repository at this point in the history
  2. fallback to str comparison for non-Version arg

    handle cases when a parsed Version instance is compared with an
    unparsed version str
    thekaveman committed May 7, 2020
    Configuration menu
    Copy the full SHA
    13718e0 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2020

  1. paging support was removed in 0.4.1

    technically 0.4.0 requests for status_changes and trips
    may still use paging, so make the distinction
    thekaveman committed May 12, 2020
    Configuration menu
    Copy the full SHA
    ea570c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7598ea5 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2020

  1. no need for fstring

    thekaveman committed May 18, 2020
    Configuration menu
    Copy the full SHA
    e7d2e75 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2020

  1. delay acquiring schema documents from GitHub

    mds.Schema instances may be useful on their own, without an underlying
    schema document from GitHub.
    
    This change introduces a delay to acquire the schema document
    from GitHub only when it is first needed (e.g. property access).
    
    Early acquisition can be forced with keyword arg on init.
    thekaveman committed May 20, 2020
    Configuration menu
    Copy the full SHA
    1a5e5db View commit details
    Browse the repository at this point in the history
  2. standardize on Schema.data_key

    a more descriptive name for what this key is
    thekaveman committed May 20, 2020
    Configuration menu
    Copy the full SHA
    db4722d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c5a326b View commit details
    Browse the repository at this point in the history
  4. fix random time generator

    * allow seconds or timedelta params
    * randomize for missing param instead of 0
    * correct new_date calc so that (date + min_td) <= new_date < (date + max_td)
    thekaveman committed May 20, 2020
    Configuration menu
    Copy the full SHA
    40ea262 View commit details
    Browse the repository at this point in the history
  5. elevate to module constant

    thekaveman committed May 20, 2020
    Configuration menu
    Copy the full SHA
    1a7dead View commit details
    Browse the repository at this point in the history
  6. add currency code to trips

    thekaveman committed May 20, 2020
    Configuration menu
    Copy the full SHA
    2c12e40 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4030a5b View commit details
    Browse the repository at this point in the history
  8. formatting cleanup

    thekaveman committed May 20, 2020
    Configuration menu
    Copy the full SHA
    eeea0b6 View commit details
    Browse the repository at this point in the history
  9. missing self reference

    thekaveman committed May 20, 2020
    Configuration menu
    Copy the full SHA
    465cd85 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    64a34f7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    97bad3b View commit details
    Browse the repository at this point in the history

Commits on May 21, 2020

  1. version fixes

    * reusable (internal) class methods for 0.4.0 and 0.4.1
    * fix a few checks for vehicles (valid for >= 0.4.1)
    thekaveman committed May 21, 2020
    Configuration menu
    Copy the full SHA
    91df0bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc43c41 View commit details
    Browse the repository at this point in the history