Skip to content

Commit c650aae

Browse files
committed
Fix passing custom config path via environment - up to 0.1.3
1 parent c402def commit c650aae

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SHA1 := $$(git log -1 --pretty=%h)
88
CURRENT_BRANCH := $$(git symbolic-ref -q --short HEAD)
99
LATEST_TAG := ${REPO_NAME}:latest
1010
GIT_TAG := ${REPO_NAME}:${SHA1}
11-
VERSION := v0.1.2
11+
VERSION := v0.1.3
1212

1313
info: ## Show information about the current git state.
1414
@echo "Github Project: https://github.com/${REPO_NAME}\nCurrent Branch: ${CURRENT_BRANCH}\nSHA1: ${SHA1}\n"

cloudendure/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ def __init__(
4949
)
5050
if _config_path.startswith("~"):
5151
self.config_path = os.path.expanduser(_config_path)
52+
else:
53+
self.config_path = _config_path
5254

5355
# Handle CloudEndure CLI input credentials.
5456
self.cli = {"username": username, "password": password, "user_api_token": token}

docs/API_README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
44

55
- API version: `5`
6-
- Package version: `0.1.2`
6+
- Package version: `0.1.3`
77
- Build package: `io.swagger.codegen.v3.generators.python.PythonClientCodegen`
88

99
## Requirements

reference/swagger_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"packageName": "cloudendure_api",
33
"projectName": "cloudendure_api",
4-
"packageVersion": "0.1.2",
4+
"packageVersion": "0.1.3",
55
"packageUrl": "https://github.com/2ndWatch/cloudendure-python"
66
}

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
2424
AUTHOR: str = "Mark Beacom, Tom Warnock"
2525
REQUIRES_PYTHON: str = ">=3.7.0"
26-
VERSION: str = "0.1.2"
26+
VERSION: str = "0.1.3"
2727

28-
REQUIRED: List[str] = ["requests", "boto3", "fire"]
28+
REQUIRED: List[str] = ["requests", "boto3", "fire", "yaml"]
2929
EXTRAS: Dict[str, List[str]] = {
3030
"test": [
3131
"coverage",

0 commit comments

Comments
 (0)