-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using config enumeration internally (#61)
* Using AILabConfig internally * Fixing errors picked by mypy * Using config.name instead of the value * Added aws_role to the AILabConfig * Advanced the version to 0.2.6 (#64) * Added aws_role to the AILabConfig * Rolling back the adulteration by nox
- Loading branch information
Showing
18 changed files
with
336 additions
and
311 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
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,14 @@ | ||
# Exasol Notebook Connector 0.2.6, released T.B.C. | ||
|
||
## Summary | ||
|
||
This release adds the extension wrappers and makes full use of the configuration enumeration. | ||
|
||
## Changes | ||
|
||
* #50: [Add iterable features to the secret store](https://github.com/exasol/notebook-connector/issues/50) | ||
* #52: [Make data conversion utility for the secret store commonly accessible](https://github.com/exasol/notebook-connector/issues/52) | ||
* #55: [Unified language activation SQL command](https://github.com/exasol/notebook-connector/pull/55) | ||
* #56: [Transformers extension wrapper](https://github.com/exasol/notebook-connector/pull/56) | ||
* #47: [Create a Sagemaker Extension wrapper](https://github.com/exasol/notebook-connector/issues/47) | ||
* #60: [Start using the AILabConfig internally](https://github.com/exasol/notebook-connector/issues/60) |
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 |
---|---|---|
@@ -1,24 +1,38 @@ | ||
from enum import Enum | ||
from enum import Enum, auto | ||
|
||
|
||
class AILabConfig(Enum): | ||
use_itde = "USE_ITDE" | ||
db_host_name = "EXTERNAL_HOST_NAME" | ||
db_port = "DB_PORT" | ||
db_schema = "SCHEMA" | ||
db_user = "USER" | ||
db_password = "PASSWORD" | ||
db_encryption = "ENCRYPTION" | ||
cert_vld = "CERTIFICATE_VALIDATION" | ||
trusted_ca = "TRUSTED_CA" | ||
client_cert = "CLIENT_CERTIFICATE" | ||
client_key = "PRIVATE_KEY" | ||
bfs_host_name = "BUCKETFS_HOST_NAME" | ||
bfs_port = "BUCKETFS_PORT" | ||
bfs_service = "BUCKETFS_SERVICE" | ||
bfs_bucket = "BUCKETFS_BUCKET" | ||
bfs_user = "BUCKETFS_USER" | ||
bfs_password = "BUCKETFS_PASSWORD" | ||
bfs_encryption = "BUCKETFS_ENCRYPTION" | ||
mem_size = "MEMORY_SIZE" | ||
disk_size = "DISK_SIZE" | ||
use_itde = auto() | ||
db_host_name = auto() | ||
db_port = auto() | ||
db_schema = auto() | ||
db_user = auto() | ||
db_password = auto() | ||
db_encryption = auto() | ||
cert_vld = auto() | ||
trusted_ca = auto() | ||
client_cert = auto() | ||
client_key = auto() | ||
bfs_host_name = auto() | ||
bfs_port = auto() | ||
bfs_service = auto() | ||
bfs_bucket = auto() | ||
bfs_user = auto() | ||
bfs_password = auto() | ||
bfs_encryption = auto() | ||
mem_size = auto() | ||
disk_size = auto() | ||
huggingface_token = auto() | ||
aws_bucket = auto() | ||
aws_region = auto() | ||
aws_access_key_id = auto() | ||
aws_secret_access_key = auto() | ||
aws_role = auto() | ||
itde_container = auto() | ||
itde_volume = auto() | ||
itde_network = auto() | ||
te_bfs_connection = auto() | ||
te_models_bfs_dir = auto() | ||
te_hf_connection = auto() | ||
te_models_cache_dir = auto() | ||
sme_aws_connection = auto() |
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.