Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /DS4SD_deepsearch-toolkit /deepsearch /cps /cli /cli_options.py
| import typer | |
| PROJ_KEY = typer.Option( | |
| ..., | |
| "--proj-key", | |
| "-p", | |
| help="Provide project key", | |
| ) | |
| WAIT = typer.Option( | |
| False, | |
| "--wait", | |
| "-w", | |
| is_flag=True, | |
| help="Wait for the operation to finish", | |
| ) | |
| URL = typer.Option( | |
| None, | |
| "--url", | |
| "-u", | |
| help="""Provide single url""", | |
| ) | |
| COORDINATES_PATH = typer.Option( | |
| None, | |
| "--coordinates-file", | |
| "-c", | |
| help="""Provide absolute path to local json file | |
| containing coordinates of COS.""", | |
| ) | |
| CONV_SETTINGS = typer.Option( | |
| None, | |
| "--conv-settings", | |
| help="""Provide conversion settings to be used on local file upload""", | |
| ) | |
| TARGET_SETTINGS = typer.Option( | |
| None, | |
| "--target-settings", | |
| help="""Provide target conversion settings to be used on local file upload""", | |
| ) | |
| SOURCE_PATH = typer.Option( | |
| None, | |
| "--input-file", | |
| "-i", | |
| help="""Provide absolute path to local file or directory | |
| containing pdf documents, zip files, or both.""", | |
| ) | |
| ATTACHMENT_PATH = typer.Option( | |
| ..., | |
| "--attachment-file", | |
| "-i", | |
| help="Provide absolute path to local file.", | |
| ) | |
| ATTACHMENT_KEY = typer.Option( | |
| "usr_attachments", | |
| "-k", | |
| "--attachment_key", | |
| help="Attachment key to put in index item", | |
| ) | |
| INDEX_KEY = typer.Option(..., "-x", "--index-key", help="index_key of data index") | |
| INDEX_ITEM_ID = typer.Option(..., "-d", "--index_item_id", help="Index item ID") | |
| PROGRESS_BAR = typer.Option( | |
| True, | |
| "--progress-bar", | |
| "-pbar", | |
| is_flag=True, | |
| help="Show progress bar", | |
| ) | |
| GET_REPORT = typer.Option( | |
| False, | |
| "--report", | |
| "-r", | |
| is_flag=True, | |
| help="Generate report after document conversion", | |
| ) | |
| EXPORT_MD = typer.Option( | |
| False, | |
| "--export-md", | |
| "-md", | |
| is_flag=True, | |
| help="Download MD file after document conversion", | |
| ) | |
| TASK_IDS = typer.Option( | |
| None, | |
| "--task-ids", | |
| "-t", | |
| help="""Provide path to file containing task ids generated during document conversion.""", | |
| ) | |
Xet Storage Details
- Size:
- 1.98 kB
- Xet hash:
- 913f5eaae5aa8e45f27dc484bf14bdbea0817017958e188c02fa76cdd6f7dda9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.