o
    QDib                     @  s\  d dl mZ d dlmZmZ ddlmZ edddZedddZedd	dZ	edd
dZ
edddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedddZedd dZ edd!dZ!edd"dZ"edd#dZ#edd$dZ$edd%dZ%edd&dZ&edd'dZ'eej(d(dZ)eej*d)dZ+edd*dZ,edd+dZ-eej.d,dZ/eej0d-dZ1ed.d/2ej3 d.d0dZ4edd1dZ5edd2dZ6edd3dZ7ed4d5dZ8ed4d6dZ9eej:d7dZ;edd8dZedd9dZ<edd:dZ=ed4d;dZ>ed4d<dZ?ed4d=dZ@ed4d>dZAed4d?dZBed4d@dZCed4dAdZDed4dBdZEeddCdZFeddDdZGed4dEdZHeddFdZIedFdGZJeddHdZKeddIdZLed4dJdZMed4dKdZNdS )L    )annotations)ArgumentOption   )settingsNzData source [default: stdin])defaulthelpzSpecify type e.g. "package"zOSpecify the data path explicitly (e.g. you need to use it if your data is JSON)z#Specify scheme  [default: inferred]z#Specify format  [default: inferred]zCSpecify encoding  [default: inferred]. Output will be utf-8 encodedz)Specify in-archive path  [default: first]z(Specify compression  [default: inferred]z/Comma-separated row numbers [default: inferred]z+Multiline header joiner [default: inferred]z4A char indicating that the row is a comment e.g. "#"z@Comma-separated rows to be considered as comments e.g. "2,3,4,5"z-Comma-separated rows to pick e.g. "1,<blank>"z+Comma-separated rows to skip e.g. "2,3,4,5"z$Limit rows by this integer e.g "100"zlAn inline JSON object or a path to a JSON file that provides the control (configuration for the data Loader)zgAn inline JSON object or a path to a JSON file that provides the dialect (configuration for the parser)zJThe sheet to use from the input data (only with XLS and ODS files/plugins)z3The table to use from the SQL database (SQL plugin)zCThe keys to use as column names for the Inline or JSON data pluginszCWhether the input data is keyed for the Inline or JSON data pluginszSpecify a path to a schemazJAn inline JSON object or a path to a JSON file that provides the checklistz@Validation checks e.g "duplicate-row table-dimensions:numRows=1"z0Comma-separated errors to pick e.g. "type-error"z/Comma-separated errors to skip e.g. "blank-row"zIAn inline JSON object or a path to a JSON file that provides the pipelinez?Tranform steps e.g "table-recast cell-set:fieldName=id:value=3"zInfer statszExpected hashzExpected size in byteszExpected amount of fieldszExpected amount of rowsz5Limit the amount of bytes to be extracted as a bufferz4Limit the number of rows to be extracted as a samplez&Force all the fields to have this typez#Comma-separated list of field nameszqInfer confidence. A float from 0 to 1. If 1, (sampled) data is guaranteed to be valid against the inferred schemaz&Make number floats instead of decimals",z&Comma-separated list of missing valuesz.Sync the schema based on the data's header rowz Basepath of the resource/packagezName of resource or tableFzReturn valid rowszReturn invalid rowszLimit errors by this integerzLimit rows by this integerzEnable multiprocessingz;Specify the output file path explicitly (e.g. package.yaml)zReturn in pure YAML formatzReturn in JSON formatzReturn in CSV formatzReturn in Markdown formatz3Return er diagram. It is only available for packagezEnable debug modezRun server as rootzFollow unsafe pathsz&Possible options: v1, v2 (default: v2)zIExplicit path to the descriptor instead of guessing by providing a sourcezKeep input delimiterzDatabase url)r   zFast database indexingzQSV binary pathzAdd metadata while indexingz4If fast indexing errored fallback to the normal mode)O
__future__r   typerr   r    r   sourcetypepathschemeformatencoding	innerpathcompressionheader_rowsheader_joincomment_charcomment_rows	pick_rows	skip_rows
limit_rowscontroldialectsheettablekeyskeyedschema	checklistcheckspick_errorsskip_errorspipelinestepsstatshashbytesfieldsrowsDEFAULT_BUFFER_SIZEbuffer_sizeDEFAULT_SAMPLE_SIZEsample_size
field_typefield_namesDEFAULT_FIELD_CONFIDENCEfield_confidenceDEFAULT_FLOAT_NUMBERSfield_float_numbersjoinDEFAULT_MISSING_VALUESfield_missing_valuesschema_syncbasepathresource_name
valid_rowsinvalid_rowsDEFAULT_LIMIT_ERRORSlimit_errorsparalleloutput_pathyamljsoncsvmarkdown
er_diagramdebugroottrusted	standards
descriptorkeep_delimiterdatabaserequired_databasefastqsvmetadatafallback rV   rV   T/var/www/Datamplify/venv/lib/python3.10/site-packages/frictionless/console/common.py<module>   s   
