ncbi-datasets-pyclient 18.15.0__py3-none-any.whl → 18.16.0__py3-none-any.whl
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.
- ncbi/datasets/openapi/__init__.py +9 -1
- ncbi/datasets/openapi/api/organelle_api.py +24 -24
- ncbi/datasets/openapi/api/virus_api.py +132 -132
- ncbi/datasets/openapi/api_client.py +1 -1
- ncbi/datasets/openapi/configuration.py +1 -1
- ncbi/datasets/openapi/models/__init__.py +4 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_parsed_abstract.py +107 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_parsed_abstract_author.py +89 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_parsed_abstract_epub.py +93 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_pubmed_abstract_request.py +87 -0
- {ncbi_datasets_pyclient-18.15.0.dist-info → ncbi_datasets_pyclient-18.16.0.dist-info}/METADATA +6 -2
- {ncbi_datasets_pyclient-18.15.0.dist-info → ncbi_datasets_pyclient-18.16.0.dist-info}/RECORD +15 -11
- {ncbi_datasets_pyclient-18.15.0.dist-info → ncbi_datasets_pyclient-18.16.0.dist-info}/WHEEL +1 -1
- {ncbi_datasets_pyclient-18.15.0.dist-info → ncbi_datasets_pyclient-18.16.0.dist-info}/licenses/LICENSE +0 -0
- {ncbi_datasets_pyclient-18.15.0.dist-info → ncbi_datasets_pyclient-18.16.0.dist-info}/top_level.txt +0 -0
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/v18.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/v18.16.0/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -546,7 +546,7 @@ conf = ncbi.datasets.openapi.Configuration(
|
|
|
546
546
|
"OS: {env}\n"\
|
|
547
547
|
"Python Version: {pyversion}\n"\
|
|
548
548
|
"Version of the API: v2\n"\
|
|
549
|
-
"SDK Package Version: v18.
|
|
549
|
+
"SDK Package Version: v18.16.0".\
|
|
550
550
|
format(env=sys.platform, pyversion=sys.version)
|
|
551
551
|
|
|
552
552
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -21,6 +21,10 @@ from ncbi.datasets.openapi.models.ncbigsupgcolv2_chromosome_location import Ncbi
|
|
|
21
21
|
from ncbi.datasets.openapi.models.ncbigsupgcolv2_chromosome_type import Ncbigsupgcolv2ChromosomeType
|
|
22
22
|
from ncbi.datasets.openapi.models.ncbigsupgcolv2_sequence_accession_request import Ncbigsupgcolv2SequenceAccessionRequest
|
|
23
23
|
from ncbi.datasets.openapi.models.ncbiprotddv2_chain_footprint import Ncbiprotddv2ChainFootprint
|
|
24
|
+
from ncbi.datasets.openapi.models.ncbiprotddv2_parsed_abstract import Ncbiprotddv2ParsedAbstract
|
|
25
|
+
from ncbi.datasets.openapi.models.ncbiprotddv2_parsed_abstract_author import Ncbiprotddv2ParsedAbstractAuthor
|
|
26
|
+
from ncbi.datasets.openapi.models.ncbiprotddv2_parsed_abstract_epub import Ncbiprotddv2ParsedAbstractEpub
|
|
27
|
+
from ncbi.datasets.openapi.models.ncbiprotddv2_pubmed_abstract_request import Ncbiprotddv2PubmedAbstractRequest
|
|
24
28
|
from ncbi.datasets.openapi.models.ncbiprotddv2_query_structure_definition import Ncbiprotddv2QueryStructureDefinition
|
|
25
29
|
from ncbi.datasets.openapi.models.ncbiprotddv2_redundancy_level import Ncbiprotddv2RedundancyLevel
|
|
26
30
|
from ncbi.datasets.openapi.models.ncbiprotddv2_sdid_request import Ncbiprotddv2SdidRequest
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
NCBI Datasets API
|
|
5
|
+
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v2
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from ncbi.datasets.openapi.models.ncbiprotddv2_parsed_abstract_author import Ncbiprotddv2ParsedAbstractAuthor
|
|
23
|
+
from ncbi.datasets.openapi.models.ncbiprotddv2_parsed_abstract_epub import Ncbiprotddv2ParsedAbstractEpub
|
|
24
|
+
from typing import Optional, Set
|
|
25
|
+
from typing_extensions import Self
|
|
26
|
+
|
|
27
|
+
class Ncbiprotddv2ParsedAbstract(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
Ncbiprotddv2ParsedAbstract
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
pmid: Optional[StrictStr] = None
|
|
32
|
+
title: Optional[StrictStr] = None
|
|
33
|
+
authors: Optional[List[Ncbiprotddv2ParsedAbstractAuthor]] = None
|
|
34
|
+
epub: Optional[Ncbiprotddv2ParsedAbstractEpub] = None
|
|
35
|
+
abstract_text: Optional[StrictStr] = None
|
|
36
|
+
__properties: ClassVar[List[str]] = ["pmid", "title", "authors", "epub", "abstract_text"]
|
|
37
|
+
|
|
38
|
+
model_config = ConfigDict(
|
|
39
|
+
populate_by_name=True,
|
|
40
|
+
validate_assignment=True,
|
|
41
|
+
protected_namespaces=(),
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def to_str(self) -> str:
|
|
46
|
+
"""Returns the string representation of the model using alias"""
|
|
47
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
48
|
+
|
|
49
|
+
def to_json(self) -> str:
|
|
50
|
+
"""Returns the JSON representation of the model using alias"""
|
|
51
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
52
|
+
return json.dumps(self.to_dict())
|
|
53
|
+
|
|
54
|
+
@classmethod
|
|
55
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
56
|
+
"""Create an instance of Ncbiprotddv2ParsedAbstract from a JSON string"""
|
|
57
|
+
return cls.from_dict(json.loads(json_str))
|
|
58
|
+
|
|
59
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
60
|
+
"""Return the dictionary representation of the model using alias.
|
|
61
|
+
|
|
62
|
+
This has the following differences from calling pydantic's
|
|
63
|
+
`self.model_dump(by_alias=True)`:
|
|
64
|
+
|
|
65
|
+
* `None` is only added to the output dict for nullable fields that
|
|
66
|
+
were set at model initialization. Other fields with value `None`
|
|
67
|
+
are ignored.
|
|
68
|
+
"""
|
|
69
|
+
excluded_fields: Set[str] = set([
|
|
70
|
+
])
|
|
71
|
+
|
|
72
|
+
_dict = self.model_dump(
|
|
73
|
+
by_alias=True,
|
|
74
|
+
exclude=excluded_fields,
|
|
75
|
+
exclude_none=True,
|
|
76
|
+
)
|
|
77
|
+
# override the default output from pydantic by calling `to_dict()` of each item in authors (list)
|
|
78
|
+
_items = []
|
|
79
|
+
if self.authors:
|
|
80
|
+
for _item_authors in self.authors:
|
|
81
|
+
if _item_authors:
|
|
82
|
+
_items.append(_item_authors.to_dict())
|
|
83
|
+
_dict['authors'] = _items
|
|
84
|
+
# override the default output from pydantic by calling `to_dict()` of epub
|
|
85
|
+
if self.epub:
|
|
86
|
+
_dict['epub'] = self.epub.to_dict()
|
|
87
|
+
return _dict
|
|
88
|
+
|
|
89
|
+
@classmethod
|
|
90
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
91
|
+
"""Create an instance of Ncbiprotddv2ParsedAbstract from a dict"""
|
|
92
|
+
if obj is None:
|
|
93
|
+
return None
|
|
94
|
+
|
|
95
|
+
if not isinstance(obj, dict):
|
|
96
|
+
return cls.model_validate(obj)
|
|
97
|
+
|
|
98
|
+
_obj = cls.model_validate({
|
|
99
|
+
"pmid": obj.get("pmid"),
|
|
100
|
+
"title": obj.get("title"),
|
|
101
|
+
"authors": [Ncbiprotddv2ParsedAbstractAuthor.from_dict(_item) for _item in obj["authors"]] if obj.get("authors") is not None else None,
|
|
102
|
+
"epub": Ncbiprotddv2ParsedAbstractEpub.from_dict(obj["epub"]) if obj.get("epub") is not None else None,
|
|
103
|
+
"abstract_text": obj.get("abstract_text")
|
|
104
|
+
})
|
|
105
|
+
return _obj
|
|
106
|
+
|
|
107
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
NCBI Datasets API
|
|
5
|
+
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v2
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class Ncbiprotddv2ParsedAbstractAuthor(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
Ncbiprotddv2ParsedAbstractAuthor
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
surname: Optional[StrictStr] = None
|
|
30
|
+
given_name_initials: Optional[StrictStr] = None
|
|
31
|
+
__properties: ClassVar[List[str]] = ["surname", "given_name_initials"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of Ncbiprotddv2ParsedAbstractAuthor from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([
|
|
65
|
+
])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
return _dict
|
|
73
|
+
|
|
74
|
+
@classmethod
|
|
75
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
76
|
+
"""Create an instance of Ncbiprotddv2ParsedAbstractAuthor from a dict"""
|
|
77
|
+
if obj is None:
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
if not isinstance(obj, dict):
|
|
81
|
+
return cls.model_validate(obj)
|
|
82
|
+
|
|
83
|
+
_obj = cls.model_validate({
|
|
84
|
+
"surname": obj.get("surname"),
|
|
85
|
+
"given_name_initials": obj.get("given_name_initials")
|
|
86
|
+
})
|
|
87
|
+
return _obj
|
|
88
|
+
|
|
89
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
NCBI Datasets API
|
|
5
|
+
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v2
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class Ncbiprotddv2ParsedAbstractEpub(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
Ncbiprotddv2ParsedAbstractEpub
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
journal: Optional[StrictStr] = None
|
|
30
|
+
year: Optional[StrictInt] = None
|
|
31
|
+
volume: Optional[StrictInt] = None
|
|
32
|
+
pages: Optional[StrictStr] = None
|
|
33
|
+
__properties: ClassVar[List[str]] = ["journal", "year", "volume", "pages"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
populate_by_name=True,
|
|
37
|
+
validate_assignment=True,
|
|
38
|
+
protected_namespaces=(),
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def to_str(self) -> str:
|
|
43
|
+
"""Returns the string representation of the model using alias"""
|
|
44
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
45
|
+
|
|
46
|
+
def to_json(self) -> str:
|
|
47
|
+
"""Returns the JSON representation of the model using alias"""
|
|
48
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
49
|
+
return json.dumps(self.to_dict())
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
+
"""Create an instance of Ncbiprotddv2ParsedAbstractEpub from a JSON string"""
|
|
54
|
+
return cls.from_dict(json.loads(json_str))
|
|
55
|
+
|
|
56
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
57
|
+
"""Return the dictionary representation of the model using alias.
|
|
58
|
+
|
|
59
|
+
This has the following differences from calling pydantic's
|
|
60
|
+
`self.model_dump(by_alias=True)`:
|
|
61
|
+
|
|
62
|
+
* `None` is only added to the output dict for nullable fields that
|
|
63
|
+
were set at model initialization. Other fields with value `None`
|
|
64
|
+
are ignored.
|
|
65
|
+
"""
|
|
66
|
+
excluded_fields: Set[str] = set([
|
|
67
|
+
])
|
|
68
|
+
|
|
69
|
+
_dict = self.model_dump(
|
|
70
|
+
by_alias=True,
|
|
71
|
+
exclude=excluded_fields,
|
|
72
|
+
exclude_none=True,
|
|
73
|
+
)
|
|
74
|
+
return _dict
|
|
75
|
+
|
|
76
|
+
@classmethod
|
|
77
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
78
|
+
"""Create an instance of Ncbiprotddv2ParsedAbstractEpub from a dict"""
|
|
79
|
+
if obj is None:
|
|
80
|
+
return None
|
|
81
|
+
|
|
82
|
+
if not isinstance(obj, dict):
|
|
83
|
+
return cls.model_validate(obj)
|
|
84
|
+
|
|
85
|
+
_obj = cls.model_validate({
|
|
86
|
+
"journal": obj.get("journal"),
|
|
87
|
+
"year": obj.get("year"),
|
|
88
|
+
"volume": obj.get("volume"),
|
|
89
|
+
"pages": obj.get("pages")
|
|
90
|
+
})
|
|
91
|
+
return _obj
|
|
92
|
+
|
|
93
|
+
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
NCBI Datasets API
|
|
5
|
+
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v2
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class Ncbiprotddv2PubmedAbstractRequest(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
Ncbiprotddv2PubmedAbstractRequest
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
pmid: Optional[StrictStr] = None
|
|
30
|
+
__properties: ClassVar[List[str]] = ["pmid"]
|
|
31
|
+
|
|
32
|
+
model_config = ConfigDict(
|
|
33
|
+
populate_by_name=True,
|
|
34
|
+
validate_assignment=True,
|
|
35
|
+
protected_namespaces=(),
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def to_str(self) -> str:
|
|
40
|
+
"""Returns the string representation of the model using alias"""
|
|
41
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
42
|
+
|
|
43
|
+
def to_json(self) -> str:
|
|
44
|
+
"""Returns the JSON representation of the model using alias"""
|
|
45
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
46
|
+
return json.dumps(self.to_dict())
|
|
47
|
+
|
|
48
|
+
@classmethod
|
|
49
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
50
|
+
"""Create an instance of Ncbiprotddv2PubmedAbstractRequest from a JSON string"""
|
|
51
|
+
return cls.from_dict(json.loads(json_str))
|
|
52
|
+
|
|
53
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
54
|
+
"""Return the dictionary representation of the model using alias.
|
|
55
|
+
|
|
56
|
+
This has the following differences from calling pydantic's
|
|
57
|
+
`self.model_dump(by_alias=True)`:
|
|
58
|
+
|
|
59
|
+
* `None` is only added to the output dict for nullable fields that
|
|
60
|
+
were set at model initialization. Other fields with value `None`
|
|
61
|
+
are ignored.
|
|
62
|
+
"""
|
|
63
|
+
excluded_fields: Set[str] = set([
|
|
64
|
+
])
|
|
65
|
+
|
|
66
|
+
_dict = self.model_dump(
|
|
67
|
+
by_alias=True,
|
|
68
|
+
exclude=excluded_fields,
|
|
69
|
+
exclude_none=True,
|
|
70
|
+
)
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
75
|
+
"""Create an instance of Ncbiprotddv2PubmedAbstractRequest from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return cls.model_validate(obj)
|
|
81
|
+
|
|
82
|
+
_obj = cls.model_validate({
|
|
83
|
+
"pmid": obj.get("pmid")
|
|
84
|
+
})
|
|
85
|
+
return _obj
|
|
86
|
+
|
|
87
|
+
|
{ncbi_datasets_pyclient-18.15.0.dist-info → ncbi_datasets_pyclient-18.16.0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ncbi-datasets-pyclient
|
|
3
|
-
Version: 18.
|
|
3
|
+
Version: 18.16.0
|
|
4
4
|
Summary: NCBI Datasets API
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: NCBI
|
|
@@ -25,7 +25,7 @@ The NCBI Datasets version 2 API is updated often to add new features, fix bugs,
|
|
|
25
25
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
26
26
|
|
|
27
27
|
- API version: v2
|
|
28
|
-
- Package version: v18.
|
|
28
|
+
- Package version: v18.16.0
|
|
29
29
|
- Generator version: 7.19.0
|
|
30
30
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
31
31
|
|
|
@@ -235,6 +235,10 @@ Class | Method | HTTP request | Description
|
|
|
235
235
|
- [Ncbigsupgcolv2ChromosomeType](docs/Ncbigsupgcolv2ChromosomeType.md)
|
|
236
236
|
- [Ncbigsupgcolv2SequenceAccessionRequest](docs/Ncbigsupgcolv2SequenceAccessionRequest.md)
|
|
237
237
|
- [Ncbiprotddv2ChainFootprint](docs/Ncbiprotddv2ChainFootprint.md)
|
|
238
|
+
- [Ncbiprotddv2ParsedAbstract](docs/Ncbiprotddv2ParsedAbstract.md)
|
|
239
|
+
- [Ncbiprotddv2ParsedAbstractAuthor](docs/Ncbiprotddv2ParsedAbstractAuthor.md)
|
|
240
|
+
- [Ncbiprotddv2ParsedAbstractEpub](docs/Ncbiprotddv2ParsedAbstractEpub.md)
|
|
241
|
+
- [Ncbiprotddv2PubmedAbstractRequest](docs/Ncbiprotddv2PubmedAbstractRequest.md)
|
|
238
242
|
- [Ncbiprotddv2QueryStructureDefinition](docs/Ncbiprotddv2QueryStructureDefinition.md)
|
|
239
243
|
- [Ncbiprotddv2RedundancyLevel](docs/Ncbiprotddv2RedundancyLevel.md)
|
|
240
244
|
- [Ncbiprotddv2SdidRequest](docs/Ncbiprotddv2SdidRequest.md)
|
{ncbi_datasets_pyclient-18.15.0.dist-info → ncbi_datasets_pyclient-18.16.0.dist-info}/RECORD
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
ncbi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
ncbi/datasets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
ncbi/datasets/openapi/__init__.py,sha256=
|
|
4
|
-
ncbi/datasets/openapi/api_client.py,sha256=
|
|
3
|
+
ncbi/datasets/openapi/__init__.py,sha256=Mk-PsvR8LqQmve3jMMCQWtz-dVT_zzwIIDdWFqv-HHc,50329
|
|
4
|
+
ncbi/datasets/openapi/api_client.py,sha256=lpW-JVIvLU_n1Dz15PkaF06YojCJq55U7WDlOAVOij8,27914
|
|
5
5
|
ncbi/datasets/openapi/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
6
|
-
ncbi/datasets/openapi/configuration.py,sha256=
|
|
6
|
+
ncbi/datasets/openapi/configuration.py,sha256=JvrWml71inPlC5aeD4B2LwvTyupoAzHNFOUIf6BdAWE,19631
|
|
7
7
|
ncbi/datasets/openapi/exceptions.py,sha256=xadY9SBMaA6_xxeVXrQxSZ0HAZzTsGyLV2K0FvEcyyM,6618
|
|
8
8
|
ncbi/datasets/openapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
ncbi/datasets/openapi/rest.py,sha256=Ctofd5lL4uvuj0TGuAZJCuow61p24oeTTwncy8HlnuU,9742
|
|
@@ -11,12 +11,12 @@ ncbi/datasets/openapi/api/__init__.py,sha256=2VCn5BqhrzOpHK-aKjTkyqdMh8X0NQdS_cr
|
|
|
11
11
|
ncbi/datasets/openapi/api/bio_sample_api.py,sha256=nvtfxO09Nb7ewWRsytXl0d1isnc4Mc8h7_AKNYVEvdM,12032
|
|
12
12
|
ncbi/datasets/openapi/api/gene_api.py,sha256=N3zPvT7mDP3oTOnexBop50xsDotuEEd5UjRYRF0gkkQ,542577
|
|
13
13
|
ncbi/datasets/openapi/api/genome_api.py,sha256=Dmrp1zfeDn3-4j8CFthi-UQSjstKEEiKeLcD56kxh8g,616583
|
|
14
|
-
ncbi/datasets/openapi/api/organelle_api.py,sha256=
|
|
14
|
+
ncbi/datasets/openapi/api/organelle_api.py,sha256=pByg846dvlCrCgTAjn5BE8LJ4ZdUylLNnRMhe-nkzMQ,85182
|
|
15
15
|
ncbi/datasets/openapi/api/prokaryote_api.py,sha256=dtb8wb05CoP5May7PgQlJjZEQVhdKFFWIDp3llsOvKE,29531
|
|
16
16
|
ncbi/datasets/openapi/api/taxonomy_api.py,sha256=KoTvpjVcCaudZ54iyNyla6b9iAYTfRIag8eYeTQ1otw,265686
|
|
17
17
|
ncbi/datasets/openapi/api/version_api.py,sha256=-u0LbcBTWXEdvjFMVC7B58W-7dp16GKHeB8kqK6FQ7Q,10525
|
|
18
|
-
ncbi/datasets/openapi/api/virus_api.py,sha256=
|
|
19
|
-
ncbi/datasets/openapi/models/__init__.py,sha256=
|
|
18
|
+
ncbi/datasets/openapi/api/virus_api.py,sha256=aC_wIFVF5MvkWiJv02qrP_421mmwMdM23GQprmVYqPk,380049
|
|
19
|
+
ncbi/datasets/openapi/models/__init__.py,sha256=YLQgH5oE0T4aZRi05cZvEHdnKJAJj8aw5YQ20h-SXsw,29519
|
|
20
20
|
ncbi/datasets/openapi/models/ncbigsupgcolv2_assembly_accessions_reply.py,sha256=AWUYTpLsvzXhoSSwP5tPasPLXaJBBESZDxXW6zht6OA,2697
|
|
21
21
|
ncbi/datasets/openapi/models/ncbigsupgcolv2_assembly_check_m_histogram_request.py,sha256=FayH7_ZcZQUha4Ur3IJGWms9ssMIj7bqNhQgo7NVX8s,2707
|
|
22
22
|
ncbi/datasets/openapi/models/ncbigsupgcolv2_assembly_data_report_draft_request.py,sha256=6hMfNGZTpCfUG1J2XdW_hnlwwwbE0jo5Xja8y_2sYjY,2881
|
|
@@ -25,6 +25,10 @@ ncbi/datasets/openapi/models/ncbigsupgcolv2_chromosome_location.py,sha256=tYPeox
|
|
|
25
25
|
ncbi/datasets/openapi/models/ncbigsupgcolv2_chromosome_type.py,sha256=milNKqMiLuWC1sv4XppYbY_hZSK0NiHpDGNbIwAODkE,1039
|
|
26
26
|
ncbi/datasets/openapi/models/ncbigsupgcolv2_sequence_accession_request.py,sha256=6_NR49lU499HWOi-KunpLohSK-ao8nrHgrIPHozi7VI,2695
|
|
27
27
|
ncbi/datasets/openapi/models/ncbiprotddv2_chain_footprint.py,sha256=8_GuyO6jpuEenXMtfIbbzy2SxqcdsX-BWgNiCzUUeDE,2985
|
|
28
|
+
ncbi/datasets/openapi/models/ncbiprotddv2_parsed_abstract.py,sha256=TZInU3ClwzQ8YdfsE0hhh5GBs-JwJCUlbXkQvxsmxJY,3939
|
|
29
|
+
ncbi/datasets/openapi/models/ncbiprotddv2_parsed_abstract_author.py,sha256=IJlLBB6rAUbzN6XIHkqPNrZ0gaAtvD6AcyKfK-unilY,2805
|
|
30
|
+
ncbi/datasets/openapi/models/ncbiprotddv2_parsed_abstract_epub.py,sha256=t0GBYTTS9JrGgQNpZjCfqhdp1uk5KSrhktCqxMvnElQ,2924
|
|
31
|
+
ncbi/datasets/openapi/models/ncbiprotddv2_pubmed_abstract_request.py,sha256=rhSfqMPjIvRL6ukxmad9R63GxqrAjLzWZ4EyvNjdHkY,2655
|
|
28
32
|
ncbi/datasets/openapi/models/ncbiprotddv2_query_structure_definition.py,sha256=83S9XFg_tQXlGPS6N4XG-T_JBFU58HXfxVykZmllRb0,3188
|
|
29
33
|
ncbi/datasets/openapi/models/ncbiprotddv2_redundancy_level.py,sha256=RrPUzexOEwd4dFiGxG5NrKC2BHKIwP9uZJ_r0fK1IuQ,958
|
|
30
34
|
ncbi/datasets/openapi/models/ncbiprotddv2_sdid_request.py,sha256=5Hgvai33V7Gr0INCyvbDUJ2HqmSNkKOhHkvZRtEC_yI,2615
|
|
@@ -305,8 +309,8 @@ ncbi/datasets/openapi/models/v2reports_warning.py,sha256=ra1UBVPtnrtaV9oLkmfizs4
|
|
|
305
309
|
ncbi/datasets/openapi/models/v2reports_warning_gene_warning_code.py,sha256=6RDXn2v5GymCsGQMtoFVyp_x6qN_II3GKZRR5zsIEl8,1378
|
|
306
310
|
ncbi/datasets/openapi/models/v2reports_warning_replaced_id.py,sha256=MQh3OXNaIEtRSYq0sp-V3FqfD8qHra0dp-va3xsHG4I,2745
|
|
307
311
|
ncbi/datasets/openapi/models/v2reports_wgs_info.py,sha256=LDWjSZgSVmdUg894kdeBsOCIHWmQUKrA90_4ktnmM2o,2903
|
|
308
|
-
ncbi_datasets_pyclient-18.
|
|
309
|
-
ncbi_datasets_pyclient-18.
|
|
310
|
-
ncbi_datasets_pyclient-18.
|
|
311
|
-
ncbi_datasets_pyclient-18.
|
|
312
|
-
ncbi_datasets_pyclient-18.
|
|
312
|
+
ncbi_datasets_pyclient-18.16.0.dist-info/licenses/LICENSE,sha256=4hywPAiqr3WLJWIV6zs2wK9aCcBUQVRwLJWPi2AegMk,1501
|
|
313
|
+
ncbi_datasets_pyclient-18.16.0.dist-info/METADATA,sha256=AP2LaYOJieATr3Wr82SGkEeVup-mANtfzo1PZ5y4SUU,44885
|
|
314
|
+
ncbi_datasets_pyclient-18.16.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
315
|
+
ncbi_datasets_pyclient-18.16.0.dist-info/top_level.txt,sha256=nraz3S7SoUNG6x6jm3du082BqAAEJWm-Jm5TmKNo320,5
|
|
316
|
+
ncbi_datasets_pyclient-18.16.0.dist-info/RECORD,,
|
|
File without changes
|
{ncbi_datasets_pyclient-18.15.0.dist-info → ncbi_datasets_pyclient-18.16.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|