aind-dataverse-service-async-client 0.0.2__tar.gz → 0.0.3__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.
Files changed (33) hide show
  1. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/PKG-INFO +1 -1
  2. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/README.md +2 -2
  3. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/__init__.py +2 -2
  4. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/api/default_api.py +1 -1
  5. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/api/healthcheck_api.py +1 -1
  6. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/api_client.py +2 -2
  7. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/configuration.py +3 -3
  8. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/exceptions.py +1 -1
  9. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/models/__init__.py +1 -1
  10. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/models/entity_table_row.py +1 -1
  11. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/models/health_check.py +3 -3
  12. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/models/http_validation_error.py +1 -1
  13. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/models/validation_error.py +13 -4
  14. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/models/validation_error_loc_inner.py +1 -1
  15. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/rest.py +1 -1
  16. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client.egg-info/PKG-INFO +1 -1
  17. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/pyproject.toml +1 -1
  18. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/setup.py +2 -2
  19. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/test/test_default_api.py +1 -1
  20. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/test/test_entity_table_row.py +1 -1
  21. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/test/test_health_check.py +2 -2
  22. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/test/test_healthcheck_api.py +1 -1
  23. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/test/test_http_validation_error.py +4 -2
  24. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/test/test_validation_error.py +4 -2
  25. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/test/test_validation_error_loc_inner.py +1 -1
  26. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/api/__init__.py +0 -0
  27. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/api_response.py +0 -0
  28. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client/py.typed +0 -0
  29. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client.egg-info/SOURCES.txt +0 -0
  30. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client.egg-info/dependency_links.txt +0 -0
  31. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client.egg-info/requires.txt +0 -0
  32. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/aind_dataverse_service_async_client.egg-info/top_level.txt +0 -0
  33. {aind_dataverse_service_async_client-0.0.2 → aind_dataverse_service_async_client-0.0.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aind-dataverse-service-async-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
@@ -8,8 +8,8 @@ Service to pull data from Allen Institute's Dataverse database.
8
8
 
9
9
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
10
10
 
11
- - API version: 0.0.2
12
- - Package version: 0.0.2
11
+ - API version: 0.0.3
12
+ - Package version: 0.0.3
13
13
  - Generator version: 7.13.0
14
14
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
15
15
 
@@ -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_async_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
  async def __aenter__(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.
@@ -496,8 +496,8 @@ class Configuration:
496
496
  return "Python SDK Debug Report:\n"\
497
497
  "OS: {env}\n"\
498
498
  "Python Version: {pyversion}\n"\
499
- "Version of the API: 0.0.2\n"\
500
- "SDK Package Version: 0.0.2".\
499
+ "Version of the API: 0.0.3\n"\
500
+ "SDK Package Version: 0.0.3".\
501
501
  format(env=sys.platform, pyversion=sys.version)
502
502
 
503
503
  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_async_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-async-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
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "aind_dataverse_service_async_client"
3
- version = "0.0.2"
3
+ version = "0.0.3"
4
4
  description = "aind-dataverse-service"
5
5
  authors = ["OpenAPI Generator Community <team@openapitools.org>"]
6
6
  license = "NoLicense"
@@ -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.
@@ -21,7 +21,7 @@ from setuptools import setup, find_packages # noqa: H301
21
21
  # prerequisite: setuptools
22
22
  # http://pypi.python.org/pypi/setuptools
23
23
  NAME = "aind-dataverse-service-async-client"
24
- VERSION = "0.0.2"
24
+ VERSION = "0.0.3"
25
25
  PYTHON_REQUIRES = ">= 3.9"
26
26
  REQUIRES = [
27
27
  "urllib3 >= 2.1.0, < 3.0.0",
@@ -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.
@@ -36,7 +36,7 @@ class TestHealthCheck(unittest.TestCase):
36
36
  if include_optional:
37
37
  return HealthCheck(
38
38
  status = 'OK',
39
- service_version = '0.0.2'
39
+ service_version = '0.0.3'
40
40
  )
41
41
  else:
42
42
  return HealthCheck(
@@ -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.
@@ -41,7 +41,9 @@ class TestHTTPValidationError(unittest.TestCase):
41
41
  null
42
42
  ],
43
43
  msg = '',
44
- type = '', )
44
+ type = '',
45
+ input = null,
46
+ ctx = aind_dataverse_service_async_client.models.context.Context(), )
45
47
  ]
46
48
  )
47
49
  else:
@@ -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.
@@ -39,7 +39,9 @@ class TestValidationError(unittest.TestCase):
39
39
  null
40
40
  ],
41
41
  msg = '',
42
- type = ''
42
+ type = '',
43
+ input = None,
44
+ ctx = aind_dataverse_service_async_client.models.context.Context()
43
45
  )
44
46
  else:
45
47
  return ValidationError(
@@ -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.