-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
41 changed files
with
561 additions
and
1,435 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# This file is auto-generated by Hatchling. As such, do not: | ||
# - modify | ||
# - track in version control e.g. be sure to add to .gitignore | ||
__version__ = VERSION = '0.5.94' | ||
__version__ = VERSION = '0.5.95' |
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,4 +1,4 @@ | ||
{ | ||
"npmClient": "yarn", | ||
"version": "0.5.94" | ||
"version": "0.5.95" | ||
} |
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,6 +1,6 @@ | ||
{ | ||
"name": "@amphi/amphi-etl", | ||
"version": "0.5.94", | ||
"version": "0.5.95", | ||
"keywords": [ | ||
"amphi", | ||
"etl", | ||
|
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,4 +1,4 @@ | ||
jupyterlab==4.2.5 | ||
# jupyterlab-amphi==0.5.92 | ||
../jupyterlab-amphi | ||
jupyterlab-amphi==0.5.95 | ||
# ../jupyterlab-amphi | ||
. |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
"""source of truth for ``amphi``` version.""" | ||
__version__ = "0.5.94" | ||
__version__ = "0.5.95" |
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,4 +1,4 @@ | ||
{ | ||
"npmClient": "yarn", | ||
"version": "0.5.94" | ||
"version": "0.5.95" | ||
} |
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,6 +1,6 @@ | ||
{ | ||
"name": "@amphi/jupyterlab-amphi", | ||
"version": "0.5.94", | ||
"version": "0.5.95", | ||
"keywords": [ | ||
"amphi", | ||
"etl", | ||
|
2 changes: 1 addition & 1 deletion
2
jupyterlab-amphi/packages/pipeline-components-core/package.json
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
43 changes: 43 additions & 0 deletions
43
...terlab-amphi/packages/pipeline-components-core/src/components/common/GCPOptionsHandler.ts
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,43 @@ | ||
// GCSOptionsHandler.ts | ||
|
||
export class GCSOptionsHandler { | ||
// Static method to handle GCS-specific options | ||
public static handleGCSOptions(config, storageOptions): object { | ||
if (config.fileLocation === 'gcs' && config.connectionMethod === 'storage_options') { | ||
return { | ||
...storageOptions, // Preserve any manually added storageOptions | ||
service_account_file: config.gcsServiceAccountFilePath | ||
}; | ||
} | ||
return storageOptions; | ||
} | ||
|
||
public static getGCSFields(): object[] { | ||
return [ | ||
{ | ||
type: "select", | ||
label: "Connection Method", | ||
id: "connectionMethod", | ||
options: [ | ||
{ value: "env", label: "Default", tooltip: "This uses the default credentials set in the environment (like Application Default Credentials or gcloud config). If no credentials are found, " }, | ||
{ value: "storage_options", label: "Service Account (storage_options)", tooltip: "Provide a service account directly via the storage_options parameter." } | ||
], | ||
condition: { fileLocation: "gcs" }, | ||
connection: "GCS", | ||
ignoreConnection: true, | ||
advanced: true | ||
}, | ||
{ | ||
type: "file", | ||
label: "Service Account Key", | ||
id: "gcsServiceAccountFilePath", | ||
placeholder: "Type file name", | ||
validation: "\\.(json)$", | ||
validationMessage: "This field expects a file with a .json extension such as your-service-account-file.json.", | ||
connection: "GCS", | ||
condition: { fileLocation: "gcs", connectionMethod: "storage_options" }, | ||
advanced: true | ||
}, | ||
]; | ||
} | ||
} |
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.