aind-dataverse-service-client 0.0.2__py3-none-any.whl → 0.0.3__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.
@@ -7,14 +7,14 @@
7
7
 
8
8
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
9
9
 
10
- The version of the OpenAPI document: 0.0.2
10
+ The version of the OpenAPI document: 0.0.3
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
13
13
  Do not edit the class manually.
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "0.0.2"
17
+ __version__ = "0.0.3"
18
18
 
19
19
  # import apis into sdk package
20
20
  from aind_dataverse_service_client.api.default_api import DefaultApi
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
7
7
 
8
- The version of the OpenAPI document: 0.0.2
8
+ The version of the OpenAPI document: 0.0.3
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
7
7
 
8
- The version of the OpenAPI document: 0.0.2
8
+ The version of the OpenAPI document: 0.0.3
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
7
7
 
8
- The version of the OpenAPI document: 0.0.2
8
+ The version of the OpenAPI document: 0.0.3
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -90,7 +90,7 @@ class ApiClient:
90
90
  self.default_headers[header_name] = header_value
91
91
  self.cookie = cookie
92
92
  # Set default User-Agent.
93
- self.user_agent = 'OpenAPI-Generator/0.0.2/python'
93
+ self.user_agent = 'OpenAPI-Generator/0.0.3/python'
94
94
  self.client_side_validation = configuration.client_side_validation
95
95
 
96
96
  def __enter__(self):
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
7
7
 
8
- The version of the OpenAPI document: 0.0.2
8
+ The version of the OpenAPI document: 0.0.3
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -500,8 +500,8 @@ class Configuration:
500
500
  return "Python SDK Debug Report:\n"\
501
501
  "OS: {env}\n"\
502
502
  "Python Version: {pyversion}\n"\
503
- "Version of the API: 0.0.2\n"\
504
- "SDK Package Version: 0.0.2".\
503
+ "Version of the API: 0.0.3\n"\
504
+ "SDK Package Version: 0.0.3".\
505
505
  format(env=sys.platform, pyversion=sys.version)
506
506
 
507
507
  def get_host_settings(self) -> List[HostSetting]:
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
7
7
 
8
- The version of the OpenAPI document: 0.0.2
8
+ The version of the OpenAPI document: 0.0.3
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
8
8
 
9
- The version of the OpenAPI document: 0.0.2
9
+ The version of the OpenAPI document: 0.0.3
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
12
12
  Do not edit the class manually.
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
7
7
 
8
- The version of the OpenAPI document: 0.0.2
8
+ The version of the OpenAPI document: 0.0.3
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
7
7
 
8
- The version of the OpenAPI document: 0.0.2
8
+ The version of the OpenAPI document: 0.0.3
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -27,7 +27,7 @@ class HealthCheck(BaseModel):
27
27
  Response model to validate and return when performing a health check.
