Skip to content

Commit

Permalink
fix: Export predictions in migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
makseq committed Aug 24, 2023
1 parent 0376121 commit 5557df8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/migrate_ls_to_ls/migrate-ls-to-ls.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def export_snapshot(self, project):
title='Migration snapshot',
serialization_options_drafts=False,
serialization_options_annotations__completed_by=False,
serialization_options_predictions=False
)
assert 'id' in export_result
export_id = export_result['id']
Expand Down
4 changes: 2 additions & 2 deletions label_studio_sdk/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -1904,9 +1904,9 @@ def export_snapshot_create(
Task filter options, use {"view": tab_id} to apply filter from this tab,
<a href="https://api.labelstud.io/#operation/api_projects_exports_create">check the API parameters for more details</a>
serialization_options_drafts: bool
Expand drafts or include only ID
Expand drafts (False) or include only ID (True)
serialization_options_predictions: bool
Expand predictions or include only ID
Expand predictions (False) or include only ID (True)
serialization_options_annotations__completed_by: bool
Expand user that completed_by (False) or include only ID (True)
annotation_filter_options_usual: bool
Expand Down

0 comments on commit 5557df8

Please sign in to comment.