Skip to content

Commit

Permalink
fix style and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rjra2611 committed Aug 21, 2023
1 parent bfc2614 commit c09c13d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lean/commands/object_store/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

@group()
def object_store() -> None:
"""Interact with the QuantConnect Object Store."""
"""Interact with the Organization's Object Store."""
# This method is intentionally empty
# It is used as the command group for all `lean object-store <command>` commands
pass
Expand Down
2 changes: 1 addition & 1 deletion lean/commands/object_store/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get(key: str) -> str:

try:
headers = ["size", "modified", "preview", "key"]
display_headers = ["bytes", "modified", "preview", "filename"]
display_headers = ["Bytes", "Modified", "Preview", "Filename"]
row = [str(data["metadata"].get(header, "")) for header in headers]
all_rows = [display_headers] + [row]
column_widths = [max(len(row[i]) for row in all_rows) for i in range(len(all_rows[0]))]
Expand Down
2 changes: 1 addition & 1 deletion lean/commands/object_store/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def list(root_key: str) -> str:

try:
headers = ["key", "size", "folder", "name"]
display_headers = ["key", "bytes", "folder", "filename"]
display_headers = ["Key", "Bytes", "Folder", "Filename"]
rows = [[str(obj.get(header, "")) for header in headers] for obj in data['objects']]
all_rows = [display_headers] + rows
column_widths = [max(len(row[i]) for row in all_rows) for i in range(len(all_rows[0]))]
Expand Down

0 comments on commit c09c13d

Please sign in to comment.