tortoise / tortoise-orm

Familiar asyncio ORM for python, built with relations in mind
https://tortoise.github.io
Apache License 2.0
4.37k stars 355 forks source link

refactor: share logic between FK & O2O when init fields #1618

Closed waketzheng closed 1 month ago

waketzheng commented 1 month ago

Description

Motivation and Context

fixes TODO in tortoise/__init__.py

How Has This Been Tested?

make ci

Checklist:

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 9188750535

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 9142576460: -0.06%
Covered Lines: 5749
Relevant Lines: 6446

💛 - Coveralls