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

feat: multi-database configurations #151

Merged
merged 50 commits into from
Jul 1, 2024
Merged

feat: multi-database configurations #151

merged 50 commits into from
Jul 1, 2024

Commits on Mar 29, 2024

  1. Configuration menu
    Copy the full SHA
    16a6342 View commit details
    Browse the repository at this point in the history
  2. chore: make the linter happy

    cofin committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    b955450 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ad4756 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

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

Commits on Apr 3, 2024

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

Commits on Apr 4, 2024

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

Commits on Apr 7, 2024

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

Commits on May 3, 2024

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

Commits on May 10, 2024

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

Commits on May 22, 2024

  1. Merge branch 'main' into multi-config

    Signed-off-by: Cody Fincher <204685+cofin@users.noreply.github.com>
    cofin committed May 22, 2024
    Configuration menu
    Copy the full SHA
    0801326 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

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

Commits on May 30, 2024

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

Commits on Jun 2, 2024

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

Commits on Jun 3, 2024

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

Commits on Jun 5, 2024

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

Commits on Jun 6, 2024

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

Commits on Jun 10, 2024

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

Commits on Jun 24, 2024

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

Commits on Jun 28, 2024

  1. feat: services accept BaseModels and Structs (#218)

    * feat: services accept BaseModels and Structs
    
    * fix: adds tests for converting struct and basemodel classes
    
    * fix: correct configuration
    
    * feat: tweak to_dict
    cofin committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    416870c View commit details
    Browse the repository at this point in the history
  2. feat: add a to_schema parameter to services (#220)

    * feat: services accept BaseModels and Structs
    
    * fix: adds tests for converting struct and basemodel classes
    
    * fix: correct configuration
    
    * feat: tweak to_dict
    
    * feat: add a `to_schema` parameter to services
    
    * chore: linting
    
    * fix: type checking
    
    * feat: assert model
    
    ---------
    
    Signed-off-by: Cody Fincher <204685+cofin@users.noreply.github.com>
    cofin committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    6871e47 View commit details
    Browse the repository at this point in the history
  3. chore(release): bump version to v0.15.0

    Signed-off-by: Cody Fincher <204685+cofin@users.noreply.github.com>
    cofin committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    d958b15 View commit details
    Browse the repository at this point in the history
  4. feat: single row operations are filterable (#221)

    * feat: improved typing
    
    * chore: bump version
    
    * feat: i think this is better for linters
    
    * chore: revert changes
    
    * feat: use type guard
    
    * feat: type ignore
    
    * feat: precommit hook
    
    * fix: updated dict type signature
    
    * chore: linting fixes
    
    * chore: limit concurrency per branch
    
    * feat: lint fix
    
    * fix: add missing returns
    
    * fix: don't assign an extra variable
    
    * feat: allow filters in single row queries (#222)
    
    * wip
    
    * feat: allow single row operations to filter
    
    * fix: remove deprecation test
    cofin committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    7c9d984 View commit details
    Browse the repository at this point in the history
  5. feat!: revert to_schema overloads & optimize upsert_many (#224)

    - Reverts the previous `to_schema` implementation in the service layer.  This will need to be rethought as it requires too many overloads to any customized service function.  
    - Ensures that the filter values for `upsert_many` is a unique list.  This is useful when you are merging a large amount of objects on a foreign key.  The lookup will only contain a single unique entry for each key instead of one for each row.
    - Adds a `schema_to_dict` method to convert incoming Pydantic or Msgspec models to dictionaries
    - Adds additional type guard helpers to check for a field in a dictionary, Struct, or BaseModel
    cofin committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    5f939b2 View commit details
    Browse the repository at this point in the history
  6. feat: additional tests and helper methods (#225)

    * feat: additional tests and helper methods
    
    * feat: re-use functions
    
    * feat: simplify logic further
    cofin committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    c4e365e View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2024

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

    cofin committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    95859d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03cd664 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. Merge branch 'main' into multi-config

    Signed-off-by: Cody Fincher <204685+cofin@users.noreply.github.com>
    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    5f60cce View commit details
    Browse the repository at this point in the history
  2. feat: tests

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    a2ba854 View commit details
    Browse the repository at this point in the history
  3. chore: update

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    01de05c View commit details
    Browse the repository at this point in the history
  4. fix: disable caching

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    3bc3277 View commit details
    Browse the repository at this point in the history
  5. chore: updates

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    abba7e1 View commit details
    Browse the repository at this point in the history
  6. chore: add eval type backport

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    03e5f98 View commit details
    Browse the repository at this point in the history
  7. feat(cli): Adds drop-all option to the litestar cli (#226)

    * feat(cli): Adds drop-all option to the litestar cli
    
    * fix(mypy): CI failure
    
    * tests(cli): Add tests for drop-all
    
    * chore: remove unnecessary import
    
    * feat: updated tests
    
    * fix: 3.8 and 3.9 support
    
    * chore: revert later
    
    * revert: "chore: revert later"
    
    This reverts commit 4091abd.
    
    * chore: 3.8/3.9 support
    
    * chore: add eval type check
    
    * chore: fix lint
    
    * feat: updated linting
    
    ---------
    
    Co-authored-by: Alc-Alc <alc@localhost>
    Co-authored-by: Cody Fincher <cody.fincher@gmail.com>
    3 people committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    b4e0794 View commit details
    Browse the repository at this point in the history
  8. feat: adds additional tests

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    ffe6c87 View commit details
    Browse the repository at this point in the history
  9. feat: multi-config dropall

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    c2c6598 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'main' into multi-config

    Signed-off-by: Cody Fincher <204685+cofin@users.noreply.github.com>
    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    bf74d56 View commit details
    Browse the repository at this point in the history
  11. feat: ignore .venv

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    782a93e View commit details
    Browse the repository at this point in the history
  12. chore: add ruff lint

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    6aab47b View commit details
    Browse the repository at this point in the history
  13. chore: bump deps

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    b412dab View commit details
    Browse the repository at this point in the history
  14. fix: reset between tests

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    ac908a4 View commit details
    Browse the repository at this point in the history
  15. feat: simplify plugin

    cofin committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    c7991b8 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. choreL linting update

    cofin committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    39fbab7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6acf0be View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    99c67d4 View commit details
    Browse the repository at this point in the history
  4. simplify conditional

    cofin committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    48bd051 View commit details
    Browse the repository at this point in the history
  5. added missing key

    cofin committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    08c9ed8 View commit details
    Browse the repository at this point in the history
  6. fix: updated another config

    cofin committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    c942699 View commit details
    Browse the repository at this point in the history
  7. oops

    cofin committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    0a98036 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    98bdfdc View commit details
    Browse the repository at this point in the history