tortoise / tortoise/tortoise-orm

PEP 557 support

Open
#1,056 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
5.6k
Forks
516
Avg merge
2d 21h
Merged PRs (30d)
9

Description

To improve editor's autocompletion for, for example, new rows creation:

User(na<press tab here for autocompletion>)

Above action should show name as one of autocompletion options, but now it isn't working.

For example of library with working autocompletion I can sugest SQLModel by tiangolo

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reproducing the User(name=) autocomplete example in an editor and compare the behavior with the linked SQLModel example. Done means the name field appears as an autocomplete option when creating a new row.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.