Skip to content

Added SDK code.#1

Merged
sbyrne-sf merged 6 commits intomainfrom
addCode
Apr 29, 2025
Merged

Added SDK code.#1
sbyrne-sf merged 6 commits intomainfrom
addCode

Conversation

@sbyrne-sf
Copy link
Copy Markdown
Contributor

Cleaned up and added SDK code in preparation for open sourcing.



DOCKER_IMAGE_NAME = "datacloud-custom-code"
DEPENDENCIES_ARCHIVE_NAME = "dependencies.tar.gz"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self: this will need to be native_dependencies.tar.gz because we want any deps with .so files to function properly.

"Deployment completed, Elapsed time: {time.time() - start_time}"
)
break
time.sleep(1)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self: I think we'll want to increase this to ~5, or at least 3

return access_token


def run_data_transform(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self, this is currently unused

"datetime64[ns]": TimestampType(),
"datetime64[ns, UTC]": TimestampType(),
"bool": BooleanType(),
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self: we were never sure why/if this was truly needed (since the previous SDK never needed it).

@sbyrne-sf sbyrne-sf merged commit 7a269e9 into main Apr 29, 2025
1 check passed
@sbyrne-sf sbyrne-sf deleted the addCode branch April 29, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants