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

Added import job documentation #464

Merged
merged 4 commits into from
Oct 12, 2023
Merged

Conversation

juanpardo
Copy link
Contributor

@juanpardo juanpardo commented Sep 28, 2023

Summary of the changes / Why this is an improvement

  • Added documentation for all import jobs commands.
  • Fixed import-job create from-url throwing an error despite working.

Checklist

@@ -305,10 +305,9 @@ def import_jobs_list(args: Namespace) -> None:
print_response(
data=data,
errors=errors,
keys=["id", "cluster_id", "status", "type", "url", "destination"],
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe worth replacing url with source?

@juanpardo juanpardo requested a review from SStorm October 2, 2023 07:30
croud/printer.py Outdated
@@ -158,14 +158,27 @@ def format_rows(self, rows: Union[List[JsonDict], JsonDict]) -> str:
# | bar | 2 |
# +-----+-----+

headers = list(map(str, rows[0].keys())) if len(rows) else self.keys
# all_keys = [row.keys() for row in rows]
Copy link
Contributor

Choose a reason for hiding this comment

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

We probably don't need the comments?

@juanpardo juanpardo merged commit 1a58d74 into master Oct 12, 2023
10 checks passed
@juanpardo juanpardo deleted the jp/import-job-documentation branch October 12, 2023 08:54
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