8000 Comparing 2.2.0...main · cheese-drawer/lib-python-db-wrapper · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cheese-drawer/lib-python-db-wrapper
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.2.0
Choose a base ref
...
head repository: cheese-drawer/lib-python-db-wrapper
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 14 commits
  • 25 files changed
  • 2 contributors

Commits on Oct 28, 2021

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

Commits on Oct 29, 2021

  1. Fix CRUD method return types.

    Previously, the built-in methods on the CRUD objects were returning the
    raw data from the Client's `execute_and_return()` method, of type
    `RealDictRow` from `psycopg2.extras`. Now each CRUD object also requires
    a return type object of type `Type[T]` to be passed as a second argument
    on initialization, which is then used to initialize a return type object
    from the db query results (i.e. an instance of `ModelData`) to be
    returned.
    
    Also generalizes `model.base.ensure_exactly_one()` to accept any list
    object.
    
    Also removes unnecessary type imports.
    andrew-chang-dewitt committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    3ff178b View commit details
    Browse the repository at this point in the history
  2. Fix client query_and_return return type.

    Client has no knowledge of what the return type is or should be. Fixed
    to return `RealDictRow` &  removed the T TypeVar from sync_client.
    andrew-chang-dewitt committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    864b5ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3aa982 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b60ead View commit details
    Browse the repository at this point in the history
  5. Update examples.

    andrew-chang-dewitt committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    1e0ca1f View commit details
    Browse the repository at this point in the history
  6. Bump to 2.3.0.

    andrew-chang-dewitt committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    5064af2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ec3e782 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    781b688 View commit details
    Browse the repository at this point in the history
  9. Update tests.

    andrew-chang-dewitt committed Oct 29, 2021
    Configuration menu
    Copy the full SHA
    15af9ca View commit details
    Browse the repository at this point in the history
  10. Merge pull request #4 from cheese-drawer/correct_query_return_types

    Correct query return types
    andrew-chang-dewitt authored Oct 29, 2021
    Configuration menu
    Copy the full SHA
    a09016c View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Configuration menu
    Copy the full SHA
    bd9e5b3 View commit details
    Browse the repository at this point in the history
    8D78
  2. Bump version.

    andrew-chang-dewitt committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    fca95d5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e3bbf4 View commit details
    Browse the repository at this point in the history
Loading
0