From 8bdf011909d10147984ea57fee09fecf035c0d37 Mon Sep 17 00:00:00 2001 From: Andy Caruso <33580338+carusooo@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:08:11 -0700 Subject: [PATCH 1/2] Release notes for 10 Oct (#388) * Release notes for 10 Oct * Update wordlist * Update 202410.mdx --------- Co-authored-by: Benson --- .wordlist.txt | 1 + docs/releases/202410.mdx | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/.wordlist.txt b/.wordlist.txt index 8261673..975c487 100644 --- a/.wordlist.txt +++ b/.wordlist.txt @@ -74,6 +74,7 @@ worklist recency AWS GCP +CORS ApiOutlined diff --git a/docs/releases/202410.mdx b/docs/releases/202410.mdx index 8af71bb..460af71 100644 --- a/docs/releases/202410.mdx +++ b/docs/releases/202410.mdx @@ -4,6 +4,21 @@ title: October 2024 displayed_sidebar: releaseSideBar --- +### October 10 2024 + +**Features** +- **Agent**: Full agent update is now available for Linux agents + +**Improvements** +- **UI**: Clarified the 401 message for new users +- **UI**: Agent log panels now contain more entries by default, and logs have links to the associated Connection +- **UI**: Focused the number of logs that get marked as Activity + +**Bug Fixes** +- **UI**: Fixed an issue where updating flow documentation would fail for certain types of flows +- **UI**: Fixed an issue where large editor notebooks were not loading reliably +- **API**: Updated CORS headers to allow for more flexibility in API usage + ### October 3 2024 **Improvements** From 756574126d91f7e05804d661a4aa2f0f9f769729 Mon Sep 17 00:00:00 2001 From: Benson Date: Fri, 11 Oct 2024 10:40:46 -0700 Subject: [PATCH 2/2] clarify agent kwargs types + upd s3 read doc on types (#389) --- core-dev-operators | 2 +- core-operators | 2 +- docs/app/agents/Agent.mdx | 7 ++++--- docs/nodes/App/S3_Read.md | 14 +++++++++++--- src/css/custom.css | 16 ++++++++++++++++ 5 files changed, 33 insertions(+), 8 deletions(-) diff --git a/core-dev-operators b/core-dev-operators index 71472fe..a665ba6 160000 --- a/core-dev-operators +++ b/core-dev-operators @@ -1 +1 @@ -Subproject commit 71472fe8576ef0b1af5d9af202eb84fc195a46a8 +Subproject commit a665ba68c195355076b26afa1cddf628bd1932e2 diff --git a/core-operators b/core-operators index 71472fe..a665ba6 160000 --- a/core-operators +++ b/core-operators @@ -1 +1 @@ -Subproject commit 71472fe8576ef0b1af5d9af202eb84fc195a46a8 +Subproject commit a665ba68c195355076b26afa1cddf628bd1932e2 diff --git a/docs/app/agents/Agent.mdx b/docs/app/agents/Agent.mdx index 3bbba8a..761a17e 100644 --- a/docs/app/agents/Agent.mdx +++ b/docs/app/agents/Agent.mdx @@ -462,12 +462,13 @@ More generally, Variables and Labels can be flexibly used to control Connection And [modified in the corresponding Connections panel in the Ganymede web app after installation, for Agent versions 4.5+](AgentMonitoring#monitoring-agent-connections). - -Variables and labels can be referenced in your user-defined code by extracting the values from `kwargs` in the _execute_ function: +Variables and labels can be referenced in your user-defined code by extracting the values from `kwargs` in the _execute_ function. ```python +# Labels comes back as a list of strings labels = kwargs.get('labels', []) -# -- OR -- + +# All variables retrieved have a dict[str, str] type variables = kwargs.get('vars', {}) # Example: Retrieve the `input_path` variable for use in Agent code diff --git a/docs/nodes/App/S3_Read.md b/docs/nodes/App/S3_Read.md index 73cef48..f1bf1b3 100644 --- a/docs/nodes/App/S3_Read.md +++ b/docs/nodes/App/S3_Read.md @@ -63,9 +63,17 @@ Specify list of S3 keys to upload to GCS ### Returns -`dict[str, str]` - Dictionary specifying files to upload to GCS. The keys are the keys in S3 and the values - are the file names to use in Ganymede +`dict[str, str] | NodeReturn` + If dict, files to upload to GCS. The keys are the keys in S3 and the values + are the file names to use in Ganymede. + + If NodeReturn, object containing data to store in data lake and/or file storage. + NodeReturn object takes 2 parameters: + + - tables_to_upload: dict[str, pd.DataFrame] + keys are table names, values are pandas DataFrames to upload + - files_to_upload: dict[str, bytes] + keys are file names, values are file data to upload ### Examples diff --git a/src/css/custom.css b/src/css/custom.css index 1d860e7..04cb078 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -188,6 +188,22 @@ color: var(--ifm-color-gray-light); } +.purple_alt_button { + border: 1px; + display: inline-block; + border-radius: 2px; + padding-left: 20px; + padding-right: 20px; + padding-top: 20px; + padding-bottom: 20px; + border-style: solid; + vertical-align: text-middle; + background-color: #736bdd; + stroke-width: 0.1px; + color: white; +} + + .button.purple_button_dashboard { border: 0px; padding-left: 6px;