-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated python sdk to include the new mcode-sdk-api capabilities - sp…
…ecifically storage.search
- Loading branch information
1 parent
94a0b56
commit 6b3d792
Showing
13 changed files
with
577 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# NOTE: This file is auto generated by OpenAPI Generator. | ||
# URL: https://openapi-generator.tech | ||
# | ||
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | ||
|
||
name: monday_code Python package | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
pip install -r test-requirements.txt | ||
- name: Test with pytest | ||
run: | | ||
pytest --cov={{packageName}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# NOTE: This file is auto generated by OpenAPI Generator. | ||
# URL: https://openapi-generator.tech | ||
# | ||
# ref: https://docs.gitlab.com/ee/ci/README.html | ||
# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml | ||
|
||
stages: | ||
- test | ||
|
||
.pytest: | ||
stage: test | ||
script: | ||
- pip install -r requirements.txt | ||
- pip install -r test-requirements.txt | ||
- pytest --cov=monday_code | ||
|
||
pytest-3.8: | ||
extends: .pytest | ||
image: python:3.8-alpine | ||
pytest-3.9: | ||
extends: .pytest | ||
image: python:3.9-alpine | ||
pytest-3.10: | ||
extends: .pytest | ||
image: python:3.10-alpine | ||
pytest-3.11: | ||
extends: .pytest | ||
image: python:3.11-alpine | ||
pytest-3.12: | ||
extends: .pytest | ||
image: python:3.12-alpine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
.github/workflows/python.yml | ||
.gitignore | ||
.gitlab-ci.yml | ||
.openapi-generator-ignore | ||
.travis.yml | ||
README.md | ||
docs/EnvironmentVariablesApi.md | ||
docs/GetByKeyFromStorage404Response.md | ||
docs/GetByKeyFromStorage500Response.md | ||
docs/IncrementCounter200Response.md | ||
docs/IncrementCounter200ResponseAnyOf.md | ||
docs/IncrementCounter200ResponseAnyOf1.md | ||
docs/IncrementCounterParams.md | ||
docs/JsonDataContract.md | ||
docs/LogMethods.md | ||
docs/LogsApi.md | ||
docs/Period.md | ||
docs/PublishMessageParams.md | ||
docs/PublishMessageResponse.md | ||
docs/QueueApi.md | ||
docs/SecretsApi.md | ||
docs/SecureStorageApi.md | ||
docs/StorageApi.md | ||
docs/StorageDataContract.md | ||
docs/UpsertByKeyFromStorage200Response.md | ||
docs/UpsertByKeyFromStorage200ResponseAnyOf.md | ||
docs/UpsertByKeyFromStorage200ResponseAnyOf1.md | ||
docs/ValidateSecretParams.md | ||
docs/ValidateSecretResponse.md | ||
docs/WriteLogRequestBody.md | ||
docs/WriteLogRequestBodyError.md | ||
git_push.sh | ||
monday_code/__init__.py | ||
monday_code/api/__init__.py | ||
monday_code/api/environment_variables_api.py | ||
monday_code/api/logs_api.py | ||
monday_code/api/queue_api.py | ||
monday_code/api/secrets_api.py | ||
monday_code/api/secure_storage_api.py | ||
monday_code/api/storage_api.py | ||
monday_code/api_client.py | ||
monday_code/api_response.py | ||
monday_code/configuration.py | ||
monday_code/exceptions.py | ||
monday_code/models/__init__.py | ||
monday_code/models/get_by_key_from_storage404_response.py | ||
monday_code/models/get_by_key_from_storage500_response.py | ||
monday_code/models/increment_counter200_response.py | ||
monday_code/models/increment_counter200_response_any_of.py | ||
monday_code/models/increment_counter200_response_any_of1.py | ||
monday_code/models/increment_counter_params.py | ||
monday_code/models/json_data_contract.py | ||
monday_code/models/log_methods.py | ||
monday_code/models/period.py | ||
monday_code/models/publish_message_params.py | ||
monday_code/models/publish_message_response.py | ||
monday_code/models/storage_data_contract.py | ||
monday_code/models/upsert_by_key_from_storage200_response.py | ||
monday_code/models/upsert_by_key_from_storage200_response_any_of.py | ||
monday_code/models/upsert_by_key_from_storage200_response_any_of1.py | ||
monday_code/models/validate_secret_params.py | ||
monday_code/models/validate_secret_response.py | ||
monday_code/models/write_log_request_body.py | ||
monday_code/models/write_log_request_body_error.py | ||
monday_code/py.typed | ||
monday_code/rest.py | ||
pyproject.toml | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
test/__init__.py | ||
test/test_environment_variables_api.py | ||
test/test_get_by_key_from_storage404_response.py | ||
test/test_get_by_key_from_storage500_response.py | ||
test/test_increment_counter200_response.py | ||
test/test_increment_counter200_response_any_of.py | ||
test/test_increment_counter200_response_any_of1.py | ||
test/test_increment_counter_params.py | ||
test/test_json_data_contract.py | ||
test/test_log_methods.py | ||
test/test_logs_api.py | ||
test/test_period.py | ||
test/test_publish_message_params.py | ||
test/test_publish_message_response.py | ||
test/test_queue_api.py | ||
test/test_secrets_api.py | ||
test/test_secure_storage_api.py | ||
test/test_storage_api.py | ||
test/test_storage_data_contract.py | ||
test/test_upsert_by_key_from_storage200_response.py | ||
test/test_upsert_by_key_from_storage200_response_any_of.py | ||
test/test_upsert_by_key_from_storage200_response_any_of1.py | ||
test/test_validate_secret_params.py | ||
test/test_validate_secret_response.py | ||
test/test_write_log_request_body.py | ||
test/test_write_log_request_body_error.py | ||
tox.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.11.0-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# ref: https://docs.travis-ci.com/user/languages/python | ||
language: python | ||
python: | ||
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
# uncomment the following if needed | ||
#- "3.12-dev" # 3.12 development branch | ||
#- "nightly" # nightly build | ||
# command to install dependencies | ||
install: | ||
- "pip install -r requirements.txt" | ||
- "pip install -r test-requirements.txt" | ||
# command to run tests | ||
script: pytest --cov=monday_code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.