Skip to content

Commit

Permalink
Merge pull request #148 from opendatalab/feat/json-pre-annotation
Browse files Browse the repository at this point in the history
fix: update alembic script
  • Loading branch information
gary-Shen authored Nov 19, 2024
2 parents 456ab2c + 97d6c08 commit 91e70d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def upgrade() -> None:
new_task_pre_annotation = TaskPreAnnotation(
task_id=task_pre_annotation.task_id,
# full file name
sample_name=sample_file.filename,
sample_name=sample_file.filename if sample_file else None,
file_id=file_id,
created_by=task_pre_annotation.created_by,
updated_by=task_pre_annotation.updated_by,
Expand Down

0 comments on commit 91e70d7

Please sign in to comment.