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

Update __init__.py #193

Closed
wants to merge 1 commit into from
Closed

Update __init__.py #193

wants to merge 1 commit into from

Conversation

huakim
Copy link
Contributor

@huakim huakim commented Apr 12, 2024

No description provided.

Copy link
Contributor

@danigm danigm left a comment

Choose a reason for hiding this comment

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

Please, use a better description in the commit text, "update init.py" is not descriptive enough.

About the code change, yes, this is needed right now because in other case the show and fetch subcommands will fail. The local and localfile arguments are added just for the generate subcommand. Maybe we can also add these new arguments to all the subcommands that uses the fetch_data.

But in any case, we can merge this once the commit message is something more descriptive. The comment at line 397 should be the commit message and can be removed from the code.

@@ -394,8 +394,13 @@ def generate(args):


def fetch_data(args):
localfile = args.localfile
local = args.local
#fix bug: AttributeError: 'Namespace' object has no attribute 'localfile' for fetch command
Copy link
Contributor

Choose a reason for hiding this comment

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

Please, use this as commit message and remove from here.

@huakim huakim closed this May 12, 2024
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