Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: custom flyteremote usage by protocol #825

Merged
merged 1 commit into from
Oct 19, 2023
Merged

fix: custom flyteremote usage by protocol #825

merged 1 commit into from
Oct 19, 2023

Conversation

ursucarina
Copy link
Contributor

@ursucarina ursucarina commented Oct 19, 2023

TL;DR

  • shows custom FlyteRemote snippet based on protocol used
  • hides io uri/usage data when:
    • is map task
    • there is no IO

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

@ursucarina ursucarina requested review from a team, FrankFlitton and jsonporter and removed request for a team October 19, 2023 20:44
Copy link
Contributor

@eapolinario eapolinario left a comment

Choose a reason for hiding this comment

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

awesome!

@ursucarina ursucarina merged commit a1fb29e into master Oct 19, 2023
6 checks passed
@ursucarina ursucarina deleted the carina/ioo branch October 19, 2023 21:00
@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 1.10.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Comment on lines +100 to +104
from flytekit.configuration import Config
remote = FlyteRemote(
Config.for_endpoint("${window.location.host}"),
)
remote.get("${dataSourceURI}")`
Copy link
Contributor

Choose a reason for hiding this comment

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

the indentation is slightly off. This renders like:

from flytekit.remote.remote import FlyteRemote
  from flytekit.configuration import Config
  remote = FlyteRemote(
      Config.for_endpoint("localhost:30080", True),
  )
  remote.get("flyte://v1/flytesnacks/development/fbd6520cd736b4dd7ac6/n0/i")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants