haplohub-cli 2.0.0__tar.gz → 2.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/.github/workflows/on_push_main.yml +1 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/PKG-INFO +2 -2
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/_version.py +3 -3
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/file.py +1 -4
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/api/client.py +3 -3
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli.egg-info/PKG-INFO +2 -2
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli.egg-info/requires.txt +1 -1
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/pyproject.toml +1 -1
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/.github/workflows/on_pr.yml +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/.gitignore +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/.pre-commit-config.yaml +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/README.md +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/auth/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/auth/auth.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/auth/auth_web_server.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/auth/oauth_client.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/auth/tests/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/auth/tests/test_auth_web_server.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/auth/tests/test_token_storage.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/auth/token_storage.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/cli.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/algorithm/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/algorithm/result/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/cohort/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/cohort/biomarker.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/cohort/member/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/cohort/member/report.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/cohort/sample.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/config.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/login.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/metadata/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/variant.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/version.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/config/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/config/config.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/config/config_manager.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/api/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/checksum.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/network.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/slug.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/tests/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/tests/test_checksum.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/tests/test_network.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/tests/test_slug.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/types.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/core/upload.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/algorithm.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/algorithm_result.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/biomarker.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/cohort.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/config.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/decorators.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/file.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/formatter_registry.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/generic.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/member.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/metadata.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/sample.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/utils.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/formatters/variant.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/settings.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/types/__init__.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/types/variant_range.py +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli.egg-info/SOURCES.txt +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli.egg-info/dependency_links.txt +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli.egg-info/entry_points.txt +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli.egg-info/top_level.txt +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/setup.cfg +0 -0
- {haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/uv.lock +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: haplohub-cli
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: HaploHub Command Line Interface
|
|
5
5
|
Author-email: Mike Polcari <mike@haplotype-labs.com>, Ilya Khrustalev <ilya@haplotype-labs.com>
|
|
6
6
|
Requires-Python: >=3.8
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
Requires-Dist: click>=8.1.8
|
|
9
|
-
Requires-Dist: haplohub>=2.0.
|
|
9
|
+
Requires-Dist: haplohub>=2.0.2
|
|
10
10
|
Requires-Dist: pendulum>=3.0.0
|
|
11
11
|
Requires-Dist: requests>=2.32.0
|
|
12
12
|
Requires-Dist: rich>=13.9.4
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '2.0.
|
|
22
|
-
__version_tuple__ = version_tuple = (2, 0,
|
|
21
|
+
__version__ = version = '2.0.2'
|
|
22
|
+
__version_tuple__ = version_tuple = (2, 0, 2)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g91bb88d5b'
|
|
@@ -123,12 +123,9 @@ def upload(
|
|
|
123
123
|
)
|
|
124
124
|
|
|
125
125
|
task = progress.add_task("Creating upload request", total=1)
|
|
126
|
-
response = client.
|
|
126
|
+
response = client.upload_request.create_upload_request(cohort, request)
|
|
127
127
|
progress.update(task, completed=1)
|
|
128
128
|
|
|
129
|
-
if response.status == "error":
|
|
130
|
-
return response
|
|
131
|
-
|
|
132
129
|
with ThreadPoolExecutor(max_workers=8) as executor:
|
|
133
130
|
futures = [
|
|
134
131
|
executor.submit(
|
|
@@ -11,7 +11,7 @@ from haplohub import (
|
|
|
11
11
|
MemberApi,
|
|
12
12
|
MemberReportApi,
|
|
13
13
|
SampleApi,
|
|
14
|
-
|
|
14
|
+
UploadRequestApi,
|
|
15
15
|
VariantApi,
|
|
16
16
|
)
|
|
17
17
|
|
|
@@ -46,8 +46,8 @@ class Client:
|
|
|
46
46
|
return FileApi(self.client)
|
|
47
47
|
|
|
48
48
|
@cached_property
|
|
49
|
-
def
|
|
50
|
-
return
|
|
49
|
+
def upload_request(self):
|
|
50
|
+
return UploadRequestApi(self.client)
|
|
51
51
|
|
|
52
52
|
@cached_property
|
|
53
53
|
def variant(self):
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: haplohub-cli
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: HaploHub Command Line Interface
|
|
5
5
|
Author-email: Mike Polcari <mike@haplotype-labs.com>, Ilya Khrustalev <ilya@haplotype-labs.com>
|
|
6
6
|
Requires-Python: >=3.8
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
Requires-Dist: click>=8.1.8
|
|
9
|
-
Requires-Dist: haplohub>=2.0.
|
|
9
|
+
Requires-Dist: haplohub>=2.0.2
|
|
10
10
|
Requires-Dist: pendulum>=3.0.0
|
|
11
11
|
Requires-Dist: requests>=2.32.0
|
|
12
12
|
Requires-Dist: rich>=13.9.4
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{haplohub_cli-2.0.0 → haplohub_cli-2.0.2}/haplohub_cli/commands/algorithm/result/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|