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

Allow for passing keyword arguments to from_orm #3375

Closed
wants to merge 14 commits into from

Commits on Oct 31, 2021

  1. Allow for passing keyword arguments to from_orm:

    You can already use Field(alias='whatever') on the model to allow for
    converting from ORM models that might be named differently, but this
    means that the model knows about the existence of a database (or at
    least it's columns), which seems like a leaky abstraction.
    
    With this modification though, the database will be the one to handle
    the naming conflict, which keeps the model more succinct.
    dosisod committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    3f94791 View commit details
    Browse the repository at this point in the history
  2. Add file to changes/

    dosisod committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    c59f6c4 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2021

  1. Configuration menu
    Copy the full SHA
    52f9075 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    651fcce View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

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

Commits on Jan 7, 2022

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

Commits on Mar 3, 2022

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

Commits on Jun 26, 2022

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

Commits on Aug 5, 2022

  1. Configuration menu
    Copy the full SHA
    371c1a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4623f6 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. Add requested changes

    dosisod committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    0f6f698 View commit details
    Browse the repository at this point in the history
  2. Fix docs

    dosisod committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    2ac817e View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. Add requested changes

    dosisod committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    bcad29c View commit details
    Browse the repository at this point in the history
  2. Trigger CI

    dosisod committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    591d591 View commit details
    Browse the repository at this point in the history