- 26 Sep, 2025 3 commits
-
-
Wei Shoulin authored
feat(dag): include instrument, obs_type, obs_group, detector, filter, object, and proposal_id feat(dag): update update_dag_run function to support queue_time, start_time, and end_time feat(level0): rename obs_time parameter to date_obs feat(level1): rename obs_time parameter to date_obs test(dag): update test cases for new parameters and function name change
-
Wei Shoulin authored
Change the default value of the `timeout` parameter from 300 to None for all HTTP request methods (get, post, put, delete, post_bytesio, and download_file) in the request module. This allows the requests to use the system's default timeout behavior when no explicit timeout is provided, improving flexibility and alignment with standard practices.
-
Wei Shoulin authored
- Add optional `limit` parameter to the `search` function in catalog.py - Implement new `describe_catalog` function to get column information of a catalog - Update unit tests to include the new parameter and test the new function - Minor formatting improvements in docstrings and test cases
-
- 19 Aug, 2025 1 commit
-
-
Wei Shoulin authored
Introduce two new endpoints: - find_dag_run: search DAG run records with filters - update_dag_run_status_code: update status of a DAG run Include corresponding unit tests.
-
- 18 Aug, 2025 1 commit
-
-
Wei Shoulin authored
- Introduce new `all_catalog_names()` function in catalog.py to fetch available catalog names - Enhance `is_valid_datetime_format()` to accept both basic and ISO datetime formats - Add corresponding unit test for `all_catalog_names()` - Comment out slow integration tests in level0/level1 test files
-
- 23 Jul, 2025 1 commit
-
-
Wei Shoulin authored
-
- 20 Jul, 2025 1 commit
-
-
Wei Shoulin authored
- Change the API endpoint from "/api/level0/prc_status/batch/update" to "/api/level0/prc_status/batch" - This modification simplifies the API structure and improves maintainability
-
- 19 Jul, 2025 1 commit
-
-
Wei Shoulin authored
- Change the API endpoint for updating QC status from "/api/level0/qc_status/batch" to "/api/level0/qc_status/batch/update" - This change improves the clarity and specificity of the API endpoint, making it more intuitive for developers
-
- 15 Jul, 2025 3 commits
-
-
Wei Shoulin authored
- Remove all Level2 API functions and related test cases - Update Level0 and Level1 API functions to use more generic QC status instead of QC0/QC1 - Adjust function names and parameters for better consistency across levels - Remove redundant default values for dataset and batch_id parameters
-
Wei Shoulin authored
-
Wei Shoulin authored
-
- 11 Jul, 2025 4 commits
-
-
Wei Shoulin authored
- Change parameter name from `prc_status` to `qc0_status` for better clarity - Update function documentation to reflect the change
-
Wei Shoulin authored
- Remove unnecessary **kwargs parameter from write_file function documentation - Improve type hint for local_file parameter to include list option
-
Wei Shoulin authored
- Change the success condition from checking response code to response success flag
-
Wei Shoulin authored
- Add batch processing logic to dag.py for handling large dag_run_list - Enhance write_file function in plan.py to support batch uploads - Update test_level0.py to include tests for new batch processing features
-
- 07 Jul, 2025 1 commit
-
-
Wei Shoulin authored
- Implement a new function `update_qc0_status_by_ids` for batch updating QC0 status - Add related unit test `test_update_qc0_status_by_ids` - Comment out unused test cases to focus on new functionality
-
- 04 Jul, 2025 1 commit
-
-
Wei Shoulin authored
- Implement `update_prc_status_by_ids` function in level0.py for batch updating processing status of level 0 data by internal IDs - Add corresponding unit test `test_update_prc_status_by_ids` in test_level0.py
-
- 27 Jun, 2025 2 commits
-
-
Wei Shoulin authored
- 在 count_plan_level0 函数中添加了 obs_id 和 prc_status 两个可选参数
-
Wei Shoulin authored
- 新增 count_plan_level0 函数,用于统计编排和0级数据数量 - 更新 test_plan.py,添加 count_plan_level0 的单元测试 - 修改 test_level0.py,调整 find 函数的调用方式
-
- 16 Jun, 2025 1 commit
-
-
Wei Shoulin authored
- Remove unused return type annotation in post_file function - Update find functions in level0 and level1 modules to require instrument parameter
-
- 15 Jun, 2025 1 commit
-
-
Wei Shoulin authored
Refactor DAG parameter names for consistency. Changed `dag_id` to `dag` and `dag_run_id` to `dag_run` across level0, level1, and level2 modules and tests.
-
- 11 Jun, 2025 1 commit
-
-
Wei Shoulin authored
-
- 20 May, 2025 3 commits
-
-
Wei Shoulin authored
refactor find function parameters to use obs_group and detector instead of project_id and detector_no
-
Wei Shoulin authored
-
Wei Shoulin authored
-
- 29 Apr, 2025 1 commit
-
-
Wei Shoulin authored
-
- 28 Apr, 2025 1 commit
-
-
Wei Shoulin authored
-
- 25 Apr, 2025 3 commits
-
-
Wei Shoulin authored
-
Wei Shoulin authored
-
Wei Shoulin authored
-
- 23 Apr, 2025 1 commit
-
-
Wei Shoulin authored
-
- 21 Apr, 2025 1 commit
-
-
Wei Shoulin authored
-
- 19 Apr, 2025 1 commit
-
-
Wei Shoulin authored
-
- 31 Mar, 2025 1 commit
-
-
Wei Shoulin authored
-
- 03 Mar, 2025 6 commits
-
-
Wei Shoulin authored
-
Wei Shoulin authored
-
Wei Shoulin authored
-
Wei Shoulin authored
-
Wei Shoulin authored
-
Wei Shoulin authored
-