Skip to content

Commit

Permalink
Version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Oct 8, 2024
1 parent a0021ea commit 9099797
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 13 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
This repository contains client libraries for the [_ChRIS_ backend](https://github.com/fnndsc/ChRIS_ultron_backEnd)
created using the [OpenAPI generator](https://openapi-generator.tech/).

## Documentation

| Package | Language | Description |
|----------------|----------|-------------------------------------------------|
| [aiochris-oag] | Python | Python client based on [asyncio] and [aiohttp]. |
| [chris-oag] | Python | Python client based on [urllib3]. |

[aiochris-oag]: ./python-async/README.md
[chris-oag]: ./python/README.md
[asyncio]: https://docs.python.org/3/library/asyncio.html
[aiohttp]: https://docs.aiohttp.org
[urllib3]: https://urllib3.readthedocs.io

## Releasing

It would be nice for this to be fully automated, but currently it is not. https://github.com/FNNDSC/ChRIS_ultron_backEnd/issues/587
Expand Down
2 changes: 1 addition & 1 deletion python-async/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The ChRIS Ultron BackEnd (CUBE) is the core backend API of ChRIS. It manages ChR
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: ${GITHUB_REF_NAME:1}
- Package version: 0.1.0b1
- Package version: 0.0.1
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://chrisproject.org](https://chrisproject.org)
Expand Down
2 changes: 1 addition & 1 deletion python-async/aiochris_oag/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "0.1.0b1"
__version__ = "0.0.1"

# import apis into sdk package
from aiochris_oag.api.auth_token_api import AuthTokenApi
Expand Down
2 changes: 1 addition & 1 deletion python-async/aiochris_oag/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/0.1.0b1/python'
self.user_agent = 'OpenAPI-Generator/0.0.1/python'
self.client_side_validation = configuration.client_side_validation

async def __aenter__(self):
Expand Down
2 changes: 1 addition & 1 deletion python-async/aiochris_oag/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: ${GITHUB_REF_NAME:1}\n"\
"SDK Package Version: 0.1.0b1".\
"SDK Package Version: 0.0.1".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion python-async/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "aiochris_oag"
version = "0.1.0b1"
version = "0.0.1"
description = "ChRIS Research Integration System: Ultron BackEnd (CUBE) API"
authors = ["Fetal-Neonatal Neuroimaging Developmental Science Center <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion python-async/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "aiochris-oag"
VERSION = "0.1.0b1"
VERSION = "0.0.1"
PYTHON_REQUIRES = ">= 3.8"
REQUIRES = [
"urllib3 >= 1.25.3, < 3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The ChRIS Ultron BackEnd (CUBE) is the core backend API of ChRIS. It manages ChR
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: ${GITHUB_REF_NAME:1}
- Package version: 0.1.0b1
- Package version: 0.0.1
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://chrisproject.org](https://chrisproject.org)
Expand Down
2 changes: 1 addition & 1 deletion python/chris_oag/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "0.1.0b1"
__version__ = "0.0.1"

# import apis into sdk package
from chris_oag.api.auth_token_api import AuthTokenApi
Expand Down
2 changes: 1 addition & 1 deletion python/chris_oag/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/0.1.0b1/python'
self.user_agent = 'OpenAPI-Generator/0.0.1/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion python/chris_oag/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: ${GITHUB_REF_NAME:1}\n"\
"SDK Package Version: 0.1.0b1".\
"SDK Package Version: 0.0.1".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "chris_oag"
version = "0.1.0b1"
version = "0.0.1"
description = "ChRIS Research Integration System: Ultron BackEnd (CUBE) API"
authors = ["Fetal-Neonatal Neuroimaging Developmental Science Center <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "chris-oag"
VERSION = "0.1.0b1"
VERSION = "0.0.1"
PYTHON_REQUIRES = ">= 3.8"
REQUIRES = [
"urllib3 >= 1.25.3, < 3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0-beta.1
0.0.1

0 comments on commit 9099797

Please sign in to comment.