Skip to content

Commit 7b697d3

Browse files
ci: add clients [skip actions]
1 parent af683b6 commit 7b697d3

61 files changed

Lines changed: 273 additions & 313 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

aind-smartsheet-service-async-client/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Service to pull data from SmartSheet.
88

99
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
1010

11-
- API version: 0.1.4
12-
- Package version: 0.1.4
11+
- API version: 0.1.5
12+
- Package version: 0.1.5
1313
- Generator version: 7.13.0
1414
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1515

@@ -69,15 +69,15 @@ configuration = aind_smartsheet_service_async_client.Configuration(
6969

7070

7171
# Enter a context with an instance of the API client
72-
with aind_smartsheet_service_async_client.ApiClient(configuration) as api_client:
72+
async with aind_smartsheet_service_async_client.ApiClient(configuration) as api_client:
7373
# Create an instance of the API class
7474
api_instance = aind_smartsheet_service_async_client.DefaultApi(api_client)
7575
project_name = 'Discovery-Neuromodulator circuit dynamics during foraging' # str | (optional)
7676
subproject = 'Subproject 2 Molecular Anatomy Cell Types' # str | (optional)
7777

7878
try:
7979
# Get Funding
80-
api_response = api_instance.get_funding(project_name=project_name, subproject=subproject)
80+
api_response = await api_instance.get_funding(project_name=project_name, subproject=subproject)
8181
print("The response of DefaultApi->get_funding:\n")
8282
pprint(api_response)
8383
except ApiException as e:

aind-smartsheet-service-async-client/aind_smartsheet_service_async_client/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
88
## aind-smartsheet-service Service to pull data from SmartSheet.
99
10-
The version of the OpenAPI document: 0.1.4
10+
The version of the OpenAPI document: 0.1.5
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
1414
""" # noqa: E501
1515

1616

17-
__version__ = "0.1.4"
17+
__version__ = "0.1.5"
1818

1919
# import apis into sdk package
2020
from aind_smartsheet_service_async_client.api.default_api import DefaultApi

aind-smartsheet-service-async-client/aind_smartsheet_service_async_client/api/default_api.py

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
## aind-smartsheet-service Service to pull data from SmartSheet.
77
8-
The version of the OpenAPI document: 0.1.4
8+
The version of the OpenAPI document: 0.1.5
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -41,7 +41,7 @@ def __init__(self, api_client=None) -> None:
4141

4242

4343
@validate_call
44-
def get_funding(
44+
async def get_funding(
4545
self,
4646
project_name: Optional[StrictStr] = None,
4747
subproject: Optional[StrictStr] = None,
@@ -101,19 +101,19 @@ def get_funding(
101101
'200': "List[FundingModel]",
102102
'422': "HTTPValidationError",
103103
}
104-
response_data = self.api_client.call_api(
104+
response_data = await self.api_client.call_api(
105105
*_param,
106106
_request_timeout=_request_timeout
107107
)
108-
response_data.read()
108+
await response_data.read()
109109
return self.api_client.response_deserialize(
110110
response_data=response_data,
111111
response_types_map=_response_types_map,
112112
).data
113113

114114

115115
@validate_call
116-
def get_funding_with_http_info(
116+
async def get_funding_with_http_info(
117117
self,
118118
project_name: Optional[StrictStr] = None,
119119
subproject: Optional[StrictStr] = None,
@@ -173,19 +173,19 @@ def get_funding_with_http_info(
173173
'200': "List[FundingModel]",
174174
'422': "HTTPValidationError",
175175
}
176-
response_data = self.api_client.call_api(
176+
response_data = await self.api_client.call_api(
177177
*_param,
178178
_request_timeout=_request_timeout
179179
)
180-
response_data.read()
180+
await response_data.read()
181181
return self.api_client.response_deserialize(
182182
response_data=response_data,
183183
response_types_map=_response_types_map,
184184
)
185185

186186

187187
@validate_call
188-
def get_funding_without_preload_content(
188+
async def get_funding_without_preload_content(
189189
self,
190190
project_name: Optional[StrictStr] = None,
191191
subproject: Optional[StrictStr] = None,
@@ -245,7 +245,7 @@ def get_funding_without_preload_content(
245245
'200': "List[FundingModel]",
246246
'422': "HTTPValidationError",
247247
}
248-
response_data = self.api_client.call_api(
248+
response_data = await self.api_client.call_api(
249249
*_param,
250250
_request_timeout=_request_timeout
251251
)
@@ -323,7 +323,7 @@ def _get_funding_serialize(
323323

324324

325325
@validate_call
326-
def get_perfusions(
326+
async def get_perfusions(
327327
self,
328328
subject_id: Optional[StrictStr] = None,
329329
_request_timeout: Union[
@@ -379,19 +379,19 @@ def get_perfusions(
379379
'200': "List[PerfusionsModel]",
380380
'422': "HTTPValidationError",
381381
}
382-
response_data = self.api_client.call_api(
382+
response_data = await self.api_client.call_api(
383383
*_param,
384384
_request_timeout=_request_timeout
385385
)
386-
response_data.read()
386+
await response_data.read()
387387
return self.api_client.response_deserialize(
388388
response_data=response_data,
389389
response_types_map=_response_types_map,
390390
).data
391391

392392

393393
@validate_call
394-
def get_perfusions_with_http_info(
394+
async def get_perfusions_with_http_info(
395395
self,
396396
subject_id: Optional[StrictStr] = None,
397397
_request_timeout: Union[
@@ -447,19 +447,19 @@ def get_perfusions_with_http_info(
447447
'200': "List[PerfusionsModel]",
448448
'422': "HTTPValidationError",
449449
}
450-
response_data = self.api_client.call_api(
450+
response_data = await self.api_client.call_api(
451451
*_param,
452452
_request_timeout=_request_timeout
453453
)
454-
response_data.read()
454+
await response_data.read()
455455
return self.api_client.response_deserialize(
456456
response_data=response_data,
457457
response_types_map=_response_types_map,
458458
)
459459

460460

461461
@validate_call
462-
def get_perfusions_without_preload_content(
462+
async def get_perfusions_without_preload_content(
463463
self,
464464
subject_id: Optional[StrictStr] = None,
465465
_request_timeout: Union[
@@ -515,7 +515,7 @@ def get_perfusions_without_preload_content(
515515
'200': "List[PerfusionsModel]",
516516
'422': "HTTPValidationError",
517517
}
518-
response_data = self.api_client.call_api(
518+
response_data = await self.api_client.call_api(
519519
*_param,
520520
_request_timeout=_request_timeout
521521
)
@@ -588,7 +588,7 @@ def _get_perfusions_serialize(
588588

589589

590590
@validate_call
591-
def get_project_names(
591+
async def get_project_names(
592592
self,
593593
_request_timeout: Union[
594594
None,
@@ -639,19 +639,19 @@ def get_project_names(
639639
_response_types_map: Dict[str, Optional[str]] = {
640640
'200': "List[Optional[str]]",
641641
}
642-
response_data = self.api_client.call_api(
642+
response_data = await self.api_client.call_api(
643643
*_param,
644644
_request_timeout=_request_timeout
645645
)
646-
response_data.read()
646+
await response_data.read()
647647
return self.api_client.response_deserialize(
648648
response_data=response_data,
649649
response_types_map=_response_types_map,
650650
).data
651651

652652

653653
@validate_call
654-
def get_project_names_with_http_info(
654+
async def get_project_names_with_http_info(
655655
self,
656656
_request_timeout: Union[
657657
None,
@@ -702,19 +702,19 @@ def get_project_names_with_http_info(
702702
_response_types_map: Dict[str, Optional[str]] = {
703703
'200': "List[Optional[str]]",
704704
}
705-
response_data = self.api_client.call_api(
705+
response_data = await self.api_client.call_api(
706706
*_param,
707707
_request_timeout=_request_timeout
708708
)
709-
response_data.read()
709+
await response_data.read()
710710
return self.api_client.response_deserialize(
711711
response_data=response_data,
712712
response_types_map=_response_types_map,
713713
)
714714

715715

716716
@validate_call
717-
def get_project_names_without_preload_content(
717+
async def get_project_names_without_preload_content(
718718
self,
719719
_request_timeout: Union[
720720
None,
@@ -765,7 +765,7 @@ def get_project_names_without_preload_content(
765765
_response_types_map: Dict[str, Optional[str]] = {
766766
'200': "List[Optional[str]]",
767767
}
768-
response_data = self.api_client.call_api(
768+
response_data = await self.api_client.call_api(
769769
*_param,
770770
_request_timeout=_request_timeout
771771
)
@@ -833,7 +833,7 @@ def _get_project_names_serialize(
833833

834834

835835
@validate_call
836-
def get_protocols(
836+
async def get_protocols(
837837
self,
838838
protocol_name: Optional[StrictStr] = None,
839839
_request_timeout: Union[
@@ -889,19 +889,19 @@ def get_protocols(
889889
'200': "List[ProtocolsModel]",
890890
'422': "HTTPValidationError",
891891
}
892-
response_data = self.api_client.call_api(
892+
response_data = await self.api_client.call_api(
893893
*_param,
894894
_request_timeout=_request_timeout
895895
)
896-
response_data.read()
896+
await response_data.read()
897897
return self.api_client.response_deserialize(
898898
response_data=response_data,
899899
response_types_map=_response_types_map,
900900
).data
901901

902902

903903
@validate_call
904-
def get_protocols_with_http_info(
904+
async def get_protocols_with_http_info(
905905
self,
906906
protocol_name: Optional[StrictStr] = None,
907907
_request_timeout: Union[
@@ -957,19 +957,19 @@ def get_protocols_with_http_info(
957957
'200': "List[ProtocolsModel]",
958958
'422': "HTTPValidationError",
959959
}
960-
response_data = self.api_client.call_api(
960+
response_data = await self.api_client.call_api(
961961
*_param,
962962
_request_timeout=_request_timeout
963963
)
964-
response_data.read()
964+
await response_data.read()
965965
return self.api_client.response_deserialize(
966966
response_data=response_data,
967967
response_types_map=_response_types_map,
968968
)
969969

970970

971971
@validate_call
972-
def get_protocols_without_preload_content(
972+
async def get_protocols_without_preload_content(
973973
self,
974974
protocol_name: Optional[StrictStr] = None,
975975
_request_timeout: Union[
@@ -1025,7 +1025,7 @@ def get_protocols_without_preload_content(
10251025
'200': "List[ProtocolsModel]",
10261026
'422': "HTTPValidationError",
10271027
}
1028-
response_data = self.api_client.call_api(
1028+
response_data = await self.api_client.call_api(
10291029
*_param,
10301030
_request_timeout=_request_timeout
10311031
)

aind-smartsheet-service-async-client/aind_smartsheet_service_async_client/api/healthcheck_api.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
## aind-smartsheet-service Service to pull data from SmartSheet.
77
8-
The version of the OpenAPI document: 0.1.4
8+
The version of the OpenAPI document: 0.1.5
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -37,7 +37,7 @@ def __init__(self, api_client=None) -> None:
3737

3838

3939
@validate_call
40-
def get_health(
40+
async def get_health(
4141
self,
4242
_request_timeout: Union[
4343
None,
@@ -88,19 +88,19 @@ def get_health(
8888
_response_types_map: Dict[str, Optional[str]] = {
8989
'200': "HealthCheck",
9090
}
91-
response_data = self.api_client.call_api(
91+
response_data = await self.api_client.call_api(
9292
*_param,
9393
_request_timeout=_request_timeout
9494
)
95-
response_data.read()
95+
await response_data.read()
9696
return self.api_client.response_deserialize(
9797
response_data=response_data,
9898
response_types_map=_response_types_map,
9999
).data
100100

101101

102102
@validate_call
103-
def get_health_with_http_info(
103+
async def get_health_with_http_info(
104104
self,
105105
_request_timeout: Union[
106106
None,
@@ -151,19 +151,19 @@ def get_health_with_http_info(
151151
_response_types_map: Dict[str, Optional[str]] = {
152152
'200': "HealthCheck",
153153
}
154-
response_data = self.api_client.call_api(
154+
response_data = await self.api_client.call_api(
155155
*_param,
156156
_request_timeout=_request_timeout
157157
)
158-
response_data.read()
158+
await response_data.read()
159159
return self.api_client.response_deserialize(
160160
response_data=response_data,
161161
response_types_map=_response_types_map,
162162
)
163163

164164

165165
@validate_call
166-
def get_health_without_preload_content(
166+
async def get_health_without_preload_content(
167167
self,
168168
_request_timeout: Union[
169169
None,
@@ -214,7 +214,7 @@ def get_health_without_preload_content(
214214
_response_types_map: Dict[str, Optional[str]] = {
215215
'200': "HealthCheck",
216216
}
217-
response_data = self.api_client.call_api(
217+
response_data = await self.api_client.call_api(
218218
*_param,
219219
_request_timeout=_request_timeout
220220
)

0 commit comments

Comments
 (0)