add update-catalog-active to CLI#109
Conversation
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Missing function or method docstring
| if verbose: | ||
| logger.info( | ||
| f"Updating input_catalog_id {input_catalog_id} to active={active_flag}" | ||
| ) |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Variable name "df" doesn't conform to snake_case naming style
Check warning
Code scanning / Pylint (reported by Codacy)
Missing function docstring
Check warning
Code scanning / Pylint (reported by Codacy)
Wrong hanging indentation before block (add 4 spaces).
Check warning
Code scanning / Pylint (reported by Codacy)
Wrong hanging indentation before block (add 4 spaces).
Check warning
Code scanning / Pylint (reported by Codacy)
Wrong hanging indentation before block (add 4 spaces).
Check warning
Code scanning / Pylint (reported by Codacy)
Wrong hanging indentation before block (add 4 spaces).
Check warning
Code scanning / Prospector (reported by Codacy)
syntax error in forward annotation 'Input catalog ID to be updated.' (F722)
Check warning
Code scanning / Prospector (reported by Codacy)
syntax error in forward annotation 'Active flag to be set.' (F722)
Check warning
Code scanning / Prospector (reported by Codacy)
undefined name 'commit' (F821)
Check warning
Code scanning / Prospector (reported by Codacy)
syntax error in forward annotation 'Commit changes to the database.' (F722)
Check warning
Code scanning / Prospector (reported by Codacy)
undefined name 'v' (F821)
| * `-t, --table [filter_name|fluxstd|input_catalog|proposal|proposal_category|sky|target|target_type]`: Table name to insert rows. [required] | ||
| * `-t, --table [filter_name|fluxstd|input_catalog|partner|pfs_arm|proposal|proposal_category|sky|target|target_type|user_pointing]`: Table name to insert rows. [required] | ||
| * `--commit`: Commit changes to the database. | ||
| * `--fetch`: Fetch data from database a the end. |
Check notice
Code scanning / Remark-lint (reported by Codacy)
Warn when shortcut reference links are used.
| * `-t, --table [filter_name|fluxstd|input_catalog|proposal|proposal_category|sky|target|target_type]`: Table name to insert rows. [required] | ||
| * `-t, --table [filter_name|fluxstd|input_catalog|partner|pfs_arm|proposal|proposal_category|sky|target|target_type|user_pointing]`: Table name to insert rows. [required] | ||
| * `--commit`: Commit changes to the database. | ||
| * `--fetch`: Fetch data from database a the end. |
Check notice
Code scanning / Remark-lint (reported by Codacy)
Warn when references to undefined definitions are found.
| * `--force`: Force download. | ||
| * `--force / --no-force`: Force download. [default: no-force] | ||
| * `--help`: Show this message and exit. | ||
|
|
Check notice
Code scanning / Remark-lint (reported by Codacy)
Warn when shortcut reference links are used.
| * `--force`: Force download. | ||
| * `--force / --no-force`: Force download. [default: no-force] | ||
| * `--help`: Show this message and exit. | ||
|
|
Check notice
Code scanning / Remark-lint (reported by Codacy)
Warn when references to undefined definitions are found.
| * `-t, --table [filter_name|fluxstd|input_catalog|proposal|proposal_category|sky|target|target_type]`: Table name to update rows. [required] | ||
| * `-t, --table [filter_name|fluxstd|input_catalog|partner|pfs_arm|proposal|proposal_category|sky|target|target_type|user_pointing]`: Table name to update rows. [required] | ||
| * `--commit`: Commit changes to the database. | ||
| * `--fetch`: Fetch data from database a the end. |
Check notice
Code scanning / Remark-lint (reported by Codacy)
Warn when references to undefined definitions are found.
|
|
||
| * `INPUT_CATALOG_ID`: Input catalog ID to be updated. [required] | ||
| * `ACTIVE_FLAG`: Active flag to be set. [required] | ||
|
|
Check notice
Code scanning / Remark-lint (reported by Codacy)
Warn when references to undefined definitions are found.
|
|
||
| * `INPUT_CATALOG_ID`: Input catalog ID to be updated. [required] | ||
| * `ACTIVE_FLAG`: Active flag to be set. [required] | ||
|
|
Check notice
Code scanning / Remark-lint (reported by Codacy)
Warn when shortcut reference links are used.
| * `INPUT_CATALOG_ID`: Input catalog ID to be updated. [required] | ||
| * `ACTIVE_FLAG`: Active flag to be set. [required] | ||
|
|
||
| **Options**: |
Check notice
Code scanning / Remark-lint (reported by Codacy)
Warn when references to undefined definitions are found.
| * `INPUT_CATALOG_ID`: Input catalog ID to be updated. [required] | ||
| * `ACTIVE_FLAG`: Active flag to be set. [required] | ||
|
|
||
| **Options**: |
Check notice
Code scanning / Remark-lint (reported by Codacy)
Warn when shortcut reference links are used.
|
|
||
| * `-c, --config TEXT`: Database configuration file in the TOML format. [required] | ||
| * `--commit`: Commit changes to the database. | ||
| * `-v, --verbose`: Verbose output. |
Check notice
Code scanning / Remark-lint (reported by Codacy)
Warn when references to undefined definitions are found.
No description provided.