-
Notifications
You must be signed in to change notification settings - Fork 301
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
updated pyflyte documentation #2877
Open
sumana-2705
wants to merge
9
commits into
flyteorg:master
Choose a base branch
from
sumana-2705:pyflyte-docs-fix
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
8b43094
updated error message for --pkgs option
sumana-2705 0d8127b
added example usage of --source option in help message
sumana-2705 5999651
added a structure explaining clear usage of --pkgs option in main hel…
sumana-2705 c28bec2
fixed linting errors
sumana-2705 58e4008
updated package.py file according to the review
sumana-2705 eb8ebd4
undo the changes in register.py file
sumana-2705 f9400cf
Merge branch 'flyteorg:master' into pyflyte-docs-fix
sumana-2705 090a118
updated comments
sumana-2705 3baa154
updated clone
sumana-2705 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a minimal working example that shows how the
--source
argument ofpyflyte package
is supposed to be used? I'm asking because I ever only use the--pkgs
arg and I don't know in which situation it makes sense to use the--source
arg. I feel as part of this issue the difference should become clear from the help messages.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fg91 I have no idea about working example, will this help message works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's useful but will let @fg91 comment on this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I unfortunately also don't have an idea how the
--source
tag is supposed to be used over the--pkgs
arg.My proposition would be to merge this PR as is (after this tiny nit has been merged) but to leave the issue open and then ask in Flyte's
ask-the-community
channel whether anyone knows. If yes, we can make a second PR explaining the diff. If there isn't any real use for the--source
arg, we can create an issue to deprecate it.What do you think about this?