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 Python DB API backend #400

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft

Add Python DB API backend #400

wants to merge 28 commits into from

Commits on Apr 6, 2021

  1. Add .backend.dbapi

    khaeru committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    57491f9 View commit details
    Browse the repository at this point in the history
  2. Register dbapi in BACKENDS

    khaeru committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    b829683 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcdc9a8 View commit details
    Browse the repository at this point in the history
  4. Add .backend.test_dbapi

    khaeru committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    860f794 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    149087f View commit details
    Browse the repository at this point in the history
  6. Implement 4 DatabaseBackend methods

    - list_items(), init_item(), item_index(), item_set_elements()
    khaeru committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    8503a05 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ebc3b61 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    620e593 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    33bc5bb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d3f618a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2445d7b View commit details
    Browse the repository at this point in the history
  12. .base.Backend.has_solution() is optional

    Add a fallback implementation in Scenario.has_solution() to be used when
    a backend does not define this method.
    khaeru committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    1ca8c89 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c7b9303 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5313259 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6250813 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e4ba883 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    6583f7c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    7fe63a1 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    0f3e556 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    7c175f1 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    a241852 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    b179226 View commit details
    Browse the repository at this point in the history
  23. Remove JDBCBackend._validate_meta_args and usage

    This code was incorrectly placed in a concrete Backend implementation.
    It actually applies to all usage of the public Platform and TimeSeries
    APIs.
    khaeru committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    54c7444 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    9486865 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    d5c5371 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    3665e9d View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    b636869 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    d406b52 View commit details
    Browse the repository at this point in the history