Skip to content

Commit f16de12

Browse files
committed
init checkin
1 parent 6a32214 commit f16de12

Some content is hidden

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

61 files changed

+7562
-0
lines changed

.github/workflows/python.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
5+
6+
name: openapi_client Python package
7+
8+
on: [push, pull_request]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install flake8 pytest
28+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
30+
- name: Lint with flake8
31+
run: |
32+
# stop the build if there are Python syntax errors or undefined names
33+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
35+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
36+
- name: Test with pytest
37+
run: |
38+
pytest

.gitignore

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*,cover
46+
.hypothesis/
47+
venv/
48+
.venv/
49+
.python-version
50+
.pytest_cache
51+
52+
# Translations
53+
*.mo
54+
*.pot
55+
56+
# Django stuff:
57+
*.log
58+
59+
# Sphinx documentation
60+
docs/_build/
61+
62+
# PyBuilder
63+
target/
64+
65+
#Ipython Notebook
66+
.ipynb_checkpoints

.gitlab-ci.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.gitlab.com/ee/ci/README.html
5+
# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml
6+
7+
stages:
8+
- test
9+
10+
.pytest:
11+
stage: test
12+
script:
13+
- pip install -r requirements.txt
14+
- pip install -r test-requirements.txt
15+
- pytest --cov=openapi_client
16+
17+
pytest-3.7:
18+
extends: .pytest
19+
image: python:3.7-alpine
20+
pytest-3.8:
21+
extends: .pytest
22+
image: python:3.8-alpine
23+
pytest-3.9:
24+
extends: .pytest
25+
image: python:3.9-alpine
26+
pytest-3.10:
27+
extends: .pytest
28+
image: python:3.10-alpine
29+
pytest-3.11:
30+
extends: .pytest
31+
image: python:3.11-alpine

.openapi-generator-ignore

+23
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

.openapi-generator/FILES

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
.github/workflows/python.yml
2+
.gitignore
3+
.gitlab-ci.yml
4+
.openapi-generator-ignore
5+
.travis.yml
6+
README.md
7+
docs/AuthenticationApi.md
8+
docs/Error.md
9+
docs/ErrorMessage.md
10+
docs/FileOperationsApi.md
11+
docs/LSFCLIResult.md
12+
docs/LSFCluster.md
13+
docs/LSFClusterApi.md
14+
docs/PingApi.md
15+
docs/Repositories.md
16+
docs/RepositoryBean.md
17+
docs/ReturnMessage.md
18+
docs/Session.md
19+
docs/TreeNode.md
20+
docs/User.md
21+
git_push.sh
22+
openapi_client/__init__.py
23+
openapi_client/api/__init__.py
24+
openapi_client/api/authentication_api.py
25+
openapi_client/api/file_operations_api.py
26+
openapi_client/api/lsf_cluster_api.py
27+
openapi_client/api/ping_api.py
28+
openapi_client/api_client.py
29+
openapi_client/api_response.py
30+
openapi_client/configuration.py
31+
openapi_client/exceptions.py
32+
openapi_client/models/__init__.py
33+
openapi_client/models/error.py
34+
openapi_client/models/error_message.py
35+
openapi_client/models/lsf_cluster.py
36+
openapi_client/models/lsfcli_result.py
37+
openapi_client/models/repositories.py
38+
openapi_client/models/repository_bean.py
39+
openapi_client/models/return_message.py
40+
openapi_client/models/session.py
41+
openapi_client/models/tree_node.py
42+
openapi_client/models/user.py
43+
openapi_client/py.typed
44+
openapi_client/rest.py
45+
pyproject.toml
46+
requirements.txt
47+
setup.cfg
48+
setup.py
49+
test-requirements.txt
50+
test/__init__.py
51+
test/test_authentication_api.py
52+
test/test_error.py
53+
test/test_error_message.py
54+
test/test_file_operations_api.py
55+
test/test_lsf_cluster.py
56+
test/test_lsf_cluster_api.py
57+
test/test_lsfcli_result.py
58+
test/test_ping_api.py
59+
test/test_repositories.py
60+
test/test_repository_bean.py
61+
test/test_return_message.py
62+
test/test_session.py
63+
test/test_tree_node.py
64+
test/test_user.py
65+
tox.ini

.openapi-generator/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.6.0-SNAPSHOT

.travis.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ref: https://docs.travis-ci.com/user/languages/python
2+
language: python
3+
python:
4+
- "3.7"
5+
- "3.8"
6+
- "3.9"
7+
- "3.10"
8+
- "3.11"
9+
# uncomment the following if needed
10+
#- "3.11-dev" # 3.11 development branch
11+
#- "nightly" # nightly build
12+
# command to install dependencies
13+
install:
14+
- "pip install -r requirements.txt"
15+
- "pip install -r test-requirements.txt"
16+
# command to run tests
17+
script: pytest --cov=openapi_client

0 commit comments

Comments
 (0)