Skip to content

Commit 95b560a

Browse files
committed
change api prefix to lsf_client
1 parent f16de12 commit 95b560a

Some content is hidden

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

55 files changed

+271
-270
lines changed

.github/workflows/python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
55

6-
name: openapi_client Python package
6+
name: lsf_client Python package
77

88
on: [push, pull_request]
99

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ stages:
1212
script:
1313
- pip install -r requirements.txt
1414
- pip install -r test-requirements.txt
15-
- pytest --cov=openapi_client
15+
- pytest --cov=lsf_client
1616

1717
pytest-3.7:
1818
extends: .pytest

.openapi-generator/FILES

+23-23
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,29 @@ docs/Session.md
1919
docs/TreeNode.md
2020
docs/User.md
2121
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
22+
lsf_client/__init__.py
23+
lsf_client/api/__init__.py
24+
lsf_client/api/authentication_api.py
25+
lsf_client/api/file_operations_api.py
26+
lsf_client/api/lsf_cluster_api.py
27+
lsf_client/api/ping_api.py
28+
lsf_client/api_client.py
29+
lsf_client/api_response.py
30+
lsf_client/configuration.py
31+
lsf_client/exceptions.py
32+
lsf_client/models/__init__.py
33+
lsf_client/models/error.py
34+
lsf_client/models/error_message.py
35+
lsf_client/models/lsf_cluster.py
36+
lsf_client/models/lsfcli_result.py
37+
lsf_client/models/repositories.py
38+
lsf_client/models/repository_bean.py
39+
lsf_client/models/return_message.py
40+
lsf_client/models/session.py
41+
lsf_client/models/tree_node.py
42+
lsf_client/models/user.py
43+
lsf_client/py.typed
44+
lsf_client/rest.py
4545
pyproject.toml
4646
requirements.txt
4747
setup.cfg

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ install:
1414
- "pip install -r requirements.txt"
1515
- "pip install -r test-requirements.txt"
1616
# command to run tests
17-
script: pytest --cov=openapi_client
17+
script: pytest --cov=lsf_client

README.md

+14-13
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# openapi-client
2-
LSF Web Service in Python
1+
# lsf_client
2+
LSF Web Service
33

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

66
- API version: 1.0
77
- Package version: 1.0.0
8+
- Generator version: 7.6.0-SNAPSHOT
89
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
910

1011
## Requirements.
@@ -23,7 +24,7 @@ pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
2324

2425
Then import the package:
2526
```python
26-
import openapi_client
27+
import lsf_client
2728
```
2829

2930
### Setuptools
@@ -37,7 +38,7 @@ python setup.py install --user
3738

3839
Then import the package:
3940
```python
40-
import openapi_client
41+
import lsf_client
4142
```
4243

