Skip to content

Commit d436da9

Browse files
authored
chore: Remove unnecessary extended typer (#5270)
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> This PR removes unnecessary typer extensions **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Refactor (change restructuring the codebase without changing functionality) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
1 parent 705e199 commit d436da9

File tree

2 files changed

+1
-81
lines changed

2 files changed

+1
-81
lines changed

argilla-server/src/argilla_server/cli/database/migrate.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
from alembic.script import ScriptDirectory
2121
from alembic.util import CommandError
2222

23-
from argilla_server.cli import typer_ext
2423
from argilla_server.database import ALEMBIC_CONFIG_FILE, TAGGED_REVISIONS
25-
2624
from . import utils
2725

2826

@@ -50,4 +48,4 @@ def migrate_db(revision: Optional[str] = typer.Option(default="head", help="DB R
5048

5149

5250
if __name__ == "__main__":
53-
typer_ext.run(migrate_db)
51+
typer.run(migrate_db)

argilla-server/src/argilla_server/cli/typer_ext.py

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)