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

Improve type hints for ddl and inspectdb #342

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

waketzheng
Copy link
Contributor

  1. Success to run mypy aerich/ddl/ aerich/inspectdb/
  2. Refactor aerich/ddl/__init__.py to share logic with add_column/modify_column and add_fk/drop_fk

@long2ice long2ice merged commit e6302a9 into tortoise:dev Jun 6, 2024
1 check passed
@waketzheng waketzheng deleted the type-hint-ddl branch June 7, 2024 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants