Skip to content

Commit 07cd56b

Browse files
colorzzrGitHub Actions
andauthored
PILOT-7687: correct the single file upload logic (#235)
* ucorrect the single file upload logic * trigger pipeline * Updated docs/compatible_version.ndjson with PR #235 --------- Co-authored-by: GitHub Actions <github-actions@users.noreply.indocresearch.org>
1 parent b178285 commit 07cd56b

5 files changed

Lines changed: 5 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Command line tool that allows the user to execute data operations on the platfor
5757
| 3.19.0 | 2.16.0 | 2.16.0 |
5858
| 3.19.1 | 2.16.0 | 2.16.0 |
5959
| 3.19.2 | 2.16.0 | 2.16.0 |
60+
| 3.19.3 | 2.16.0 | 2.16.0 |
6061
<!-- COMPATIBLE_VERSIONS_END -->
6162
6263
## Build Instructions

app/services/file_manager/file_tag.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717

1818
class SrvFileTag(metaclass=MetaService):
19+
1920
appconfig = AppConfig()
2021
user: UserConfig
2122

app/services/file_manager/file_upload/file_upload.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,7 @@ def simple_upload( # noqa: C901
209209
upload_file_path = get_file_in_folder(input_path)
210210
else:
211211
upload_file_path = [input_path]
212-
213-
if create_folder_flag:
214-
job_type = UploadType.AS_FOLDER
215-
else:
216-
job_type = UploadType.AS_FILE
212+
job_type = UploadType.AS_FILE
217213

218214
upload_client = UploadClient(
219215
project_code=project_code,

docs/compatible_version.ndjson

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
{"Cli Version": "3.19.0", "Pilot Release Version": "2.16.0", "Compatible Version": "2.16.0"}
1010
{"Cli Version": "3.19.1", "Pilot Release Version": "2.16.0", "Compatible Version": "2.16.0"}
1111
{"Cli Version": "3.19.2", "Pilot Release Version": "2.16.0", "Compatible Version": "2.16.0"}
12+
{"Cli Version": "3.19.3", "Pilot Release Version": "2.16.0", "Compatible Version": "2.16.0"}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "app"
3-
version = "3.19.2"
3+
version = "3.19.3"
44
description = "This service is designed to support pilot platform"
55
authors = ["Indoc Systems"]
66

0 commit comments

Comments
 (0)