28
28
  """ # noqa: E501
29
29
  status: Optional[StrictStr] = 'OK'
30
- service_version: Optional[StrictStr] = '0.0.2'
30
+ service_version: Optional[StrictStr] = '0.0.3'
31
31
  __properties: ClassVar[List[str]] = ["status", "service_version"]
32
32
 
33
33
  @field_validator('status')
@@ -92,7 +92,7 @@ class HealthCheck(BaseModel):
92
92
 
93
93
  _obj = cls.model_validate({
94
94
  "status": obj.get("status") if obj.get("status") is not None else 'OK',
95
- "service_version": obj.get("service_version") if obj.get("service_version") is not None else '0.0.2'
95
+ "service_version": obj.get("service_version") if obj.get("service_version") is not None else '0.0.3'
96
96
  })
97
97
  return _obj
98
98
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
7
7
 
8
- The version of the OpenAPI document: 0.0.2
8
+ The version of the OpenAPI document: 0.0.3
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
7
7
 
8
- The version of the OpenAPI document: 0.0.2
8
+ The version of the OpenAPI document: 0.0.3
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -18,7 +18,7 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, StrictStr
21
- from typing import Any, ClassVar, Dict, List
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
22
  from aind_dataverse_service_client.models.validation_error_loc_inner import ValidationErrorLocInner
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
@@ -30,7 +30,9 @@ class ValidationError(BaseModel):
30
30
  loc: List[ValidationErrorLocInner]
31
31
  msg: StrictStr
32
32
  type: StrictStr
33
- __properties: ClassVar[List[str]] = ["loc", "msg", "type"]
33
+ input: Optional[Any] = None
34
+ ctx: Optional[Dict[str, Any]] = None
35
+ __properties: ClassVar[List[str]] = ["loc", "msg", "type", "input", "ctx"]
34
36
 
35
37
  model_config = ConfigDict(
36
38
  populate_by_name=True,
@@ -78,6 +80,11 @@ class ValidationError(BaseModel):
78
80
  if _item_loc:
79
81
  _items.append(_item_loc.to_dict())
80
82
  _dict['loc'] = _items
83
+ # set to None if input (nullable) is None
84
+ # and model_fields_set contains the field
85
+ if self.input is None and "input" in self.model_fields_set:
86
+ _dict['input'] = None
87
+
81
88
  return _dict
82
89
 
83
90
  @classmethod
@@ -92,7 +99,9 @@ class ValidationError(BaseModel):
92
99
  _obj = cls.model_validate({
93
100
  "loc": [ValidationErrorLocInner.from_dict(_item) for _item in obj["loc"]] if obj.get("loc") is not None else None,
94
101
  "msg": obj.get("msg"),
95
- "type": obj.get("type")
102
+ "type": obj.get("type"),
103
+ "input": obj.get("input"),
104
+ "ctx": obj.get("ctx")
96
105
  })
97
106
  return _obj
98
107
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
7
7
 
8
- The version of the OpenAPI document: 0.0.2
8
+ The version of the OpenAPI document: 0.0.3
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## aind-dataverse-service Service to pull data from Allen Institute's Dataverse database.
7
7
 
8
- The version of the OpenAPI document: 0.0.2
8
+ The version of the OpenAPI document: 0.0.3
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aind-dataverse-service-client
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: aind-dataverse-service
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -0,0 +1,20 @@
1
+ aind_dataverse_service_client/__init__.py,sha256=VbSEFTD2-LUpdmuFMjHkHgbrHz-4WsEJfKDsfpYe35A,1623
2
+ aind_dataverse_service_client/api_client.py,sha256=Xm8laGVWuH9D2jDfAsh0Oe4kFzO3-pxPCFbp-i76ALY,27566
3
+ aind_dataverse_service_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
+ aind_dataverse_service_client/configuration.py,sha256=H8ENYp_W7QZjJD5KPkWtjWp3k6-SR2c5w_EZLHLWDaM,17935
5
+ aind_dataverse_service_client/exceptions.py,sha256=AaekEnRzX2n9IUxSAkbSZQIjGoyLqiyy4Qe7fygSAhY,6473
6
+ aind_dataverse_service_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ aind_dataverse_service_client/rest.py,sha256=oreRq_A1GzMlJZd9jYgJP1vg1Ht2LeNOyNDKEGqYupY,9485
8
+ aind_dataverse_service_client/api/__init__.py,sha256=UyNoqEogUB8bxcGGzou37uaoc89WqzpJZTbSKEXizdE,194
9
+ aind_dataverse_service_client/api/default_api.py,sha256=goMYgi471WKpHin-5u7-0KOxWZVa8ZM2mYKtGYIxWDg,21272
10
+ aind_dataverse_service_client/api/healthcheck_api.py,sha256=nOPWwoHSbBh_cgyVx02zqc3ja48B9l0YBB3E5eshnM0,10597
11
+ aind_dataverse_service_client/models/__init__.py,sha256=k4NljImsfgARKgT2_SQCb5rAXLWE0609EAbALHmMYE4,798
12
+ aind_dataverse_service_client/models/entity_table_row.py,sha256=2tnSA6fVUaIk3vh-t3ynJt2zkKCdgQUe3-hjdoD84cA,3714
13
+ aind_dataverse_service_client/models/health_check.py,sha256=AwvoOteS7e8cFdKSOkHwETHZDMfRKyLes1mxaKGUFVU,3082
14
+ aind_dataverse_service_client/models/http_validation_error.py,sha256=n1xGXuW-BfV7kB_6j-_eU4JU7nRLeXa2lIdvqL1QKW8,3021
15
+ aind_dataverse_service_client/models/validation_error.py,sha256=cfHPTq02uLwF9Mm-PesAIAukUqsxV8tRAjFpMCxI49s,3489
16
+ aind_dataverse_service_client/models/validation_error_loc_inner.py,sha256=UO6IQ5HrsC2plCAxPde6Z9U-oy-cpqkjZfNZ1YF8K3c,4887
17
+ aind_dataverse_service_client-0.0.3.dist-info/METADATA,sha256=2AHd_VmUxkZ7AzOk5hIyg3HQDpihPp2gkcP2WN0WWMI,689
18
+ aind_dataverse_service_client-0.0.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
19
+ aind_dataverse_service_client-0.0.3.dist-info/top_level.txt,sha256=OOXPiHqXNlxFZmHerzaYq3fD7Sw4walEhZZcvqe4VWs,30
20
+ aind_dataverse_service_client-0.0.3.dist-info/RECORD,,
@@ -1,20 +0,0 @@
1
- aind_dataverse_service_client/__init__.py,sha256=iTdAgA3k3ByEa0pMw-Fun9NNZ5aGw0bZpf2gVW9N2vY,1623
2
- aind_dataverse_service_client/api_client.py,sha256=UKgdXnisQC2uDxuNNOm08EfYg9fiiy5IPjKoG4x8AVs,27566
3
- aind_dataverse_service_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
4
- aind_dataverse_service_client/configuration.py,sha256=gsyK9kcXuBGdPSs7Ejj5e8pfQAQu0FlkgI8Ek-_218k,17935
5
- aind_dataverse_service_client/exceptions.py,sha256=Y7mL5HBO_1rf0NtPvfSjPsiU1RPFRsVpZ_zdIw8t8sg,6473
6
- aind_dataverse_service_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- aind_dataverse_service_client/rest.py,sha256=bRebe48SL30wtREVn9HqTUXMqIqle3bVBztpfGQFCMQ,9485
8
- aind_dataverse_service_client/api/__init__.py,sha256=UyNoqEogUB8bxcGGzou37uaoc89WqzpJZTbSKEXizdE,194
9
- aind_dataverse_service_client/api/default_api.py,sha256=8cGDn6KZLyHZw9tVuo8KuvVBUj255bf_cVlteqDN_VY,21272
10
- aind_dataverse_service_client/api/healthcheck_api.py,sha256=uM8b1lpFuFVtWLTGMlzlDA5JzhrtkihBsa5aWlpqLqA,10597
11
- aind_dataverse_service_client/models/__init__.py,sha256=qs8ATjXCgfBNjwZt4dg79oxAR-B0-WQWm-3Pme6i4yU,798
12
- aind_dataverse_service_client/models/entity_table_row.py,sha256=Cje8OKKaruclK-on3tn79jj73AVqBvvCAI6zmiC2FG8,3714
13
- aind_dataverse_service_client/models/health_check.py,sha256=PLX36_j1SNL296BFFV4mCRiL3UMcJ5v0blwk-dcSFds,3082
14
- aind_dataverse_service_client/models/http_validation_error.py,sha256=x-Z4Nz6zaU4xvaAyvqm-I5ofb9RIG-2YbroX3h7cxUc,3021
15
- aind_dataverse_service_client/models/validation_error.py,sha256=GNWXh4QXiA0uIxah2U2ubfeSSCUMYR6qEjhjXYTiO_I,3113
16
- aind_dataverse_service_client/models/validation_error_loc_inner.py,sha256=iDPzcwBzLUGq-GUfqR-0r9B9DaKFze4c1CtpSTLI_NA,4887
17
- aind_dataverse_service_client-0.0.2.dist-info/METADATA,sha256=Na_ZSq6BIOLTRK9ea7yFfyq25zuwo0ZdT_i9TaNjfOc,689
18
- aind_dataverse_service_client-0.0.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
19
- aind_dataverse_service_client-0.0.2.dist-info/top_level.txt,sha256=OOXPiHqXNlxFZmHerzaYq3fD7Sw4walEhZZcvqe4VWs,30
20
- aind_dataverse_service_client-0.0.2.dist-info/RECORD,,