4344
### Tests
@@ -50,23 +51,23 @@ Please follow the [installation procedure](#installation--usage) and then run th
5051

5152
```python
5253

53-
import openapi_client
54-
from openapi_client.rest import ApiException
54+
import lsf_client
55+
from lsf_client.rest import ApiException
5556
from pprint import pprint
5657

57-
# Defining the host is optional and defaults to http://localhost:8080/lsf
58+
# Defining the host is optional and defaults to http://localhost:8088/lsf
5859
# See configuration.py for a list of all supported configuration parameters.
59-
configuration = openapi_client.Configuration(
60-
host = "http://localhost:8080/lsf"
60+
configuration = lsf_client.Configuration(
61+
host = "http://localhost:8088/lsf"
6162
)
6263

6364

6465

6566
# Enter a context with an instance of the API client
66-
with openapi_client.ApiClient(configuration) as api_client:
67+
with lsf_client.ApiClient(configuration) as api_client:
6768
# Create an instance of the API class
68-
api_instance = openapi_client.AuthenticationApi(api_client)
69-
user = openapi_client.User() # User | (optional)
69+
api_instance = lsf_client.AuthenticationApi(api_client)
70+
user = lsf_client.User() # User | (optional)
7071

7172
try:
7273
# User log on
@@ -80,7 +81,7 @@ with openapi_client.ApiClient(configuration) as api_client:
8081

8182
## Documentation for API Endpoints
8283

83-
All URIs are relative to *http://localhost:8080/lsf*
84+
All URIs are relative to *http://localhost:8088/lsf*
8485

8586
Class | Method | HTTP request | Description
8687
------------ | ------------- | ------------- | -------------

docs/AuthenticationApi.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# openapi_client.AuthenticationApi
1+
# lsf_client.AuthenticationApi
22

33
All URIs are relative to *http://localhost:8088/lsf*
44

@@ -19,24 +19,24 @@ User log on
1919

2020

2121
```python
22-
import openapi_client
23-
from openapi_client.models.session import Session
24-
from openapi_client.models.user import User
25-
from openapi_client.rest import ApiException
22+
import lsf_client
23+
from lsf_client.models.session import Session
24+
from lsf_client.models.user import User
25+
from lsf_client.rest import ApiException
2626
from pprint import pprint
2727

2828
# Defining the host is optional and defaults to http://localhost:8088/lsf
2929
# See configuration.py for a list of all supported configuration parameters.
30-
configuration = openapi_client.Configuration(
30+
configuration = lsf_client.Configuration(
3131
host = "http://localhost:8088/lsf"
3232
)
3333

3434

3535
# Enter a context with an instance of the API client
36-
with openapi_client.ApiClient(configuration) as api_client:
36+
with lsf_client.ApiClient(configuration) as api_client:
3737
# Create an instance of the API class
38-
api_instance = openapi_client.AuthenticationApi(api_client)
39-
user = openapi_client.User() # User | (optional)
38+
api_instance = lsf_client.AuthenticationApi(api_client)
39+
user = lsf_client.User() # User | (optional)
4040

4141
try:
4242
# User log on
@@ -93,14 +93,14 @@ User log off
9393
* Api Key Authentication (LSF-Web-Service-authentication):
9494

9595
```python
96-
import openapi_client
97-
from openapi_client.models.return_message import ReturnMessage
98-
from openapi_client.rest import ApiException
96+
import lsf_client
97+
from lsf_client.models.return_message import ReturnMessage
98+
from lsf_client.rest import ApiException
9999
from pprint import pprint
100100

101101
# Defining the host is optional and defaults to http://localhost:8088/lsf
102102
# See configuration.py for a list of all supported configuration parameters.
103-
configuration = openapi_client.Configuration(
103+
configuration = lsf_client.Configuration(
104104
host = "http://localhost:8088/lsf"
105105
)
106106

@@ -116,9 +116,9 @@ configuration.api_key['LSF-Web-Service-authentication'] = os.environ["API_KEY"]
116116
# configuration.api_key_prefix['LSF-Web-Service-authentication'] = 'Bearer'
117117

118118
# Enter a context with an instance of the API client
119-
with openapi_client.ApiClient(configuration) as api_client:
119+
with lsf_client.ApiClient(configuration) as api_client:
120120
# Create an instance of the API class
121-
api_instance = openapi_client.AuthenticationApi(api_client)
121+
api_instance = lsf_client.AuthenticationApi(api_client)
122122

123123
try:
124124
# User log off

docs/Error.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
## Example
1212

1313
```python
14-
from openapi_client.models.error import Error
14+
from lsf_client.models.error import Error
1515

1616
# TODO update the JSON string below
1717
json = "{}"

docs/ErrorMessage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
## Example
1212

1313
```python
14-
from openapi_client.models.error_message import ErrorMessage
14+
from lsf_client.models.error_message import ErrorMessage
1515

1616
# TODO update the JSON string below
1717
json = "{}"

docs/FileOperationsApi.md

+28-28
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# openapi_client.FileOperationsApi
1+
# lsf_client.FileOperationsApi
22

33
All URIs are relative to *http://localhost:8088/lsf*
44

@@ -23,13 +23,13 @@ Delete file by a specific path, wildcard '*' and '?' are both supported
2323
* Api Key Authentication (LSF-Web-Service-authentication):
2424

2525
```python
26-
import openapi_client
27-
from openapi_client.rest import ApiException
26+
import lsf_client
27+
from lsf_client.rest import ApiException
2828
from pprint import pprint
2929

3030
# Defining the host is optional and defaults to http://localhost:8088/lsf
3131
# See configuration.py for a list of all supported configuration parameters.
32-
configuration = openapi_client.Configuration(
32+
configuration = lsf_client.Configuration(
3333
host = "http://localhost:8088/lsf"
3434
)
3535

@@ -45,9 +45,9 @@ configuration.api_key['LSF-Web-Service-authentication'] = os.environ["API_KEY"]
4545
# configuration.api_key_prefix['LSF-Web-Service-authentication'] = 'Bearer'
4646

4747
# Enter a context with an instance of the API client
48-
with openapi_client.ApiClient(configuration) as api_client:
48+
with lsf_client.ApiClient(configuration) as api_client:
4949
# Create an instance of the API class
50-
api_instance = openapi_client.FileOperationsApi(api_client)
50+
api_instance = lsf_client.FileOperationsApi(api_client)
5151
file_path = 'file_path_example' # str | base64 encoded file path
5252

5353
try:
@@ -104,13 +104,13 @@ Download a single file
104104
* Api Key Authentication (LSF-Web-Service-authentication):
105105

106106
```python
107-
import openapi_client
108-
from openapi_client.rest import ApiException
107+
import lsf_client
108+
from lsf_client.rest import ApiException
109109
from pprint import pprint
110110

111111
# Defining the host is optional and defaults to http://localhost:8088/lsf
112112
# See configuration.py for a list of all supported configuration parameters.
113-
configuration = openapi_client.Configuration(
113+
configuration = lsf_client.Configuration(
114114
host = "http://localhost:8088/lsf"
115115
)
116116

@@ -126,9 +126,9 @@ configuration.api_key['LSF-Web-Service-authentication'] = os.environ["API_KEY"]
126126
# configuration.api_key_prefix['LSF-Web-Service-authentication'] = 'Bearer'
127127

128128
# Enter a context with an instance of the API client
129-
with openapi_client.ApiClient(configuration) as api_client:
129+
with lsf_client.ApiClient(configuration) as api_client:
130130
# Create an instance of the API class
131-
api_instance = openapi_client.FileOperationsApi(api_client)
131+
api_instance = lsf_client.FileOperationsApi(api_client)
132132
file_path = 'file_path_example' # str | base64 encoded file path
133133

134134
try:
@@ -187,14 +187,14 @@ List file under a specific path
187187
* Api Key Authentication (LSF-Web-Service-authentication):
188188

189189
```python
190-
import openapi_client
191-
from openapi_client.models.tree_node import TreeNode
192-
from openapi_client.rest import ApiException
190+
import lsf_client
191+
from lsf_client.models.tree_node import TreeNode
192+
from lsf_client.rest import ApiException
193193
from pprint import pprint
194194

195195
# Defining the host is optional and defaults to http://localhost:8088/lsf
196196
# See configuration.py for a list of all supported configuration parameters.
197-
configuration = openapi_client.Configuration(
197+
configuration = lsf_client.Configuration(
198198
host = "http://localhost:8088/lsf"
199199
)
200200

@@ -210,9 +210,9 @@ configuration.api_key['LSF-Web-Service-authentication'] = os.environ["API_KEY"]
210210
# configuration.api_key_prefix['LSF-Web-Service-authentication'] = 'Bearer'
211211

212212
# Enter a context with an instance of the API client
213-
with openapi_client.ApiClient(configuration) as api_client:
213+
with lsf_client.ApiClient(configuration) as api_client:
214214
# Create an instance of the API class
215-
api_instance = openapi_client.FileOperationsApi(api_client)
215+
api_instance = lsf_client.FileOperationsApi(api_client)
216216
path = 'path_example' # str | (optional)
217217

218218
try:
@@ -270,14 +270,14 @@ List repositories to current logged in user
270270
* Api Key Authentication (LSF-Web-Service-authentication):
271271

272272
```python
273-
import openapi_client
274-
from openapi_client.models.repositories import Repositories
275-
from openapi_client.rest import ApiException
273+
import lsf_client
274+
from lsf_client.models.repositories import Repositories
275+
from lsf_client.rest import ApiException
276276
from pprint import pprint
277277

278278
# Defining the host is optional and defaults to http://localhost:8088/lsf
279279
# See configuration.py for a list of all supported configuration parameters.
280-
configuration = openapi_client.Configuration(
280+
configuration = lsf_client.Configuration(
281281
host = "http://localhost:8088/lsf"
282282
)
283283

@@ -293,9 +293,9 @@ configuration.api_key['LSF-Web-Service-authentication'] = os.environ["API_KEY"]
293293
# configuration.api_key_prefix['LSF-Web-Service-authentication'] = 'Bearer'
294294

295295
# Enter a context with an instance of the API client
296-
with openapi_client.ApiClient(configuration) as api_client:
296+
with lsf_client.ApiClient(configuration) as api_client:
297297
# Create an instance of the API class
298-
api_instance = openapi_client.FileOperationsApi(api_client)
298+
api_instance = lsf_client.FileOperationsApi(api_client)
299299

300300
try:
301301
# List repositories
@@ -347,13 +347,13 @@ Upload a single file
347347
* Api Key Authentication (LSF-Web-Service-authentication):
348348

349349
```python
350-
import openapi_client
351-
from openapi_client.rest import ApiException
350+
import lsf_client
351+
from lsf_client.rest import ApiException
352352
from pprint import pprint
353353

354354
# Defining the host is optional and defaults to http://localhost:8088/lsf
355355
# See configuration.py for a list of all supported configuration parameters.
356-
configuration = openapi_client.Configuration(
356+
configuration = lsf_client.Configuration(
357357
host = "http://localhost:8088/lsf"
358358
)
359359

@@ -369,9 +369,9 @@ configuration.api_key['LSF-Web-Service-authentication'] = os.environ["API_KEY"]
369369
# configuration.api_key_prefix['LSF-Web-Service-authentication'] = 'Bearer'
370370

371371
# Enter a context with an instance of the API client
372-
with openapi_client.ApiClient(configuration) as api_client:
372+
with lsf_client.ApiClient(configuration) as api_client:
373373
# Create an instance of the API class
374-
api_instance = openapi_client.FileOperationsApi(api_client)
374+
api_instance = lsf_client.FileOperationsApi(api_client)
375375
file = None # bytearray |
376376
path = 'path_example' # str | (optional)
377377
compress = 'compress_example' # str | A filename extension, if specified, the uploaded file will be automatically de-compressed by related command (optional)

0 commit comments

Comments
 (0)