Skip to content

Commit 30a7ff5

Browse files
ci: add clients [skip actions]
1 parent b9058d6 commit 30a7ff5

118 files changed

Lines changed: 7773 additions & 63 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
.github/workflows/python.yml
2+
.gitignore
3+
.gitlab-ci.yml
4+
.openapi-generator-ignore
5+
.travis.yml
6+
README.md
7+
aind_tars_service_async_client/__init__.py
8+
aind_tars_service_async_client/api/__init__.py
9+
aind_tars_service_async_client/api/default_api.py
10+
aind_tars_service_async_client/api/healthcheck_api.py
11+
aind_tars_service_async_client/api_client.py
12+
aind_tars_service_async_client/api_response.py
13+
aind_tars_service_async_client/configuration.py
14+
aind_tars_service_async_client/exceptions.py
15+
aind_tars_service_async_client/models/__init__.py
16+
aind_tars_service_async_client/models/alias.py
17+
aind_tars_service_async_client/models/health_check.py
18+
aind_tars_service_async_client/models/http_validation_error.py
19+
aind_tars_service_async_client/models/molecule_data.py
20+
aind_tars_service_async_client/models/molecule_type.py
21+
aind_tars_service_async_client/models/prep_lot_data.py
22+
aind_tars_service_async_client/models/species.py
23+
aind_tars_service_async_client/models/targeted_cell_population.py
24+
aind_tars_service_async_client/models/targeted_roi.py
25+
aind_tars_service_async_client/models/titers.py
26+
aind_tars_service_async_client/models/validation_error.py
27+
aind_tars_service_async_client/models/validation_error_loc_inner.py
28+
aind_tars_service_async_client/models/viral_prep.py
29+
aind_tars_service_async_client/models/viral_prep_type.py
30+
aind_tars_service_async_client/models/virus_data.py
31+
aind_tars_service_async_client/py.typed
32+
aind_tars_service_async_client/rest.py
33+
docs/Alias.md
34+
docs/DefaultApi.md
35+
docs/HTTPValidationError.md
36+
docs/HealthCheck.md
37+
docs/HealthcheckApi.md
38+
docs/MoleculeData.md
39+
docs/MoleculeType.md
40+
docs/PrepLotData.md
41+
docs/Species.md
42+
docs/TargetedCellPopulation.md
43+
docs/TargetedRoi.md
44+
docs/Titers.md
45+
docs/ValidationError.md
46+
docs/ValidationErrorLocInner.md
47+
docs/ViralPrep.md
48+
docs/ViralPrepType.md
49+
docs/VirusData.md
50+
git_push.sh
51+
pyproject.toml
52+
requirements.txt
53+
setup.cfg
54+
setup.py
55+
test-requirements.txt
56+
test/__init__.py
57+
test/test_alias.py
58+
test/test_default_api.py
59+
test/test_health_check.py
60+
test/test_healthcheck_api.py
61+
test/test_http_validation_error.py
62+
test/test_molecule_data.py
63+
test/test_molecule_type.py
64+
test/test_prep_lot_data.py
65+
test/test_species.py
66+
test/test_targeted_cell_population.py
67+
test/test_targeted_roi.py
68+
test/test_titers.py
69+
test/test_validation_error.py
70+
test/test_validation_error_loc_inner.py
71+
test/test_viral_prep.py
72+
test/test_viral_prep_type.py
73+
test/test_virus_data.py
74+
tox.ini
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.13.0
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
# aind-tars-service-async-client
2+
3+
## aind-tars-service
4+
5+
Service to pull data from TARS.
6+
7+
8+
9+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
10+
11+
- API version: 0.0.2
12+
- Package version: 0.0.2
13+
- Generator version: 7.13.0
14+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
15+
16+
## Requirements.
17+
18+
Python 3.9+
19+
20+
## Installation & Usage
21+
### pip install
22+
23+
If the python package is hosted on a repository, you can install directly using:
24+
25+
```sh
26+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
27+
```
28+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
29+
30+
Then import the package:
31+
```python
32+
import aind_tars_service_async_client
33+
```
34+
35+
### Setuptools
36+
37+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
38+
39+
```sh
40+
python setup.py install --user
41+
```
42+
(or `sudo python setup.py install` to install the package for all users)
43+
44+
Then import the package:
45+
```python
46+
import aind_tars_service_async_client
47+
```
48+
49+
### Tests
50+
51+
Execute `pytest` to run the tests.
52+
53+
## Getting Started
54+
55+
Please follow the [installation procedure](#installation--usage) and then run the following:
56+
57+
```python
58+
59+
import aind_tars_service_async_client
60+
from aind_tars_service_async_client.rest import ApiException
61+
from pprint import pprint
62+
63+
# Defining the host is optional and defaults to http://localhost
64+
# See configuration.py for a list of all supported configuration parameters.
65+
configuration = aind_tars_service_async_client.Configuration(
66+
host = "http://localhost"
67+
)
68+
69+
70+
71+
# Enter a context with an instance of the API client
72+
async with aind_tars_service_async_client.ApiClient(configuration) as api_client:
73+
# Create an instance of the API class
74+
api_instance = aind_tars_service_async_client.DefaultApi(api_client)
75+
name = 'AiP20611' # str |
76+
page_size = 1 # int | Number of items to return in a single page. (optional) (default to 1)
77+
limit = 1 # int | Limit number of items returned. Set to 0 to return all. (optional) (default to 1)
78+
79+
try:
80+
# Get Molecules
81+
api_response = await api_instance.get_molecules(name, page_size=page_size, limit=limit)
82+
print("The response of DefaultApi->get_molecules:\n")
83+
pprint(api_response)
84+
except ApiException as e:
85+
print("Exception when calling DefaultApi->get_molecules: %s\n" % e)
86+
87+
```
88+
89+
## Documentation for API Endpoints
90+
91+
All URIs are relative to *http://localhost*
92+
93+
Class | Method | HTTP request | Description
94+
------------ | ------------- | ------------- | -------------
95+
*DefaultApi* | [**get_molecules**](docs/DefaultApi.md#get_molecules) | **GET** /molecules/{name} | Get Molecules
96+
*DefaultApi* | [**get_viral_prep_lots**](docs/DefaultApi.md#get_viral_prep_lots) | **GET** /viral_prep_lots/{lot} | Get Viral Prep Lots
97+
*DefaultApi* | [**get_viruses**](docs/DefaultApi.md#get_viruses) | **GET** /viruses/{name} | Get Viruses
98+
*HealthcheckApi* | [**get_health**](docs/HealthcheckApi.md#get_health) | **GET** /healthcheck | Perform a Health Check
99+
100+
101+
## Documentation For Models
102+
103+
- [Alias](docs/Alias.md)
104+
- [HTTPValidationError](docs/HTTPValidationError.md)
105+
- [HealthCheck](docs/HealthCheck.md)
106+
- [MoleculeData](docs/MoleculeData.md)
107+
- [MoleculeType](docs/MoleculeType.md)
108+
- [PrepLotData](docs/PrepLotData.md)
109+
- [Species](docs/Species.md)
110+
- [TargetedCellPopulation](docs/TargetedCellPopulation.md)
111+
- [TargetedRoi](docs/TargetedRoi.md)
112+
- [Titers](docs/Titers.md)
113+
- [ValidationError](docs/ValidationError.md)
114+
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
115+
- [ViralPrep](docs/ViralPrep.md)
116+
- [ViralPrepType](docs/ViralPrepType.md)
117+
- [VirusData](docs/VirusData.md)
118+
119+
120+
<a id="documentation-for-authorization"></a>
121+
## Documentation For Authorization
122+
123+
Endpoints do not require authorization.
124+
125+
126+
## Author
127+
128+
129+
130+
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
"""
6+
aind-tars-service
7+
8+
## aind-tars-service Service to pull data from TARS.
9+
10+
The version of the OpenAPI document: 0.0.2
11+
Generated by OpenAPI Generator (https://openapi-generator.tech)
12+
13+
Do not edit the class manually.
14+
""" # noqa: E501
15+
16+
17+
__version__ = "0.0.2"
18+
19+
# import apis into sdk package
20+
from aind_tars_service_async_client.api.default_api import DefaultApi
21+
from aind_tars_service_async_client.api.healthcheck_api import HealthcheckApi
22+
23+
# import ApiClient
24+
from aind_tars_service_async_client.api_response import ApiResponse
25+
from aind_tars_service_async_client.api_client import ApiClient
26+
from aind_tars_service_async_client.configuration import Configuration
27+
from aind_tars_service_async_client.exceptions import OpenApiException
28+
from aind_tars_service_async_client.exceptions import ApiTypeError
29+
from aind_tars_service_async_client.exceptions import ApiValueError
30+
from aind_tars_service_async_client.exceptions import ApiKeyError
31+
from aind_tars_service_async_client.exceptions import ApiAttributeError
32+
from aind_tars_service_async_client.exceptions import ApiException
33+
34+
# import models into sdk package
35+
from aind_tars_service_async_client.models.alias import Alias
36+
from aind_tars_service_async_client.models.http_validation_error import HTTPValidationError
37+
from aind_tars_service_async_client.models.health_check import HealthCheck
38+
from aind_tars_service_async_client.models.molecule_data import MoleculeData
39+
from aind_tars_service_async_client.models.molecule_type import MoleculeType
40+
from aind_tars_service_async_client.models.prep_lot_data import PrepLotData
41+
from aind_tars_service_async_client.models.species import Species
42+
from aind_tars_service_async_client.models.targeted_cell_population import TargetedCellPopulation
43+
from aind_tars_service_async_client.models.targeted_roi import TargetedRoi
44+
from aind_tars_service_async_client.models.titers import Titers
45+
from aind_tars_service_async_client.models.validation_error import ValidationError
46+
from aind_tars_service_async_client.models.validation_error_loc_inner import ValidationErrorLocInner
47+
from aind_tars_service_async_client.models.viral_prep import ViralPrep
48+
from aind_tars_service_async_client.models.viral_prep_type import ViralPrepType
49+
from aind_tars_service_async_client.models.virus_data import VirusData
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# flake8: noqa
2+
3+
# import apis into api package
4+
from aind_tars_service_async_client.api.default_api import DefaultApi
5+
from aind_tars_service_async_client.api.healthcheck_api import HealthcheckApi
6+

0 commit comments

Comments
 (0)