Compare commits
4 Commits
v1.3.10
...
fffb686023
Author | SHA1 | Date | |
---|---|---|---|
fffb686023
|
|||
893bc77128
|
|||
7b3f1f2d09
|
|||
8a5e1b68b7
|
@ -16,7 +16,11 @@
|
|||||||
"mdrsclient",
|
"mdrsclient",
|
||||||
"neurodata",
|
"neurodata",
|
||||||
"Neuroinformatics",
|
"Neuroinformatics",
|
||||||
|
"orcid",
|
||||||
"RIKEN"
|
"RIKEN"
|
||||||
],
|
],
|
||||||
"ignorePaths": [".env", "__pycache__"]
|
"ignorePaths": [
|
||||||
|
".env",
|
||||||
|
"__pycache__"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
1.3.10
|
1.3.12
|
||||||
|
@ -20,8 +20,10 @@ class UsersCurrentResponseLaboratory:
|
|||||||
class UsersApiCurrentResponse:
|
class UsersApiCurrentResponse:
|
||||||
id: int
|
id: int
|
||||||
username: str
|
username: str
|
||||||
full_name: str
|
first_name: str
|
||||||
|
last_name: str
|
||||||
email: str
|
email: str
|
||||||
|
orcid_id: str
|
||||||
laboratories: list[UsersCurrentResponseLaboratory]
|
laboratories: list[UsersCurrentResponseLaboratory]
|
||||||
is_staff: bool
|
is_staff: bool
|
||||||
is_active: bool
|
is_active: bool
|
||||||
|
@ -141,7 +141,7 @@ class DownloadCommand(BaseCommand):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def __multiple_download_worker(cls, file_api: FilesApi, info: DownloadFileInfo, is_skip_if_exists: bool) -> bool:
|
def __multiple_download_worker(cls, file_api: FilesApi, info: DownloadFileInfo, is_skip_if_exists: bool) -> bool:
|
||||||
if not is_skip_if_exists or os.path.exists(info.path) and info.file.size != os.path.getsize(info.path):
|
if not is_skip_if_exists or not os.path.exists(info.path) or info.file.size != os.path.getsize(info.path):
|
||||||
try:
|
try:
|
||||||
file_api.download(info.file, info.path)
|
file_api.download(info.file, info.path)
|
||||||
except Exception:
|
except Exception:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "mdrs-client-python"
|
name = "mdrs-client-python"
|
||||||
version = "1.3.10"
|
version = "1.3.12"
|
||||||
description = "The mdrs-client-python is python library and a command-line client for up- and downloading files to and from MDRS based repository."
|
description = "The mdrs-client-python is python library and a command-line client for up- and downloading files to and from MDRS based repository."
|
||||||
authors = ["Yoshihiro OKUMURA <yoshihiro.okumura@riken.jp>"]
|
authors = ["Yoshihiro OKUMURA <yoshihiro.okumura@riken.jp>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@ -25,18 +25,18 @@ packages = [
|
|||||||
python = "^3.10"
|
python = "^3.10"
|
||||||
requests = "^2.32.3"
|
requests = "^2.32.3"
|
||||||
requests-toolbelt = "^1.0.0"
|
requests-toolbelt = "^1.0.0"
|
||||||
python-dotenv = "^1.0.1"
|
python-dotenv = "^1.1.0"
|
||||||
pydantic = "^2.10.4"
|
pydantic = "^2.11.4"
|
||||||
pydantic-settings = "^2.7.0"
|
pydantic-settings = "^2.9.1"
|
||||||
PyJWT = "^2.10.1"
|
PyJWT = "^2.10.1"
|
||||||
validators = "^0.34.0"
|
validators = "^0.34.0"
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
black = "^24.10.0"
|
black = "^24.10.0"
|
||||||
flake8 = "^7.1.1"
|
flake8 = "^7.2.0"
|
||||||
Flake8-pyproject = "^1.2.3"
|
Flake8-pyproject = "^1.2.3"
|
||||||
isort = "^5.13.2"
|
isort = "^5.13.2"
|
||||||
pyright = "^1.1.386"
|
pyright = "^1.1.400"
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
mdrs = 'mdrsclient.__main__:main'
|
mdrs = 'mdrsclient.__main__:main'
|
||||||
|
Reference in New Issue
Block a user